tocco-legacy-bundle 0.1.37 → 0.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- (self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[141],{14505:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(319),o=n.n(r);if(99!=n.j)var i=n(44759);var a=function(e){return void 0!==e},s=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t.reduce((function(t,r){return a(e[r.name])&&"function"==typeof r.action?t.push(r.action.apply(r,o()(r.argsFactory(e)))):r.mandatory&&n&&i.Z.logError("Mandatory field '".concat(r.name,"' not set in input")),t}),[])}},47369:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={getDispatchActions:n(14505).i}},67210:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(74806),o=n(51272),i=n(34240),a=n(78125),s=n(25660),c=n(80722),u=n(20247),l=n(85893);const f=(0,u.U)((0,r.ZP)((function(e){var t=e.path,n=e.context,r=e.onSuccess,u=e.intl,f=e.locale,d=e.emitAction,p=(0,c.Z)(t),h=p?[{id:"rel".concat(p.model),value:p.key}]:[],m=(0,s.Z)(n,"Domain");return(0,l.jsx)(o.ZP,{entityName:"Domain",formName:m,mode:"create",defaultValues:h,locale:f,onEntityCreated:function(e){var t=e.id,n=[{type:"entity-create-event",payload:{entities:[{entityName:"Docs_list_item",key:"Domain/".concat(t)}]}}];r({title:u.formatMessage({id:"client.docs-browser.createDomainSuccessful"}),remoteEvents:n})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||d(e)},listApp:i.ZP,docsApp:a.ZP})})))},36340:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(74806),o=n(51272),i=n(34240),a=n(78125),s=n(25660),c=n(80722),u=n(20247),l=n(85893);const f=(0,u.U)((0,r.ZP)((function(e){var t=e.context,n=e.path,r=e.onSuccess,u=e.intl,f=e.locale,d=e.emitAction,p=(0,c.Z)(n),h=p?[{id:"rel".concat(p.model),value:p.key}]:[],m=(0,s.Z)(t,"Folder");return(0,l.jsx)(o.ZP,{entityName:"Folder",formName:m,mode:"create",defaultValues:h,locale:f,onEntityCreated:function(e){var t=e.id,n=[{type:"entity-create-event",payload:{entities:[{entityName:"Docs_list_item",key:"Folder/".concat(t)}]}}];r({title:u.formatMessage({id:"client.docs-browser.createFolderSuccessful"}),remoteEvents:n})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||d(e)},listApp:i.ZP,docsApp:a.ZP})})))},96954:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(59713),o=n.n(r);if(99!=n.j)var i=n(12750);var a=n(85893);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){o()(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}const u=function(e){return(0,a.jsx)(i.Z,c(c({},e),{},{customDeleteEndpoint:"documents/delete"}))}},90100:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(63038),o=n.n(r),i=n(51272),a=n(34240),s=n(78125),c=n(25660),u=n(20247),l=n(85893);const f=(0,u.U)((function(e){var t=e.selection,n=e.onSuccess,r=e.onCancel,u=e.locale,f=e.context,d=e.emitAction,p=e.navigate,h=t.ids[0].split("/"),m=o()(h,2),y=m[0],v=m[1];"Resource"===y&&(p("/docs/doc/".concat(v,"/detail")),r());var g=(0,c.Z)(f,y);return(0,l.jsx)(i.ZP,{entityName:y,formName:g,entityId:v,mode:"update",locale:u,onEntityUpdated:function(){var e=[{type:"entity-update-event",payload:{entities:[{entityName:"Docs_list_item",key:t.ids[0]}]}}];n({title:null,remoteEvents:e})},onEntityDeleted:function(){var e=[{type:"entity-delete-event",payload:{entities:[{entityName:"Docs_list_item",key:t.ids[0]}]}}];n({title:null,remoteEvents:e})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||d(e)},listApp:a.ZP,docsApp:s.ZP})}))},4505:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r,o,i,a=n(74806),s=n(50558),c=n(30081),u=n(20247),l=n(63038),f=n.n(l),d=n(28655),p=n.n(d),h=n(18446),m=n.n(h),y=n(1024),v=n(44012),g=n(38205),w=n(58129),b=n(50258),E=n(65035),O=n(78125),C=n(80722),T=n(85893),A=g.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(r||(r=p()(["\n display: flex;\n justify-content: flex-end;\n\n "," {\n margin-right: 0;\n }\n"])),w.Z),x=(0,g.ZP)(b.Z).withConfig({displayName:"StyledLoadMask"})(o||(o=p()(["\n height: auto;\n"]))),P=function(e){return null===e?"Move_root_docs_list_item":"Move_docs_list_item"},R={initialize:c.j2,moveElements:c.w6};const S=(0,u.U)((0,s.connect)((function(e){return{isWaiting:e.docs.move.isWaiting,domainTypes:e.input.domainTypes,rootNodes:e.input.rootNodes,businessUnit:e.input.businessUnit,locale:e.intl.locale}}),R)((0,a.ZP)((function(e){var t=e.selection,n=e.onSuccess,r=e.onError,o=e.path,a=e.initialize,s=e.moveElements,c=e.isWaiting,u=e.domainTypes,l=e.rootNodes,d=e.businessUnit,p=e.locale,h=e.emitAction,g=(0,C.Z)(o),w={model:"Docs_list_item",key:"".concat(g.model,"/").concat(g.key)},b=(0,y.useState)(w),R=f()(b,2),S=R[0],k=R[1];(0,y.useEffect)((function(){a(t,n,r)}),[]);var N=function(e,t){switch(e){case"Domain":return"/docs/domain/".concat(t,"/list");case"Folder":return"/docs/folder/".concat(t,"/list");case"Resource":return;default:throw new Error("Unexpected model: ".concat(e))}};return(0,T.jsxs)(x,{required:[!c],children:[(0,T.jsx)(O.ZP,{routerType:"routerless",initialLocation:function(){if(null===S)return null;var e=S.key.split("/"),t=f()(e,2),n=t[0],r=t[1];return N(n,r)}(),listLimit:10,selectionStyle:"none",searchFormType:"none",disableViewPersistor:!0,getListFormName:P,onListParentChange:k,getCustomLocation:N,navigationStrategy:{},embedded:!0,emitAction:h,noLeftPadding:!0,domainTypes:u,rootNodes:l,businessUnit:d,sortable:!1,scrollBehaviour:"none",locale:p}),(0,T.jsx)(A,{children:(0,T.jsx)(E.Z,{onClick:function(){return s(S.key,t.ids)},look:"raised",ink:"primary",disabled:null===S||m()(S,w),children:i||(i=(0,T.jsx)(v.Z,{id:"client.actions.dms-move.button"}))})})]})}))))},77840:(e,t,n)=>{"use strict";if(n.r(t),n.d(t,{default:()=>r.ZP}),99!=n.j)var r=n(34240)},82445:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(59713),o=n.n(r);if(99!=n.j)var i=n(51272);if(99!=n.j)var a=n(34240);if(99!=n.j)var s=n(78125);var c=n(85893);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 l(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){o()(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}const f=99!=n.j?function(e){return(0,c.jsx)(i.ZP,l(l({},e),{},{listApp:a.ZP,docsApp:s.ZP}))}:null},25660:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=99!=n.j?function(e,t){return e.detailFormNames&&e.detailFormNames[t]?e.detailFormNames[t]:"Dms".concat(t)}:null},44020:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=o(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 t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=i(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var c=a[s];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},92806:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],s=e[a];(o?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},47556:(e,t,n)=>{var r=n(88668),o=n(47443),i=n(1196),a=n(29932),s=n(7518),c=n(74757),u=Math.min;e.exports=function(e,t,n){for(var l=n?i:o,f=e[0].length,d=e.length,p=d,h=Array(d),m=1/0,y=[];p--;){var v=e[p];p&&t&&(v=a(v,s(t))),m=u(v.length,m),h[p]=!n&&(t||f>=120&&v.length>=120)?new r(p&&v):void 0}v=e[0];var g=-1,w=h[0];e:for(;++g<f&&y.length<m;){var b=v[g],E=t?t(b):b;if(b=n||0!==b?b:0,!(w?c(w,E):l(y,E,n))){for(p=d;--p;){var O=h[p];if(!(O?c(O,E):l(e[p],E,n)))continue e}w&&w.push(E),y.push(b)}}return y}},24387:(e,t,n)=>{var r=n(29246);e.exports=function(e){return r(e)?e:[]}},71843:(e,t,n)=>{var r=n(29932),o=n(47556),i=n(67206),a=n(5976),s=n(24387),c=n(10928),u=a((function(e){var t=c(e),n=r(e,s);return t===c(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?o(n,i(t,2)):[]}));e.exports=u},77043:(e,t,n)=>{var r=n(21078),o=n(67206),i=n(5976),a=n(45652),s=n(29246),c=n(10928),u=i((function(e){var t=c(e);return s(t)&&(t=void 0),a(r(e,1,s,!0),o(t,2))}));e.exports=u},84059:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>x});var r,o=n(1024),i=n.n(o),a=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,l=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&l(e,n,t[n]);if(s)for(var n of s(t))u.call(t,n)&&l(e,n,t[n]);return e},d=(e,t)=>{var n={};for(var r in e)c.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&s)for(var r of s(e))t.indexOf(r)<0&&u.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class{constructor(e,n,r,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let a=[];for(let e=0;e<this.size;e++)a.push(!1);for(let e=0;e<this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(r);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}i(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,r){const o=e.QrSegment.makeSegments(n);return t.encodeSegments(o,r)}static encodeBinary(n,r){const o=e.QrSegment.makeBytes(n);return t.encodeSegments([o],r)}static encodeSegments(e,n,o=1,a=40,c=-1,u=!0){if(!(t.MIN_VERSION<=o&&o<=a&&a<=t.MAX_VERSION)||c<-1||c>7)throw new RangeError("Invalid value");let l,f;for(l=o;;l++){const r=8*t.getNumDataCodewords(l,n),o=s.getTotalBits(e,l);if(o<=r){f=o;break}if(l>=a)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])u&&f<=8*t.getNumDataCodewords(l,e)&&(n=e);let d=[];for(const t of e){r(t.mode.modeBits,4,d),r(t.numChars,t.mode.numCharCountBits(l),d);for(const e of t.getData())d.push(e)}i(d.length==f);const p=8*t.getNumDataCodewords(l,n);i(d.length<=p),r(0,Math.min(4,p-d.length),d),r(0,(8-d.length%8)%8,d),i(d.length%8==0);for(let e=236;d.length<p;e^=253)r(e,8,d);let h=[];for(;8*h.length<d.length;)h.push(0);return d.forEach(((e,t)=>h[t>>>3]|=e<<7-(7&t))),new t(l,n,h,c)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)0==n&&0==r||0==n&&r==t-1||n==t-1&&0==r||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let e=0;e<10;e++)n=n<<1^1335*(n>>>9);const r=21522^(t<<10|n);i(r>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(r,e));this.setFunctionModule(8,7,o(r,6)),this.setFunctionModule(8,8,o(r,7)),this.setFunctionModule(7,8,o(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;i(t>>>18==0);for(let e=0;e<18;e++){const n=o(t,e),r=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(r,i,n),this.setFunctionModule(i,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const o=Math.max(Math.abs(r),Math.abs(n)),i=e+r,a=t+n;0<=i&&i<this.size&&0<=a&&a<this.size&&this.setFunctionModule(i,a,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],a=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],s=Math.floor(t.getNumRawDataModules(n)/8),c=o-s%o,u=Math.floor(s/o);let l=[];const f=t.reedSolomonComputeDivisor(a);for(let n=0,r=0;n<o;n++){let o=e.slice(r,r+u-a+(n<c?0:1));r+=o.length;const i=t.reedSolomonComputeRemainder(o,f);n<c&&o.push(0),l.push(o.concat(i))}let d=[];for(let e=0;e<l[0].length;e++)l.forEach(((t,n)=>{(e!=u-a||n>=c)&&d.push(t[e])}));return i(d.length==s),d}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){const a=t-i,s=0==(t+1&2)?this.size-1-r:r;!this.isFunction[s][a]&&n<8*e.length&&(this.modules[s][a]=o(e[n>>>3],7-(7&n)),n++)}}i(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let n=0;n<this.size;n++){let r=!1,o=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[n][a]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),r||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),r=this.modules[n][a],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,i)*t.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,o=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][n]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),r||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),r=this.modules[a][n],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,i)*t.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){const o=this.modules[n][r];o==this.modules[n][r+1]&&o==this.modules[n+1][r]&&o==this.modules[n+1][r+1]&&(e+=t.PENALTY_N2)}let n=0;for(const e of this.modules)n=e.reduce(((e,t)=>e+(t?1:0)),n);const r=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*r)/r)-1;return i(0<=o&&o<=9),e+=o*t.PENALTY_N4,i(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return i(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let o=0;o<e;o++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map((e=>0));for(const o of e){const e=o^r.shift();r.push(0),n.forEach(((n,o)=>r[o]^=t.reedSolomonMultiply(n,e)))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return i(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];i(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function r(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function o(e,t){return 0!=(e>>>t&1)}function i(e){if(!e)throw new Error("Assertion error")}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const a=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)r(n,8,t);return new a(a.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!a.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let n=0;n<e.length;){const o=Math.min(e.length-n,3);r(parseInt(e.substr(n,o),10),3*o+1,t),n+=o}return new a(a.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!a.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,n=[];for(t=0;t+2<=e.length;t+=2){let o=45*a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),r(o,11,n)}return t<e.length&&r(a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new a(a.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:a.isNumeric(e)?[a.makeNumeric(e)]:a.isAlphanumeric(e)?[a.makeAlphanumeric(e)]:[a.makeBytes(a.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");r(6,3,t),r(e,21,t)}return new a(a.Mode.ECI,0,t)}static isNumeric(e){return a.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return a.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substr(n+1,2),16)),n+=2);return t}};let s=a;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=s})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})(t=e.QrCode||(e.QrCode={}))})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(t=e.QrSegment||(e.QrSegment={}))})(r||(r={}));var p=r,h={L:p.QrCode.Ecc.LOW,M:p.QrCode.Ecc.MEDIUM,Q:p.QrCode.Ecc.QUARTILE,H:p.QrCode.Ecc.HIGH},m=128,y="L",v="#FFFFFF",g="#000000",w=!1;
1
+ (self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[141],{14505:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(319),o=n.n(r);if(99!=n.j)var i=n(44759);var a=function(e){return void 0!==e},s=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t.reduce((function(t,r){return a(e[r.name])&&"function"==typeof r.action?t.push(r.action.apply(r,o()(r.argsFactory(e)))):r.mandatory&&n&&i.Z.logError("Mandatory field '".concat(r.name,"' not set in input")),t}),[])}},47369:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={getDispatchActions:n(14505).i}},67210:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(74806),o=n(51272),i=n(34240),a=n(46169),s=n(25660),c=n(80722),u=n(20247),l=n(85893);const f=(0,u.U)((0,r.ZP)((function(e){var t=e.path,n=e.context,r=e.onSuccess,u=e.intl,f=e.locale,d=e.emitAction,p=(0,c.Z)(t),h=p?[{id:"rel".concat(p.model),value:p.key}]:[],m=(0,s.Z)(n,"Domain");return(0,l.jsx)(o.ZP,{entityName:"Domain",formName:m,mode:"create",defaultValues:h,locale:f,onEntityCreated:function(e){var t=e.id,n=[{type:"entity-create-event",payload:{entities:[{entityName:"Docs_list_item",key:"Domain/".concat(t)}]}}];r({title:u.formatMessage({id:"client.docs-browser.createDomainSuccessful"}),remoteEvents:n})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||d(e)},listApp:i.ZP,docsApp:a.ZP})})))},36340:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(74806),o=n(51272),i=n(34240),a=n(46169),s=n(25660),c=n(80722),u=n(20247),l=n(85893);const f=(0,u.U)((0,r.ZP)((function(e){var t=e.context,n=e.path,r=e.onSuccess,u=e.intl,f=e.locale,d=e.emitAction,p=(0,c.Z)(n),h=p?[{id:"rel".concat(p.model),value:p.key}]:[],m=(0,s.Z)(t,"Folder");return(0,l.jsx)(o.ZP,{entityName:"Folder",formName:m,mode:"create",defaultValues:h,locale:f,onEntityCreated:function(e){var t=e.id,n=[{type:"entity-create-event",payload:{entities:[{entityName:"Docs_list_item",key:"Folder/".concat(t)}]}}];r({title:u.formatMessage({id:"client.docs-browser.createFolderSuccessful"}),remoteEvents:n})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||d(e)},listApp:i.ZP,docsApp:a.ZP})})))},96954:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(59713),o=n.n(r);if(99!=n.j)var i=n(12750);var a=n(85893);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){o()(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}const u=function(e){return(0,a.jsx)(i.Z,c(c({},e),{},{customDeleteEndpoint:"documents/delete"}))}},90100:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(63038),o=n.n(r),i=n(51272),a=n(34240),s=n(46169),c=n(25660),u=n(20247),l=n(85893);const f=(0,u.U)((function(e){var t=e.selection,n=e.onSuccess,r=e.onCancel,u=e.locale,f=e.context,d=e.emitAction,p=e.navigate,h=t.ids[0].split("/"),m=o()(h,2),y=m[0],v=m[1];"Resource"===y&&(p("/docs/doc/".concat(v,"/detail")),r());var g=(0,c.Z)(f,y);return(0,l.jsx)(i.ZP,{entityName:y,formName:g,entityId:v,mode:"update",locale:u,onEntityUpdated:function(){var e=[{type:"entity-update-event",payload:{entities:[{entityName:"Docs_list_item",key:t.ids[0]}]}}];n({title:null,remoteEvents:e})},onEntityDeleted:function(){var e=[{type:"entity-delete-event",payload:{entities:[{entityName:"Docs_list_item",key:t.ids[0]}]}}];n({title:null,remoteEvents:e})},emitAction:function(e){(function(e){var t,n;return"client.entity-detail.createSuccessfulTitle"===(null===(t=e.payload)||void 0===t||null===(n=t.toaster)||void 0===n?void 0:n.title)})(e)||d(e)},listApp:a.ZP,docsApp:s.ZP})}))},4505:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r,o,i,a=n(74806),s=n(50558),c=n(30081),u=n(20247),l=n(63038),f=n.n(l),d=n(28655),p=n.n(d),h=n(18446),m=n.n(h),y=n(1024),v=n(44012),g=n(38205),w=n(58129),b=n(50258),E=n(65035),O=n(46169),C=n(80722),T=n(85893),A=g.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(r||(r=p()(["\n display: flex;\n justify-content: flex-end;\n\n "," {\n margin-right: 0;\n }\n"])),w.Z),x=(0,g.ZP)(b.Z).withConfig({displayName:"StyledLoadMask"})(o||(o=p()(["\n height: auto;\n"]))),P=function(e){return null===e?"Move_root_docs_list_item":"Move_docs_list_item"},R={initialize:c.j2,moveElements:c.w6};const S=(0,u.U)((0,s.connect)((function(e){return{isWaiting:e.docs.move.isWaiting,domainTypes:e.input.domainTypes,rootNodes:e.input.rootNodes,businessUnit:e.input.businessUnit,locale:e.intl.locale}}),R)((0,a.ZP)((function(e){var t=e.selection,n=e.onSuccess,r=e.onError,o=e.path,a=e.initialize,s=e.moveElements,c=e.isWaiting,u=e.domainTypes,l=e.rootNodes,d=e.businessUnit,p=e.locale,h=e.emitAction,g=(0,C.Z)(o),w={model:"Docs_list_item",key:"".concat(g.model,"/").concat(g.key)},b=(0,y.useState)(w),R=f()(b,2),S=R[0],k=R[1];(0,y.useEffect)((function(){a(t,n,r)}),[]);var N=function(e,t){switch(e){case"Domain":return"/docs/domain/".concat(t,"/list");case"Folder":return"/docs/folder/".concat(t,"/list");case"Resource":return;default:throw new Error("Unexpected model: ".concat(e))}};return(0,T.jsxs)(x,{required:[!c],children:[(0,T.jsx)(O.ZP,{routerType:"routerless",initialLocation:function(){if(null===S)return null;var e=S.key.split("/"),t=f()(e,2),n=t[0],r=t[1];return N(n,r)}(),listLimit:10,selectionStyle:"none",searchFormType:"none",disableViewPersistor:!0,getListFormName:P,onListParentChange:k,getCustomLocation:N,navigationStrategy:{},embedded:!0,emitAction:h,noLeftPadding:!0,domainTypes:u,rootNodes:l,businessUnit:d,sortable:!1,scrollBehaviour:"none",locale:p}),(0,T.jsx)(A,{children:(0,T.jsx)(E.Z,{onClick:function(){return s(S.key,t.ids)},look:"raised",ink:"primary",disabled:null===S||m()(S,w),children:i||(i=(0,T.jsx)(v.Z,{id:"client.actions.dms-move.button"}))})})]})}))))},77840:(e,t,n)=>{"use strict";if(n.r(t),n.d(t,{default:()=>r.ZP}),99!=n.j)var r=n(34240)},82445:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(59713),o=n.n(r);if(99!=n.j)var i=n(51272);if(99!=n.j)var a=n(34240);if(99!=n.j)var s=n(46169);var c=n(85893);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 l(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){o()(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}const f=99!=n.j?function(e){return(0,c.jsx)(i.ZP,l(l({},e),{},{listApp:a.ZP,docsApp:s.ZP}))}:null},25660:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=99!=n.j?function(e,t){return e.detailFormNames&&e.detailFormNames[t]?e.detailFormNames[t]:"Dms".concat(t)}:null},44020:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=o(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 t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=i(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var c=a[s];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},92806:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],s=e[a];(o?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},47556:(e,t,n)=>{var r=n(88668),o=n(47443),i=n(1196),a=n(29932),s=n(7518),c=n(74757),u=Math.min;e.exports=function(e,t,n){for(var l=n?i:o,f=e[0].length,d=e.length,p=d,h=Array(d),m=1/0,y=[];p--;){var v=e[p];p&&t&&(v=a(v,s(t))),m=u(v.length,m),h[p]=!n&&(t||f>=120&&v.length>=120)?new r(p&&v):void 0}v=e[0];var g=-1,w=h[0];e:for(;++g<f&&y.length<m;){var b=v[g],E=t?t(b):b;if(b=n||0!==b?b:0,!(w?c(w,E):l(y,E,n))){for(p=d;--p;){var O=h[p];if(!(O?c(O,E):l(e[p],E,n)))continue e}w&&w.push(E),y.push(b)}}return y}},24387:(e,t,n)=>{var r=n(29246);e.exports=function(e){return r(e)?e:[]}},71843:(e,t,n)=>{var r=n(29932),o=n(47556),i=n(67206),a=n(5976),s=n(24387),c=n(10928),u=a((function(e){var t=c(e),n=r(e,s);return t===c(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?o(n,i(t,2)):[]}));e.exports=u},77043:(e,t,n)=>{var r=n(21078),o=n(67206),i=n(5976),a=n(45652),s=n(29246),c=n(10928),u=i((function(e){var t=c(e);return s(t)&&(t=void 0),a(r(e,1,s,!0),o(t,2))}));e.exports=u},84059:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>x});var r,o=n(1024),i=n.n(o),a=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,l=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&l(e,n,t[n]);if(s)for(var n of s(t))u.call(t,n)&&l(e,n,t[n]);return e},d=(e,t)=>{var n={};for(var r in e)c.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&s)for(var r of s(e))t.indexOf(r)<0&&u.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class{constructor(e,n,r,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let a=[];for(let e=0;e<this.size;e++)a.push(!1);for(let e=0;e<this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(r);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}i(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,r){const o=e.QrSegment.makeSegments(n);return t.encodeSegments(o,r)}static encodeBinary(n,r){const o=e.QrSegment.makeBytes(n);return t.encodeSegments([o],r)}static encodeSegments(e,n,o=1,a=40,c=-1,u=!0){if(!(t.MIN_VERSION<=o&&o<=a&&a<=t.MAX_VERSION)||c<-1||c>7)throw new RangeError("Invalid value");let l,f;for(l=o;;l++){const r=8*t.getNumDataCodewords(l,n),o=s.getTotalBits(e,l);if(o<=r){f=o;break}if(l>=a)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])u&&f<=8*t.getNumDataCodewords(l,e)&&(n=e);let d=[];for(const t of e){r(t.mode.modeBits,4,d),r(t.numChars,t.mode.numCharCountBits(l),d);for(const e of t.getData())d.push(e)}i(d.length==f);const p=8*t.getNumDataCodewords(l,n);i(d.length<=p),r(0,Math.min(4,p-d.length),d),r(0,(8-d.length%8)%8,d),i(d.length%8==0);for(let e=236;d.length<p;e^=253)r(e,8,d);let h=[];for(;8*h.length<d.length;)h.push(0);return d.forEach(((e,t)=>h[t>>>3]|=e<<7-(7&t))),new t(l,n,h,c)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)0==n&&0==r||0==n&&r==t-1||n==t-1&&0==r||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let e=0;e<10;e++)n=n<<1^1335*(n>>>9);const r=21522^(t<<10|n);i(r>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(r,e));this.setFunctionModule(8,7,o(r,6)),this.setFunctionModule(8,8,o(r,7)),this.setFunctionModule(7,8,o(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;i(t>>>18==0);for(let e=0;e<18;e++){const n=o(t,e),r=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(r,i,n),this.setFunctionModule(i,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const o=Math.max(Math.abs(r),Math.abs(n)),i=e+r,a=t+n;0<=i&&i<this.size&&0<=a&&a<this.size&&this.setFunctionModule(i,a,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],a=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],s=Math.floor(t.getNumRawDataModules(n)/8),c=o-s%o,u=Math.floor(s/o);let l=[];const f=t.reedSolomonComputeDivisor(a);for(let n=0,r=0;n<o;n++){let o=e.slice(r,r+u-a+(n<c?0:1));r+=o.length;const i=t.reedSolomonComputeRemainder(o,f);n<c&&o.push(0),l.push(o.concat(i))}let d=[];for(let e=0;e<l[0].length;e++)l.forEach(((t,n)=>{(e!=u-a||n>=c)&&d.push(t[e])}));return i(d.length==s),d}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){const a=t-i,s=0==(t+1&2)?this.size-1-r:r;!this.isFunction[s][a]&&n<8*e.length&&(this.modules[s][a]=o(e[n>>>3],7-(7&n)),n++)}}i(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let n=0;n<this.size;n++){let r=!1,o=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[n][a]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),r||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),r=this.modules[n][a],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,i)*t.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,o=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][n]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),r||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),r=this.modules[a][n],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,i)*t.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){const o=this.modules[n][r];o==this.modules[n][r+1]&&o==this.modules[n+1][r]&&o==this.modules[n+1][r+1]&&(e+=t.PENALTY_N2)}let n=0;for(const e of this.modules)n=e.reduce(((e,t)=>e+(t?1:0)),n);const r=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*r)/r)-1;return i(0<=o&&o<=9),e+=o*t.PENALTY_N4,i(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return i(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let o=0;o<e;o++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map((e=>0));for(const o of e){const e=o^r.shift();r.push(0),n.forEach(((n,o)=>r[o]^=t.reedSolomonMultiply(n,e)))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return i(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];i(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function r(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function o(e,t){return 0!=(e>>>t&1)}function i(e){if(!e)throw new Error("Assertion error")}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const a=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)r(n,8,t);return new a(a.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!a.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let n=0;n<e.length;){const o=Math.min(e.length-n,3);r(parseInt(e.substr(n,o),10),3*o+1,t),n+=o}return new a(a.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!a.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,n=[];for(t=0;t+2<=e.length;t+=2){let o=45*a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),r(o,11,n)}return t<e.length&&r(a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new a(a.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:a.isNumeric(e)?[a.makeNumeric(e)]:a.isAlphanumeric(e)?[a.makeAlphanumeric(e)]:[a.makeBytes(a.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");r(6,3,t),r(e,21,t)}return new a(a.Mode.ECI,0,t)}static isNumeric(e){return a.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return a.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substr(n+1,2),16)),n+=2);return t}};let s=a;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=s})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})(t=e.QrCode||(e.QrCode={}))})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(t=e.QrSegment||(e.QrSegment={}))})(r||(r={}));var p=r,h={L:p.QrCode.Ecc.LOW,M:p.QrCode.Ecc.MEDIUM,Q:p.QrCode.Ecc.QUARTILE,H:p.QrCode.Ecc.HIGH},m=128,y="L",v="#FFFFFF",g="#000000",w=!1;
2
2
  /**
3
3
  * @license qrcode.react
4
4
  * Copyright (c) Paul O'Shannessy
5
5
  * SPDX-License-Identifier: ISC
6
- */function b(e,t=0){const n=[];return e.forEach((function(e,r){let o=null;e.forEach((function(i,a){if(!i&&null!==o)return n.push(`M${o+t} ${r+t}h${a-o}v1H${o+t}z`),void(o=null);if(a!==e.length-1)i&&null===o&&(o=a);else{if(!i)return;null===o?n.push(`M${a+t},${r+t} h1v1H${a+t}z`):n.push(`M${o+t},${r+t} h${a+1-o}v1H${o+t}z`)}}))})),n.join("")}function E(e,t){return e.slice().map(((e,n)=>n<t.y||n>=t.y+t.h?e:e.map(((e,n)=>(n<t.x||n>=t.x+t.w)&&e))))}function O(e,t,n,r){if(null==r)return null;const o=n?4:0,i=e.length+2*o,a=Math.floor(.1*t),s=i/t,c=(r.width||a)*s,u=(r.height||a)*s,l=null==r.x?e.length/2-c/2:r.x*s,f=null==r.y?e.length/2-u/2:r.y*s;let d=null;if(r.excavate){let e=Math.floor(l),t=Math.floor(f);d={x:e,y:t,w:Math.ceil(c+l-e),h:Math.ceil(u+f-t)}}return{x:l,y:f,h:u,w:c,excavation:d}}var C=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function T(e){const t=e,{value:n,size:r=m,level:a=y,bgColor:s=v,fgColor:c=g,includeMargin:u=w,style:l,imageSettings:T}=t,A=d(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),x=null==T?void 0:T.src,P=(0,o.useRef)(null),R=(0,o.useRef)(null),[S,k]=(0,o.useState)(!1);(0,o.useEffect)((()=>{if(null!=P.current){const e=P.current,t=e.getContext("2d");if(!t)return;let o=p.QrCode.encodeText(n,h[a]).getModules();const i=u?4:0,l=o.length+2*i,f=O(o,r,u,T),d=R.current,m=null!=f&&null!==d&&d.complete&&0!==d.naturalHeight&&0!==d.naturalWidth;m&&null!=f.excavation&&(o=E(o,f.excavation));const y=window.devicePixelRatio||1;e.height=e.width=r*y;const v=r/l*y;t.scale(v,v),t.fillStyle=s,t.fillRect(0,0,l,l),t.fillStyle=c,C?t.fill(new Path2D(b(o,i))):o.forEach((function(e,n){e.forEach((function(e,r){e&&t.fillRect(r+i,n+i,1,1)}))})),m&&t.drawImage(d,f.x+i,f.y+i,f.w,f.h)}})),(0,o.useEffect)((()=>{k(!1)}),[x]);const N=f({height:r,width:r},l);let _=null;return null!=x&&(_=i().createElement("img",{src:x,key:x,style:{display:"none"},onLoad:()=>{k(!0)},ref:R})),i().createElement(i().Fragment,null,i().createElement("canvas",f({style:N,height:r,width:r,ref:P},A)),_)}function A(e){const t=e,{value:n,size:r=m,level:o=y,bgColor:a=v,fgColor:s=g,includeMargin:c=w,imageSettings:u}=t,l=d(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let C=p.QrCode.encodeText(n,h[o]).getModules();const T=c?4:0,A=C.length+2*T,x=O(C,r,c,u);let P=null;null!=u&&null!=x&&(null!=x.excavation&&(C=E(C,x.excavation)),P=i().createElement("image",{xlinkHref:u.src,height:x.h,width:x.w,x:x.x+T,y:x.y+T,preserveAspectRatio:"none"}));const R=b(C,T);return i().createElement("svg",f({height:r,width:r,viewBox:`0 0 ${A} ${A}`},l),i().createElement("path",{fill:a,d:`M0,0 h${A}v${A}H0z`,shapeRendering:"crispEdges"}),i().createElement("path",{fill:s,d:R,shapeRendering:"crispEdges"}),P)}var x=e=>{const t=e,{renderAs:n}=t,r=d(t,["renderAs"]);return"svg"===n?i().createElement(A,f({},r)):i().createElement(T,f({},r))}},17563:(e,t,n)=>{"use strict";const r=n(70610),o=n(44020),i=n(80500),a=n(92806),s=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function f(e){return Array.isArray(e)?e.sort():"object"==typeof e?f(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(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 m(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 o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&l(n,e).includes(e.arrayFormatSeparator);n=i?l(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===n?n:l(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?l(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};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 o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),n(l(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,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]=f(n):e[t]=n,e}),Object.create(null))}t.extract=p,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",o,"]"].join("")]:[...n,[u(t,e),"[",u(o,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(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,[u(t,e),":list="].join("")]:[...n,[u(t,e),":list=",u(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?u(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?u(n,t)+"[]":o.reduce(r(n),[]).join("&"):u(n,t)+"="+u(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(p(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:l(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=d(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let c=t.stringify(a,n);c&&(c=`?${c}`);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l=`#${n[s]?u(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${c}${l}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:i,fragmentIdentifier:c}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:c},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},60046:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(1024),o=n(9657),i=n.n(o),a=n(8679),s=n.n(a);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}var u={},l=0;function f(e,t){return t=t||{},function(n){var o=n.displayName||n.name||"Component",a=function(o){var i,a;function s(e,t){var n;return(n=o.call(this,e,t)||this).state={},n.__scriptURL="",n}a=o,(i=s).prototype=Object.create(a.prototype),i.prototype.constructor=i,i.__proto__=a;var c=s.prototype;return c.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+l++),this.__scriptLoaderID},c.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},c.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},c.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=u[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var n in e.observers)e.observers[n](e);delete window[t.callbackName]},c.componentDidMount=function(){var e=this,n=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),o=t,i=o.globalName,a=o.callbackName,s=o.scriptId;if(i&&void 0!==window[i]&&(u[n]={loaded:!0,observers:{}}),u[n]){var c=u[n];return c&&(c.loaded||c.errored)?void this.asyncScriptLoaderHandleLoad(c):void(c.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var l={};l[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},u[n]={loaded:!1,observers:l};var f=document.createElement("script");for(var d in f.src=n,f.async=!0,t.attributes)f.setAttribute(d,t.attributes[d]);s&&(f.id=s);var p=function(e){if(u[n]){var t=u[n].observers;for(var r in t)e(t[r])&&delete t[r]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),f.onload=function(){var e=u[n];e&&(e.loaded=!0,p((function(t){return!a&&(t(e),!0)})))},f.onerror=function(){var e=u[n];e&&(e.errored=!0,p((function(t){return t(e),!0})))},document.body.appendChild(f)},c.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var n=document.getElementsByTagName("script"),r=0;r<n.length;r+=1)n[r].src.indexOf(e)>-1&&n[r].parentNode&&n[r].parentNode.removeChild(n[r]);var o=u[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete u[e])},c.render=function(){var e=t.globalName,o=this.props,i=(o.asyncScriptOnLoad,o.forwardedRef),a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(o,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(a[e]=void 0!==window[e]?window[e]:void 0),a.ref=i,(0,r.createElement)(n,a)},s}(r.Component),f=(0,r.forwardRef)((function(e,t){return(0,r.createElement)(a,c({},e,{forwardedRef:t}))}));return f.displayName="AsyncScriptLoader("+o+")",f.propTypes={asyncScriptOnLoad:i().func},s()(f,n)}}},36104:(e,t,n)=>{"use strict";var r=n(82637);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},9657:(e,t,n)=>{e.exports=n(36104)()},82637:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64529:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(30763);n(61645);const o=947==n.j?r.Z:null},30763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(61645),o=n(60046),i="onloadcallback";const a=(0,o.Z)((function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+i+"&render=explicit"}),{callbackName:i,globalName:"grecaptcha"})(r.Z)},61645:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(1024),o=n.n(r),i=n(99860),a=n.n(i);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var u=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(c(t)),t.handleErrored=t.handleErrored.bind(c(t)),t.handleChange=t.handleChange.bind(c(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(c(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise((function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()}))},i.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.render&&void 0===this._widgetId){var e=document.createElement("div");this._widgetId=this.props.grecaptcha.render(e,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge}),this.captcha.appendChild(e)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},i.delayOfCaptchaIframeRemoving=function(){var e=document.createElement("div");for(document.body.appendChild(e),e.style.display="none";this.captcha.firstChild;)e.appendChild(this.captcha.firstChild);setTimeout((function(){document.body.removeChild(e)}),5e3)},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return o().createElement("div",s({},t,{ref:this.handleRecaptchaRef}))},r}(o().Component);u.displayName="ReCAPTCHA",u.propTypes={sitekey:a().string.isRequired,onChange:a().func,grecaptcha:a().object,theme:a().oneOf(["dark","light"]),type:a().oneOf(["image","audio"]),tabindex:a().number,onExpired:a().func,onErrored:a().func,size:a().oneOf(["compact","normal","invisible"]),stoken:a().string,hl:a().string,badge:a().oneOf(["bottomright","bottomleft","inline"])},u.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"}},93485:(e,t,n)=>{"use strict";var r=n(34072);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},99860:(e,t,n)=>{e.exports=n(93485)()},34072:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64593:(e,t,n)=>{"use strict";n.d(t,{q:()=>ye});var r,o,i,a,s=n(89324),c=n.n(s),u=n(83524),l=n.n(u),f=n(69590),d=n.n(f),p=n(1024),h=n.n(p),m=n(27418),y=n.n(m),v="bodyAttributes",g="htmlAttributes",w="titleAttributes",b={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},E=(Object.keys(b).map((function(e){return b[e]})),"charset"),O="cssText",C="href",T="http-equiv",A="innerHTML",x="itemprop",P="name",R="property",S="rel",k="src",N="target",_={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",j="defer",L="encodeSpecialCharacters",M="onChangeClientState",F="titleTemplate",D=Object.keys(_).reduce((function(e,t){return e[_[t]]=t,e}),{}),U=[b.NOSCRIPT,b.SCRIPT,b.STYLE],H="data-react-helmet",Z="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},B=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},z=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Y=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},q=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},V=function(e){var t=J(e,b.TITLE),n=J(e,F);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=J(e,I);return t||r||void 0},Q=function(e){return J(e,M)||function(){}},K=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return $({},e,t)}),{})},G=function(e,t){return t.filter((function(e){return void 0!==e[b.BASE]})).map((function(e){return e[b.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}return t}),[])},X=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&oe("Helmet: "+e+' should be of type "Array". Instead found type "'+Z(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n=void 0,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a],c=s.toLowerCase();-1===t.indexOf(c)||n===S&&"canonical"===e[n].toLowerCase()||c===S&&"stylesheet"===e[c].toLowerCase()||(n=c),-1===t.indexOf(s)||s!==A&&s!==O&&s!==x||(n=s)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][u]&&(o[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var s=i[a],c=y()({},r[s],o[s]);r[s]=c}return e}),[]).reverse()},J=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},ee=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){ee(e)}),0)}),te=function(e){return clearTimeout(e)},ne="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ee:n.g.requestAnimationFrame||ee,re="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||te:n.g.cancelAnimationFrame||te,oe=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ie=null,ae=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,c=e.onChangeClientState,u=e.scriptTags,l=e.styleTags,f=e.title,d=e.titleAttributes;ue(b.BODY,r),ue(b.HTML,o),ce(f,d);var p={baseTag:le(b.BASE,n),linkTags:le(b.LINK,i),metaTags:le(b.META,a),noscriptTags:le(b.NOSCRIPT,s),scriptTags:le(b.SCRIPT,u),styleTags:le(b.STYLE,l)},h={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),c(e,h,m)},se=function(e){return Array.isArray(e)?e.join(""):e},ce=function(e,t){void 0!==e&&document.title!==e&&(document.title=se(e)),ue(b.TITLE,t)},ue=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(H),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s<a.length;s++){var c=a[s],u=t[c]||"";n.getAttribute(c)!==u&&n.setAttribute(c,u),-1===o.indexOf(c)&&o.push(c);var l=i.indexOf(c);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f--)n.removeAttribute(i[f]);o.length===i.length?n.removeAttribute(H):n.getAttribute(H)!==a.join(",")&&n.setAttribute(H,a.join(","))}},le=function(e,t){var n=document.head||document.querySelector(b.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===A)n.innerHTML=t.innerHTML;else if(r===O)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(H,"true"),o.some((function(e,t){return a=t,n.isEqualNode(e)}))?o.splice(a,1):i.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},fe=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[_[n]||n]=e[n],t}),t)},pe=function(e,t,n){switch(e){case b.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[H]=!0,o=de(n,r),[h().createElement(b.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=fe(n),i=se(t);return o?"<"+e+' data-react-helmet="true" '+o+">"+q(i,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+q(i,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case v:case g:return{toComponent:function(){return de(t)},toString:function(){return fe(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[H]=!0,r);return Object.keys(t).forEach((function(e){var n=_[e]||e;if(n===A||n===O){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),h().createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===A||e===O)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+q(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===U.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,n)}}}},he=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,c=e.scriptTags,u=e.styleTags,l=e.title,f=void 0===l?"":l,d=e.titleAttributes;return{base:pe(b.BASE,t,r),bodyAttributes:pe(v,n,r),htmlAttributes:pe(g,o,r),link:pe(b.LINK,i,r),meta:pe(b.META,a,r),noscript:pe(b.NOSCRIPT,s,r),script:pe(b.SCRIPT,c,r),style:pe(b.STYLE,u,r),title:pe(b.TITLE,{title:f,titleAttributes:d},r)}},me=l()((function(e){return{baseTag:G([C,N],e),bodyAttributes:K(v,e),defer:J(e,j),encode:J(e,L),htmlAttributes:K(g,e),linkTags:X(b.LINK,[S,C],e),metaTags:X(b.META,[P,E,T,R,x],e),noscriptTags:X(b.NOSCRIPT,[A],e),onChangeClientState:Q(e),scriptTags:X(b.SCRIPT,[k,A],e),styleTags:X(b.STYLE,[O],e),title:V(e),titleAttributes:K(w,e)}}),(function(e){ie&&re(ie),e.defer?ie=ne((function(){ae(e,(function(){ie=null}))})):(ae(e),ie=null)}),he)((function(){return null})),ye=(o=me,a=i=function(e){function t(){return B(this,t),Y(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!d()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case b.SCRIPT:case b.NOSCRIPT:return{innerHTML:t};case b.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return $({},r,((t={})[n.type]=[].concat(r[n.type]||[],[$({},o,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case b.TITLE:return $({},o,((t={})[r.type]=a,t.titleAttributes=$({},i),t));case b.BODY:return $({},o,{bodyAttributes:$({},i)});case b.HTML:return $({},o,{htmlAttributes:$({},i)})}return $({},o,((n={})[r.type]=$({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=$({},t);return Object.keys(e).forEach((function(t){var r;n=$({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return h().Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[D[n]||n]=e[n],t}),t)}(W(o,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case b.LINK:case b.META:case b.NOSCRIPT:case b.SCRIPT:case b.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=W(e,["children"]),r=$({},n);return t&&(r=this.mapChildrenToProps(t,r)),h().createElement(o,r)},z(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(h().Component),i.propTypes={base:c().object,bodyAttributes:c().object,children:c().oneOfType([c().arrayOf(c().node),c().node]),defaultTitle:c().string,defer:c().bool,encodeSpecialCharacters:c().bool,htmlAttributes:c().object,link:c().arrayOf(c().object),meta:c().arrayOf(c().object),noscript:c().arrayOf(c().object),onChangeClientState:c().func,script:c().arrayOf(c().object),style:c().arrayOf(c().object),title:c().string,titleAttributes:c().object,titleTemplate:c().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var e=o.rewind();return e||(e=he({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);ye.renderStatic=ye.rewind},17579:(e,t,n)=>{"use strict";var r=n(80070);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},89324:(e,t,n)=>{e.exports=n(17579)()},80070:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},58934:(e,t,n)=>{"use strict";n.d(t,{rU:()=>M});var r=n(56746),o=n(2396);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,o.Z)(e,t)}var a=n(1024),s=n.n(a),c=n(75677),u=n(96547),l=n(2177);function f(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function y(e,t,n,r){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,c.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=(0,u.Z)(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function w(e,t){t(window.confirm(e))}var b="popstate",E="hashchange";function O(){try{return window.history.state||{}}catch(e){return{}}}function C(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,s=void 0!==a&&a,u=i.getUserConfirmation,d=void 0===u?w:u,C=i.keyLength,T=void 0===C?6:C,A=e.basename?h(f(e.basename)):"";function x(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return A&&(i=p(i,A)),y(i,r,n)}function P(){return Math.random().toString(36).substr(2,T)}var R=v();function S(e){(0,c.Z)(Z,e),Z.length=n.length,R.notifyListeners(Z.location,Z.action)}function k(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||I(x(e.state))}function N(){I(x(O()))}var _=!1;function I(e){if(_)_=!1,S();else{R.confirmTransitionTo(e,"POP",d,(function(t){t?S({action:"POP",location:e}):function(e){var t=Z.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(_=!0,F(o))}(e)}))}}var j=x(O()),L=[j.key];function M(e){return A+m(e)}function F(e){n.go(e)}var D=0;function U(e){1===(D+=e)&&1===e?(window.addEventListener(b,k),o&&window.addEventListener(E,N)):0===D&&(window.removeEventListener(b,k),o&&window.removeEventListener(E,N))}var H=!1;var Z={length:n.length,action:"POP",location:j,createHref:M,push:function(e,t){var o="PUSH",i=y(e,t,P(),Z.location);R.confirmTransitionTo(i,o,d,(function(e){if(e){var t=M(i),a=i.key,c=i.state;if(r)if(n.pushState({key:a,state:c},null,t),s)window.location.href=t;else{var u=L.indexOf(Z.location.key),l=L.slice(0,u+1);l.push(i.key),L=l,S({action:o,location:i})}else window.location.href=t}}))},replace:function(e,t){var o="REPLACE",i=y(e,t,P(),Z.location);R.confirmTransitionTo(i,o,d,(function(e){if(e){var t=M(i),a=i.key,c=i.state;if(r)if(n.replaceState({key:a,state:c},null,t),s)window.location.replace(t);else{var u=L.indexOf(Z.location.key);-1!==u&&(L[u]=i.key),S({action:o,location:i})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=R.setPrompt(e);return H||(U(1),H=!0),function(){return H&&(H=!1,U(-1)),t()}},listen:function(e){var t=R.appendListener(e);return U(1),function(){U(-1),t()}}};return Z}var T="hashchange",A={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:f},slash:{encodePath:f,decodePath:f}};function x(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function P(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function R(e){window.location.replace(x(window.location.href)+"#"+e)}function S(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,o=void 0===r?w:r,i=n.hashType,a=void 0===i?"slash":i,s=e.basename?h(f(e.basename)):"",u=A[a],d=u.encodePath,b=u.decodePath;function E(){var e=b(P());return s&&(e=p(e,s)),y(e)}var O=v();function C(e){(0,c.Z)(H,e),H.length=t.length,O.notifyListeners(H.location,H.action)}var S=!1,k=null;function N(){var e,t,n=P(),r=d(n);if(n!==r)R(r);else{var i=E(),a=H.location;if(!S&&(t=i,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(k===m(i))return;k=null,function(e){if(S)S=!1,C();else{var t="POP";O.confirmTransitionTo(e,t,o,(function(n){n?C({action:t,location:e}):function(e){var t=H.location,n=L.lastIndexOf(m(t));-1===n&&(n=0);var r=L.lastIndexOf(m(e));-1===r&&(r=0);var o=n-r;o&&(S=!0,M(o))}(e)}))}}(i)}}var _=P(),I=d(_);_!==I&&R(I);var j=E(),L=[m(j)];function M(e){t.go(e)}var F=0;function D(e){1===(F+=e)&&1===e?window.addEventListener(T,N):0===F&&window.removeEventListener(T,N)}var U=!1;var H={length:t.length,action:"POP",location:j,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=x(window.location.href)),n+"#"+d(s+m(e))},push:function(e,t){var n="PUSH",r=y(e,void 0,void 0,H.location);O.confirmTransitionTo(r,n,o,(function(e){if(e){var t=m(r),o=d(s+t);if(P()!==o){k=t,function(e){window.location.hash=e}(o);var i=L.lastIndexOf(m(H.location)),a=L.slice(0,i+1);a.push(t),L=a,C({action:n,location:r})}else C()}}))},replace:function(e,t){var n="REPLACE",r=y(e,void 0,void 0,H.location);O.confirmTransitionTo(r,n,o,(function(e){if(e){var t=m(r),o=d(s+t);P()!==o&&(k=t,R(o));var i=L.indexOf(m(H.location));-1!==i&&(L[i]=t),C({action:n,location:r})}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return U||(D(1),U=!0),function(){return U&&(U=!1,D(-1)),t()}},listen:function(e){var t=O.appendListener(e);return D(1),function(){D(-1),t()}}};return H}n(94662);function k(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}s().Component;s().Component;var N=function(e,t){return"function"==typeof e?e(t):e},_=function(e,t){return"string"==typeof e?y(e,null,null,t):e},I=function(e){return e},j=s().forwardRef;void 0===j&&(j=I);var L=j((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=k(e,["innerRef","navigate","onClick"]),a=i.target,u=(0,c.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=I!==j&&t||n,s().createElement("a",u)}));var M=j((function(e,t){var n=e.component,o=void 0===n?L:n,i=e.replace,a=e.to,u=e.innerRef,f=k(e,["component","replace","to","innerRef"]);return s().createElement(r.s6.Consumer,null,(function(e){e||(0,l.Z)(!1);var n=e.history,r=_(N(a,e.location),e.location),d=r?n.createHref(r):"",p=(0,c.Z)({},f,{href:d,navigate:function(){var t=N(a,e.location),r=m(e.location)===m(_(t));(i||r?n.replace:n.push)(t)}});return I!==j?p.ref=t||u:p.innerRef=u,s().createElement(o,p)}))})),F=function(e){return e},D=s().forwardRef;void 0===D&&(D=F);D((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,a=void 0===i?"active":i,u=e.activeStyle,f=e.className,d=e.exact,p=e.isActive,h=e.location,m=e.sensitive,y=e.strict,v=e.style,g=e.to,w=e.innerRef,b=k(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return s().createElement(r.s6.Consumer,null,(function(e){e||(0,l.Z)(!1);var n=h||e.location,i=_(N(g,n),n),E=i.pathname,O=E&&E.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),C=O?(0,r.LX)(n.pathname,{path:O,exact:d,sensitive:m,strict:y}):null,T=!!(p?p(C,n):C),A="function"==typeof f?f(T):f,x="function"==typeof v?v(T):v;T&&(A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(A,a),x=(0,c.Z)({},x,u));var P=(0,c.Z)({"aria-current":T&&o||null,className:A,style:x,to:i},b);return F!==D?P.ref=t||w:P.innerRef=w,s().createElement(M,P)}))}))},126:(e,t,n)=>{"use strict";var r=n(51235);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},94662:(e,t,n)=>{e.exports=n(126)()},51235:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},96547:(e,t,n)=>{"use strict";function r(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}n.d(t,{Z:()=>i});const i=function(e,t){void 0===t&&(t="");var n,i=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&r(e),c=t&&r(t),u=s||c;if(e&&r(e)?a=i:i.length&&(a.pop(),a=a.concat(i)),!a.length)return"/";if(a.length){var l=a[a.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,d=a.length;d>=0;d--){var p=a[d];"."===p?o(a,d):".."===p?(o(a,d),f++):f&&(o(a,d),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&r(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}},83524:(e,t,n)=>{"use strict";var r,o=n(1024),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var c,u=[];function l(){c=e(u.map((function(e){return e.props}))),f.canUseDOM?t(c):n&&(c=n(c))}var f=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return c},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=c;return c=void 0,u=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){u.push(this),l()},a.componentDidUpdate=function(){l()},a.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),l()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(f,"canUseDOM",s),f}}},44049:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(68507);const o=(i=r.Z,a=i.getIn,function(e,t){return function(n){var r=t||function(e){return a(e,"form")};return a(r(n),e+".initial")}});var i,a},80500: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)]}},70610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},90655:(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 o=1,i="";if("?"===e[s=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(s));for(;s<e.length;)if("\\"!==e[s]){if(")"===e[s]){if(0==--o){s++;break}}else if("("===e[s]&&(o++,"?"!==e[s+1]))throw new TypeError("Capturing groups are not allowed at ".concat(s));i+=e[s++]}else i+=e[s++]+e[s++];if(o)throw new TypeError("Unbalanced pattern at ".concat(n));if(!i)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:i}),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,a="[^".concat(o(t.delimiter||"/#?"),"]+?"),s=[],c=0,u=0,l="",f=function(e){if(u<n.length&&n[u].type===e)return n[u++].value},d=function(e){var t=f(e);if(void 0!==t)return t;var r=n[u],o=r.type,i=r.index;throw new TypeError("Unexpected ".concat(o," at ").concat(i,", expected ").concat(e))},p=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t};u<n.length;){var h=f("CHAR"),m=f("NAME"),y=f("PATTERN");if(m||y){var v=h||"";-1===i.indexOf(v)&&(l+=v,v=""),l&&(s.push(l),l=""),s.push({name:m||c++,prefix:v,suffix:"",pattern:y||a,modifier:f("MODIFIER")||""})}else{var g=h||f("ESCAPED_CHAR");if(g)l+=g;else if(l&&(s.push(l),l=""),f("OPEN")){v=p();var w=f("NAME")||"",b=f("PATTERN")||"",E=p();d("CLOSE"),s.push({name:w||(b?c++:""),pattern:w&&!b?a:b,prefix:v,suffix:E,modifier:f("MODIFIER")||""})}else d("END")}}return s}function o(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function a(e,t,n){return function(e,t,n){void 0===n&&(n={});for(var r=n.strict,a=void 0!==r&&r,s=n.start,c=void 0===s||s,u=n.end,l=void 0===u||u,f=n.encode,d=void 0===f?function(e){return e}:f,p=n.delimiter,h=void 0===p?"/#?":p,m=n.endsWith,y="[".concat(o(void 0===m?"":m),"]|$"),v="[".concat(o(h),"]"),g=c?"^":"",w=0,b=e;w<b.length;w++){var E=b[w];if("string"==typeof E)g+=o(d(E));else{var O=o(d(E.prefix)),C=o(d(E.suffix));if(E.pattern)if(t&&t.push(E),O||C)if("+"===E.modifier||"*"===E.modifier){var T="*"===E.modifier?"?":"";g+="(?:".concat(O,"((?:").concat(E.pattern,")(?:").concat(C).concat(O,"(?:").concat(E.pattern,"))*)").concat(C,")").concat(T)}else g+="(?:".concat(O,"(").concat(E.pattern,")").concat(C,")").concat(E.modifier);else"+"===E.modifier||"*"===E.modifier?g+="((?:".concat(E.pattern,")").concat(E.modifier,")"):g+="(".concat(E.pattern,")").concat(E.modifier);else g+="(?:".concat(O).concat(C,")").concat(E.modifier)}}if(l)a||(g+="".concat(v,"?")),g+=n.endsWith?"(?=".concat(y,")"):"$";else{var A=e[e.length-1],x="string"==typeof A?v.indexOf(A[A.length-1])>-1:void 0===A;a||(g+="(?:".concat(v,"(?=").concat(y,"))?")),x||(g+="(?=".concat(v,"|").concat(y,")"))}return new RegExp(g,i(n))}(r(e,n),t,n)}function s(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,o=n.exec(e.source);o;)t.push({name:o[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),o=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return s(e,t,n).source}));return new RegExp("(?:".concat(r.join("|"),")"),i(n))}(e,t,n):a(e,t,n)}n.d(t,{Bo:()=>s})},75677:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},2396:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})}}]);
6
+ */function b(e,t=0){const n=[];return e.forEach((function(e,r){let o=null;e.forEach((function(i,a){if(!i&&null!==o)return n.push(`M${o+t} ${r+t}h${a-o}v1H${o+t}z`),void(o=null);if(a!==e.length-1)i&&null===o&&(o=a);else{if(!i)return;null===o?n.push(`M${a+t},${r+t} h1v1H${a+t}z`):n.push(`M${o+t},${r+t} h${a+1-o}v1H${o+t}z`)}}))})),n.join("")}function E(e,t){return e.slice().map(((e,n)=>n<t.y||n>=t.y+t.h?e:e.map(((e,n)=>(n<t.x||n>=t.x+t.w)&&e))))}function O(e,t,n,r){if(null==r)return null;const o=n?4:0,i=e.length+2*o,a=Math.floor(.1*t),s=i/t,c=(r.width||a)*s,u=(r.height||a)*s,l=null==r.x?e.length/2-c/2:r.x*s,f=null==r.y?e.length/2-u/2:r.y*s;let d=null;if(r.excavate){let e=Math.floor(l),t=Math.floor(f);d={x:e,y:t,w:Math.ceil(c+l-e),h:Math.ceil(u+f-t)}}return{x:l,y:f,h:u,w:c,excavation:d}}var C=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function T(e){const t=e,{value:n,size:r=m,level:a=y,bgColor:s=v,fgColor:c=g,includeMargin:u=w,style:l,imageSettings:T}=t,A=d(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),x=null==T?void 0:T.src,P=(0,o.useRef)(null),R=(0,o.useRef)(null),[S,k]=(0,o.useState)(!1);(0,o.useEffect)((()=>{if(null!=P.current){const e=P.current,t=e.getContext("2d");if(!t)return;let o=p.QrCode.encodeText(n,h[a]).getModules();const i=u?4:0,l=o.length+2*i,f=O(o,r,u,T),d=R.current,m=null!=f&&null!==d&&d.complete&&0!==d.naturalHeight&&0!==d.naturalWidth;m&&null!=f.excavation&&(o=E(o,f.excavation));const y=window.devicePixelRatio||1;e.height=e.width=r*y;const v=r/l*y;t.scale(v,v),t.fillStyle=s,t.fillRect(0,0,l,l),t.fillStyle=c,C?t.fill(new Path2D(b(o,i))):o.forEach((function(e,n){e.forEach((function(e,r){e&&t.fillRect(r+i,n+i,1,1)}))})),m&&t.drawImage(d,f.x+i,f.y+i,f.w,f.h)}})),(0,o.useEffect)((()=>{k(!1)}),[x]);const N=f({height:r,width:r},l);let _=null;return null!=x&&(_=i().createElement("img",{src:x,key:x,style:{display:"none"},onLoad:()=>{k(!0)},ref:R})),i().createElement(i().Fragment,null,i().createElement("canvas",f({style:N,height:r,width:r,ref:P},A)),_)}function A(e){const t=e,{value:n,size:r=m,level:o=y,bgColor:a=v,fgColor:s=g,includeMargin:c=w,imageSettings:u}=t,l=d(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let C=p.QrCode.encodeText(n,h[o]).getModules();const T=c?4:0,A=C.length+2*T,x=O(C,r,c,u);let P=null;null!=u&&null!=x&&(null!=x.excavation&&(C=E(C,x.excavation)),P=i().createElement("image",{xlinkHref:u.src,height:x.h,width:x.w,x:x.x+T,y:x.y+T,preserveAspectRatio:"none"}));const R=b(C,T);return i().createElement("svg",f({height:r,width:r,viewBox:`0 0 ${A} ${A}`},l),i().createElement("path",{fill:a,d:`M0,0 h${A}v${A}H0z`,shapeRendering:"crispEdges"}),i().createElement("path",{fill:s,d:R,shapeRendering:"crispEdges"}),P)}var x=e=>{const t=e,{renderAs:n}=t,r=d(t,["renderAs"]);return"svg"===n?i().createElement(A,f({},r)):i().createElement(T,f({},r))}},17563:(e,t,n)=>{"use strict";const r=n(70610),o=n(44020),i=n(80500),a=n(92806),s=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function f(e){return Array.isArray(e)?e.sort():"object"==typeof e?f(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(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 m(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 o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&l(n,e).includes(e.arrayFormatSeparator);n=i?l(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===n?n:l(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?l(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};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 o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),n(l(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,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]=f(n):e[t]=n,e}),Object.create(null))}t.extract=p,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",o,"]"].join("")]:[...n,[u(t,e),"[",u(o,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(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,[u(t,e),":list="].join("")]:[...n,[u(t,e),":list=",u(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?u(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?u(n,t)+"[]":o.reduce(r(n),[]).join("&"):u(n,t)+"="+u(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(p(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:l(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=d(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let c=t.stringify(a,n);c&&(c=`?${c}`);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l=`#${n[s]?u(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${c}${l}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:i,fragmentIdentifier:c}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:c},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},60046:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(1024),o=n(9657),i=n.n(o),a=n(8679),s=n.n(a);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}var u={},l=0;function f(e,t){return t=t||{},function(n){var o=n.displayName||n.name||"Component",a=function(o){var i,a;function s(e,t){var n;return(n=o.call(this,e,t)||this).state={},n.__scriptURL="",n}a=o,(i=s).prototype=Object.create(a.prototype),i.prototype.constructor=i,i.__proto__=a;var c=s.prototype;return c.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+l++),this.__scriptLoaderID},c.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},c.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},c.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=u[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var n in e.observers)e.observers[n](e);delete window[t.callbackName]},c.componentDidMount=function(){var e=this,n=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),o=t,i=o.globalName,a=o.callbackName,s=o.scriptId;if(i&&void 0!==window[i]&&(u[n]={loaded:!0,observers:{}}),u[n]){var c=u[n];return c&&(c.loaded||c.errored)?void this.asyncScriptLoaderHandleLoad(c):void(c.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var l={};l[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},u[n]={loaded:!1,observers:l};var f=document.createElement("script");for(var d in f.src=n,f.async=!0,t.attributes)f.setAttribute(d,t.attributes[d]);s&&(f.id=s);var p=function(e){if(u[n]){var t=u[n].observers;for(var r in t)e(t[r])&&delete t[r]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),f.onload=function(){var e=u[n];e&&(e.loaded=!0,p((function(t){return!a&&(t(e),!0)})))},f.onerror=function(){var e=u[n];e&&(e.errored=!0,p((function(t){return t(e),!0})))},document.body.appendChild(f)},c.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var n=document.getElementsByTagName("script"),r=0;r<n.length;r+=1)n[r].src.indexOf(e)>-1&&n[r].parentNode&&n[r].parentNode.removeChild(n[r]);var o=u[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete u[e])},c.render=function(){var e=t.globalName,o=this.props,i=(o.asyncScriptOnLoad,o.forwardedRef),a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(o,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(a[e]=void 0!==window[e]?window[e]:void 0),a.ref=i,(0,r.createElement)(n,a)},s}(r.Component),f=(0,r.forwardRef)((function(e,t){return(0,r.createElement)(a,c({},e,{forwardedRef:t}))}));return f.displayName="AsyncScriptLoader("+o+")",f.propTypes={asyncScriptOnLoad:i().func},s()(f,n)}}},36104:(e,t,n)=>{"use strict";var r=n(82637);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},9657:(e,t,n)=>{e.exports=n(36104)()},82637:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64529:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(30763);n(61645);const o=947==n.j?r.Z:null},30763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(61645),o=n(60046),i="onloadcallback";const a=(0,o.Z)((function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+i+"&render=explicit"}),{callbackName:i,globalName:"grecaptcha"})(r.Z)},61645:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(1024),o=n.n(r),i=n(99860),a=n.n(i);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var u=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(c(t)),t.handleErrored=t.handleErrored.bind(c(t)),t.handleChange=t.handleChange.bind(c(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(c(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise((function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()}))},i.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.render&&void 0===this._widgetId){var e=document.createElement("div");this._widgetId=this.props.grecaptcha.render(e,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge}),this.captcha.appendChild(e)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},i.delayOfCaptchaIframeRemoving=function(){var e=document.createElement("div");for(document.body.appendChild(e),e.style.display="none";this.captcha.firstChild;)e.appendChild(this.captcha.firstChild);setTimeout((function(){document.body.removeChild(e)}),5e3)},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return o().createElement("div",s({},t,{ref:this.handleRecaptchaRef}))},r}(o().Component);u.displayName="ReCAPTCHA",u.propTypes={sitekey:a().string.isRequired,onChange:a().func,grecaptcha:a().object,theme:a().oneOf(["dark","light"]),type:a().oneOf(["image","audio"]),tabindex:a().number,onExpired:a().func,onErrored:a().func,size:a().oneOf(["compact","normal","invisible"]),stoken:a().string,hl:a().string,badge:a().oneOf(["bottomright","bottomleft","inline"])},u.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"}},93485:(e,t,n)=>{"use strict";var r=n(34072);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},99860:(e,t,n)=>{e.exports=n(93485)()},34072:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64593:(e,t,n)=>{"use strict";n.d(t,{q:()=>ye});var r,o,i,a,s=n(89324),c=n.n(s),u=n(83524),l=n.n(u),f=n(69590),d=n.n(f),p=n(1024),h=n.n(p),m=n(27418),y=n.n(m),v="bodyAttributes",g="htmlAttributes",w="titleAttributes",b={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},E=(Object.keys(b).map((function(e){return b[e]})),"charset"),O="cssText",C="href",T="http-equiv",A="innerHTML",x="itemprop",P="name",R="property",S="rel",k="src",N="target",_={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",j="defer",L="encodeSpecialCharacters",M="onChangeClientState",F="titleTemplate",D=Object.keys(_).reduce((function(e,t){return e[_[t]]=t,e}),{}),U=[b.NOSCRIPT,b.SCRIPT,b.STYLE],H="data-react-helmet",Z="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},B=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},z=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Y=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},q=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},V=function(e){var t=J(e,b.TITLE),n=J(e,F);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=J(e,I);return t||r||void 0},Q=function(e){return J(e,M)||function(){}},K=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return $({},e,t)}),{})},G=function(e,t){return t.filter((function(e){return void 0!==e[b.BASE]})).map((function(e){return e[b.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}return t}),[])},X=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&oe("Helmet: "+e+' should be of type "Array". Instead found type "'+Z(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n=void 0,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a],c=s.toLowerCase();-1===t.indexOf(c)||n===S&&"canonical"===e[n].toLowerCase()||c===S&&"stylesheet"===e[c].toLowerCase()||(n=c),-1===t.indexOf(s)||s!==A&&s!==O&&s!==x||(n=s)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][u]&&(o[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var s=i[a],c=y()({},r[s],o[s]);r[s]=c}return e}),[]).reverse()},J=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},ee=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){ee(e)}),0)}),te=function(e){return clearTimeout(e)},ne="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ee:n.g.requestAnimationFrame||ee,re="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||te:n.g.cancelAnimationFrame||te,oe=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ie=null,ae=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,c=e.onChangeClientState,u=e.scriptTags,l=e.styleTags,f=e.title,d=e.titleAttributes;ue(b.BODY,r),ue(b.HTML,o),ce(f,d);var p={baseTag:le(b.BASE,n),linkTags:le(b.LINK,i),metaTags:le(b.META,a),noscriptTags:le(b.NOSCRIPT,s),scriptTags:le(b.SCRIPT,u),styleTags:le(b.STYLE,l)},h={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),c(e,h,m)},se=function(e){return Array.isArray(e)?e.join(""):e},ce=function(e,t){void 0!==e&&document.title!==e&&(document.title=se(e)),ue(b.TITLE,t)},ue=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(H),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s<a.length;s++){var c=a[s],u=t[c]||"";n.getAttribute(c)!==u&&n.setAttribute(c,u),-1===o.indexOf(c)&&o.push(c);var l=i.indexOf(c);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f--)n.removeAttribute(i[f]);o.length===i.length?n.removeAttribute(H):n.getAttribute(H)!==a.join(",")&&n.setAttribute(H,a.join(","))}},le=function(e,t){var n=document.head||document.querySelector(b.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===A)n.innerHTML=t.innerHTML;else if(r===O)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(H,"true"),o.some((function(e,t){return a=t,n.isEqualNode(e)}))?o.splice(a,1):i.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},fe=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[_[n]||n]=e[n],t}),t)},pe=function(e,t,n){switch(e){case b.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[H]=!0,o=de(n,r),[h().createElement(b.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=fe(n),i=se(t);return o?"<"+e+' data-react-helmet="true" '+o+">"+q(i,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+q(i,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case v:case g:return{toComponent:function(){return de(t)},toString:function(){return fe(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[H]=!0,r);return Object.keys(t).forEach((function(e){var n=_[e]||e;if(n===A||n===O){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),h().createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===A||e===O)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+q(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===U.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,n)}}}},he=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,c=e.scriptTags,u=e.styleTags,l=e.title,f=void 0===l?"":l,d=e.titleAttributes;return{base:pe(b.BASE,t,r),bodyAttributes:pe(v,n,r),htmlAttributes:pe(g,o,r),link:pe(b.LINK,i,r),meta:pe(b.META,a,r),noscript:pe(b.NOSCRIPT,s,r),script:pe(b.SCRIPT,c,r),style:pe(b.STYLE,u,r),title:pe(b.TITLE,{title:f,titleAttributes:d},r)}},me=l()((function(e){return{baseTag:G([C,N],e),bodyAttributes:K(v,e),defer:J(e,j),encode:J(e,L),htmlAttributes:K(g,e),linkTags:X(b.LINK,[S,C],e),metaTags:X(b.META,[P,E,T,R,x],e),noscriptTags:X(b.NOSCRIPT,[A],e),onChangeClientState:Q(e),scriptTags:X(b.SCRIPT,[k,A],e),styleTags:X(b.STYLE,[O],e),title:V(e),titleAttributes:K(w,e)}}),(function(e){ie&&re(ie),e.defer?ie=ne((function(){ae(e,(function(){ie=null}))})):(ae(e),ie=null)}),he)((function(){return null})),ye=(o=me,a=i=function(e){function t(){return B(this,t),Y(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!d()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case b.SCRIPT:case b.NOSCRIPT:return{innerHTML:t};case b.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return $({},r,((t={})[n.type]=[].concat(r[n.type]||[],[$({},o,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case b.TITLE:return $({},o,((t={})[r.type]=a,t.titleAttributes=$({},i),t));case b.BODY:return $({},o,{bodyAttributes:$({},i)});case b.HTML:return $({},o,{htmlAttributes:$({},i)})}return $({},o,((n={})[r.type]=$({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=$({},t);return Object.keys(e).forEach((function(t){var r;n=$({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return h().Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[D[n]||n]=e[n],t}),t)}(W(o,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case b.LINK:case b.META:case b.NOSCRIPT:case b.SCRIPT:case b.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=W(e,["children"]),r=$({},n);return t&&(r=this.mapChildrenToProps(t,r)),h().createElement(o,r)},z(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(h().Component),i.propTypes={base:c().object,bodyAttributes:c().object,children:c().oneOfType([c().arrayOf(c().node),c().node]),defaultTitle:c().string,defer:c().bool,encodeSpecialCharacters:c().bool,htmlAttributes:c().object,link:c().arrayOf(c().object),meta:c().arrayOf(c().object),noscript:c().arrayOf(c().object),onChangeClientState:c().func,script:c().arrayOf(c().object),style:c().arrayOf(c().object),title:c().string,titleAttributes:c().object,titleTemplate:c().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var e=o.rewind();return e||(e=he({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);ye.renderStatic=ye.rewind},17579:(e,t,n)=>{"use strict";var r=n(80070);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},89324:(e,t,n)=>{e.exports=n(17579)()},80070:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},58934:(e,t,n)=>{"use strict";n.d(t,{rU:()=>M});var r=n(56746),o=n(2396);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,o.Z)(e,t)}var a=n(1024),s=n.n(a),c=n(75677),u=n(96547),l=n(2177);function f(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function y(e,t,n,r){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,c.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=(0,u.Z)(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function w(e,t){t(window.confirm(e))}var b="popstate",E="hashchange";function O(){try{return window.history.state||{}}catch(e){return{}}}function C(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,s=void 0!==a&&a,u=i.getUserConfirmation,d=void 0===u?w:u,C=i.keyLength,T=void 0===C?6:C,A=e.basename?h(f(e.basename)):"";function x(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return A&&(i=p(i,A)),y(i,r,n)}function P(){return Math.random().toString(36).substr(2,T)}var R=v();function S(e){(0,c.Z)(Z,e),Z.length=n.length,R.notifyListeners(Z.location,Z.action)}function k(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||I(x(e.state))}function N(){I(x(O()))}var _=!1;function I(e){if(_)_=!1,S();else{R.confirmTransitionTo(e,"POP",d,(function(t){t?S({action:"POP",location:e}):function(e){var t=Z.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(_=!0,F(o))}(e)}))}}var j=x(O()),L=[j.key];function M(e){return A+m(e)}function F(e){n.go(e)}var D=0;function U(e){1===(D+=e)&&1===e?(window.addEventListener(b,k),o&&window.addEventListener(E,N)):0===D&&(window.removeEventListener(b,k),o&&window.removeEventListener(E,N))}var H=!1;var Z={length:n.length,action:"POP",location:j,createHref:M,push:function(e,t){var o="PUSH",i=y(e,t,P(),Z.location);R.confirmTransitionTo(i,o,d,(function(e){if(e){var t=M(i),a=i.key,c=i.state;if(r)if(n.pushState({key:a,state:c},null,t),s)window.location.href=t;else{var u=L.indexOf(Z.location.key),l=L.slice(0,u+1);l.push(i.key),L=l,S({action:o,location:i})}else window.location.href=t}}))},replace:function(e,t){var o="REPLACE",i=y(e,t,P(),Z.location);R.confirmTransitionTo(i,o,d,(function(e){if(e){var t=M(i),a=i.key,c=i.state;if(r)if(n.replaceState({key:a,state:c},null,t),s)window.location.replace(t);else{var u=L.indexOf(Z.location.key);-1!==u&&(L[u]=i.key),S({action:o,location:i})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=R.setPrompt(e);return H||(U(1),H=!0),function(){return H&&(H=!1,U(-1)),t()}},listen:function(e){var t=R.appendListener(e);return U(1),function(){U(-1),t()}}};return Z}var T="hashchange",A={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:f},slash:{encodePath:f,decodePath:f}};function x(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function P(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function R(e){window.location.replace(x(window.location.href)+"#"+e)}function S(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,o=void 0===r?w:r,i=n.hashType,a=void 0===i?"slash":i,s=e.basename?h(f(e.basename)):"",u=A[a],d=u.encodePath,b=u.decodePath;function E(){var e=b(P());return s&&(e=p(e,s)),y(e)}var O=v();function C(e){(0,c.Z)(H,e),H.length=t.length,O.notifyListeners(H.location,H.action)}var S=!1,k=null;function N(){var e,t,n=P(),r=d(n);if(n!==r)R(r);else{var i=E(),a=H.location;if(!S&&(t=i,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(k===m(i))return;k=null,function(e){if(S)S=!1,C();else{var t="POP";O.confirmTransitionTo(e,t,o,(function(n){n?C({action:t,location:e}):function(e){var t=H.location,n=L.lastIndexOf(m(t));-1===n&&(n=0);var r=L.lastIndexOf(m(e));-1===r&&(r=0);var o=n-r;o&&(S=!0,M(o))}(e)}))}}(i)}}var _=P(),I=d(_);_!==I&&R(I);var j=E(),L=[m(j)];function M(e){t.go(e)}var F=0;function D(e){1===(F+=e)&&1===e?window.addEventListener(T,N):0===F&&window.removeEventListener(T,N)}var U=!1;var H={length:t.length,action:"POP",location:j,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=x(window.location.href)),n+"#"+d(s+m(e))},push:function(e,t){var n="PUSH",r=y(e,void 0,void 0,H.location);O.confirmTransitionTo(r,n,o,(function(e){if(e){var t=m(r),o=d(s+t);if(P()!==o){k=t,function(e){window.location.hash=e}(o);var i=L.lastIndexOf(m(H.location)),a=L.slice(0,i+1);a.push(t),L=a,C({action:n,location:r})}else C()}}))},replace:function(e,t){var n="REPLACE",r=y(e,void 0,void 0,H.location);O.confirmTransitionTo(r,n,o,(function(e){if(e){var t=m(r),o=d(s+t);P()!==o&&(k=t,R(o));var i=L.indexOf(m(H.location));-1!==i&&(L[i]=t),C({action:n,location:r})}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return U||(D(1),U=!0),function(){return U&&(U=!1,D(-1)),t()}},listen:function(e){var t=O.appendListener(e);return D(1),function(){D(-1),t()}}};return H}n(94662);function k(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}s().Component;s().Component;var N=function(e,t){return"function"==typeof e?e(t):e},_=function(e,t){return"string"==typeof e?y(e,null,null,t):e},I=function(e){return e},j=s().forwardRef;void 0===j&&(j=I);var L=j((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=k(e,["innerRef","navigate","onClick"]),a=i.target,u=(0,c.Z)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=I!==j&&t||n,s().createElement("a",u)}));var M=j((function(e,t){var n=e.component,o=void 0===n?L:n,i=e.replace,a=e.to,u=e.innerRef,f=k(e,["component","replace","to","innerRef"]);return s().createElement(r.s6.Consumer,null,(function(e){e||(0,l.Z)(!1);var n=e.history,r=_(N(a,e.location),e.location),d=r?n.createHref(r):"",p=(0,c.Z)({},f,{href:d,navigate:function(){var t=N(a,e.location),r=m(e.location)===m(_(t));(i||r?n.replace:n.push)(t)}});return I!==j?p.ref=t||u:p.innerRef=u,s().createElement(o,p)}))})),F=function(e){return e},D=s().forwardRef;void 0===D&&(D=F);D((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,a=void 0===i?"active":i,u=e.activeStyle,f=e.className,d=e.exact,p=e.isActive,h=e.location,m=e.sensitive,y=e.strict,v=e.style,g=e.to,w=e.innerRef,b=k(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return s().createElement(r.s6.Consumer,null,(function(e){e||(0,l.Z)(!1);var n=h||e.location,i=_(N(g,n),n),E=i.pathname,O=E&&E.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),C=O?(0,r.LX)(n.pathname,{path:O,exact:d,sensitive:m,strict:y}):null,T=!!(p?p(C,n):C),A="function"==typeof f?f(T):f,x="function"==typeof v?v(T):v;T&&(A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(A,a),x=(0,c.Z)({},x,u));var P=(0,c.Z)({"aria-current":T&&o||null,className:A,style:x,to:i},b);return F!==D?P.ref=t||w:P.innerRef=w,s().createElement(M,P)}))}))},126:(e,t,n)=>{"use strict";var r=n(51235);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},94662:(e,t,n)=>{e.exports=n(126)()},51235:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},96547:(e,t,n)=>{"use strict";function r(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}n.d(t,{Z:()=>i});const i=function(e,t){void 0===t&&(t="");var n,i=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&r(e),c=t&&r(t),u=s||c;if(e&&r(e)?a=i:i.length&&(a.pop(),a=a.concat(i)),!a.length)return"/";if(a.length){var l=a[a.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,d=a.length;d>=0;d--){var p=a[d];"."===p?o(a,d):".."===p?(o(a,d),f++):f&&(o(a,d),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&r(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h}},83524:(e,t,n)=>{"use strict";var r,o=n(1024),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var c,u=[];function l(){c=e(u.map((function(e){return e.props}))),f.canUseDOM?t(c):n&&(c=n(c))}var f=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return c},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=c;return c=void 0,u=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){u.push(this),l()},a.componentDidUpdate=function(){l()},a.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),l()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(f,"canUseDOM",s),f}}},44049:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(14892);const o=(i=r.Z,a=i.getIn,function(e,t){return function(n){var r=t||function(e){return a(e,"form")};return a(r(n),e+".initial")}});var i,a},80500: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)]}},70610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},90655:(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 o=1,i="";if("?"===e[s=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(s));for(;s<e.length;)if("\\"!==e[s]){if(")"===e[s]){if(0==--o){s++;break}}else if("("===e[s]&&(o++,"?"!==e[s+1]))throw new TypeError("Capturing groups are not allowed at ".concat(s));i+=e[s++]}else i+=e[s++]+e[s++];if(o)throw new TypeError("Unbalanced pattern at ".concat(n));if(!i)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:i}),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,a="[^".concat(o(t.delimiter||"/#?"),"]+?"),s=[],c=0,u=0,l="",f=function(e){if(u<n.length&&n[u].type===e)return n[u++].value},d=function(e){var t=f(e);if(void 0!==t)return t;var r=n[u],o=r.type,i=r.index;throw new TypeError("Unexpected ".concat(o," at ").concat(i,", expected ").concat(e))},p=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t};u<n.length;){var h=f("CHAR"),m=f("NAME"),y=f("PATTERN");if(m||y){var v=h||"";-1===i.indexOf(v)&&(l+=v,v=""),l&&(s.push(l),l=""),s.push({name:m||c++,prefix:v,suffix:"",pattern:y||a,modifier:f("MODIFIER")||""})}else{var g=h||f("ESCAPED_CHAR");if(g)l+=g;else if(l&&(s.push(l),l=""),f("OPEN")){v=p();var w=f("NAME")||"",b=f("PATTERN")||"",E=p();d("CLOSE"),s.push({name:w||(b?c++:""),pattern:w&&!b?a:b,prefix:v,suffix:E,modifier:f("MODIFIER")||""})}else d("END")}}return s}function o(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function a(e,t,n){return function(e,t,n){void 0===n&&(n={});for(var r=n.strict,a=void 0!==r&&r,s=n.start,c=void 0===s||s,u=n.end,l=void 0===u||u,f=n.encode,d=void 0===f?function(e){return e}:f,p=n.delimiter,h=void 0===p?"/#?":p,m=n.endsWith,y="[".concat(o(void 0===m?"":m),"]|$"),v="[".concat(o(h),"]"),g=c?"^":"",w=0,b=e;w<b.length;w++){var E=b[w];if("string"==typeof E)g+=o(d(E));else{var O=o(d(E.prefix)),C=o(d(E.suffix));if(E.pattern)if(t&&t.push(E),O||C)if("+"===E.modifier||"*"===E.modifier){var T="*"===E.modifier?"?":"";g+="(?:".concat(O,"((?:").concat(E.pattern,")(?:").concat(C).concat(O,"(?:").concat(E.pattern,"))*)").concat(C,")").concat(T)}else g+="(?:".concat(O,"(").concat(E.pattern,")").concat(C,")").concat(E.modifier);else"+"===E.modifier||"*"===E.modifier?g+="((?:".concat(E.pattern,")").concat(E.modifier,")"):g+="(".concat(E.pattern,")").concat(E.modifier);else g+="(?:".concat(O).concat(C,")").concat(E.modifier)}}if(l)a||(g+="".concat(v,"?")),g+=n.endsWith?"(?=".concat(y,")"):"$";else{var A=e[e.length-1],x="string"==typeof A?v.indexOf(A[A.length-1])>-1:void 0===A;a||(g+="(?:".concat(v,"(?=").concat(y,"))?")),x||(g+="(?=".concat(v,"|").concat(y,")"))}return new RegExp(g,i(n))}(r(e,n),t,n)}function s(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,o=n.exec(e.source);o;)t.push({name:o[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),o=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return s(e,t,n).source}));return new RegExp("(?:".concat(r.join("|"),")"),i(n))}(e,t,n):a(e,t,n)}n.d(t,{Bo:()=>s})},75677:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},2396:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunktocco_=self.webpackChunktocco_||[]).push([[614],{13025:(e,t,r)=>{r.d(t,{Z:()=>o,l:()=>i});var n=r(45697),o={SINGLE:"single",MULTI:"multi",MULTI_EXPLICIT:"multi_explicit",NONE:"none"},i=r.n(n)().oneOf(Object.keys(o).map((function(e){return o[e]})))},25842:(e,t,r)=>{r.d(t,{WV:()=>P,fu:()=>w,nC:()=>j,q1:()=>O,sG:()=>x});var n,o,i,a,c,s=r(6479),l=r.n(s),u=r(28655),f=r.n(u),d=r(1024),p=r.n(d),b=r(38205),h=r(40493),y=r(69829),m=r(88601),v=r(7281),g=["component"],j=b.ZP.div.withConfig({displayName:"StyledBreadcrumbs"})(n||(n=f()(["\n background-color: ",";\n padding: "," ",";\n position: relative;\n z-index: 2; // higher than StyledTether to prevent cover on scroll\n"])),(function(e){return e.backgroundColor||m.Z.color("backgroundBreadcrumbs")(e)}),v.Z.space(-.7),v.Z.space(.39)),O=(0,b.ZP)((function(e){var t=e.component,r=l()(e,g);return p().cloneElement(t,r)})).withConfig({displayName:"StyledBreadcrumbsLink"})(o||(o=f()(["\n font-weight: ",";\n text-decoration: none;\n color: ",";\n cursor: pointer;\n\n & * {\n font-weight: ",";\n text-decoration: none;\n color: ",";\n }\n\n &:hover,\n &:hover * {\n color: ",";\n }\n\n &:focus,\n &:active,\n &:focus *,\n &:active * {\n color: ",";\n }\n"])),m.Z.fontWeight("bold"),(function(e){return e.active&&m.Z.color("primary")}),m.Z.fontWeight("bold"),(function(e){return e.active&&m.Z.color("primary")}),m.Z.color("secondaryLight"),m.Z.color("primary")),w=b.ZP.span.withConfig({displayName:"StyledBreadcrumbsTitle"})(i||(i=f()(["\n font-weight: ",";\n text-decoration: none;\n color: ",";\n\n & * {\n font-weight: ",";\n text-decoration: none;\n color: ",";\n }\n\n &:active * {\n color: ",";\n }\n"])),m.Z.fontWeight("bold"),(function(e){return e.active&&m.Z.color("primary")}),m.Z.fontWeight("bold"),(function(e){return e.active&&m.Z.color("primary")}),m.Z.color("primary")),x=(0,b.ZP)(y.Fe).withConfig({displayName:"StyledBreadcrumbSeparator"})(a||(a=f()(["\n margin-left: ",";\n margin-right: ",";\n"])),v.Z.space(-2),v.Z.space(-2)),P=b.ZP.span.withConfig({displayName:"StyledBreadcrumbWrapper"})(c||(c=f()(["\n "," {\n margin-right: ",";\n }\n"])),h.q,v.Z.space(-1))},10129:(e,t,r)=>{r.d(t,{Z:()=>f});var n=r(59713),o=r.n(n),i=r(6479),a=r.n(i);if(/^9(47|9)$/.test(r.j))var c=r(65035);var s=r(85893),l=/^9(47|9)$/.test(r.j)?["icon","label","onClick"]:null;function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const f=/^9(47|9)$/.test(r.j)?function(e){var t=e.icon,r=e.label,n=e.onClick,i=a()(e,l);return(0,s.jsx)(c.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({icon:t||"arrow-left",label:r,onClick:n,"data-cy":"back-button"},i))}:null},99579:(e,t,r)=>{r.r(t),r.d(t,{Icon:()=>I,default:()=>T});var n=r(59713),o=r.n(n),i=r(45697),a=r.n(i),c=r(6479),s=r.n(c),l=r(23636),u=r(93024),f=r(65735),d=r(73582),p=r(67814),b=r(27361),h=r.n(b),y=r(40493),m=r(85893),v=["icon","style","hasFixedWidth"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}l.library.add(d.IJ7,f.IJ7,f.C65,f.kJo,f._tD,f.A35,f.mTx,f.ptq,f.g4A,f.r8p,f.Pk,f.g9M,f.Tab,d.Tab,f.NBC,f.eFW,f.acZ,f.u2A,f.gMD,f.cwv,f.w49,f.fUD,f.icc,f.ca9,f.Vmj,f.gSj,f.WFE,f.hQn,f.LEp,f.WV2,f.FU$,f.diR,d.diR,f.f8k,d.f8k,u.xYR,u.neY,u.AYu,u.kBj,u.hVS,u.dc_,u.Av$,f.xiG,f.gJF,f.j1w,f.WKO,f.wn1,f.b7W,f.YHc,f.ZC5,f.UO1,d.Fyj,f.Qj4,f.FL8,f.foy,f.u9C,f.Fuz,f.iV1,f.Kl4,f.nYk,f.sqG,f.RLE,f.$aW,f.Zrf,f.jMV,f.pL1,f.g6h,f.SJY,f.qmU,f.nek,f.Qy6,f.lH_,d.pL1,f.hVM,f.yOf,f.Xgz,f.Mzg,f.r6l,f.IwR,f.aJJ,d.Alc,f.dLO,f.ntl,f.Hw7,f.FYs,f.$36,f.fT7,f.ioP,f.Cw9,f.Ry6,f.C3l,f.a1i,f.jGC,f.IeV,f.A8,f.hG5,f.FVb,f.AxY,f.mAj,f.hGM,f.UkD,f.BDt,f.QzV,f.py1,f.cf$,f.byT,f.dT$,f.G_j,f.A4,f.ar8,f.nNP,f.yGT,f.ILF,f.rux,f.qbi);var O=function(e){var t=e.icon,r=e.style,n=e.hasFixedWidth,o=s()(e,v),i=t.includes(",")?t.replace(/\s+/,"").split(","):t,a=j({},h()(r,"color")&&{color:r.color}),c=Array.isArray(i)?i[1]:i;return(0,m.jsx)(y.q,{children:(0,m.jsx)(p.G,j(j(j({icon:i,style:r},a),{},{fixedWidth:n},o),{},{"data-testid":"icon-".concat(c)}))})};O.defaultProps={hasFixedWidth:!0};const w=O,x=JSON.parse('{"abacus":{"id":"fal, abacus","lib":"fa"},"address-card":{"id":"fal, address-card","lib":"fa"},"apple":{"id":"fab, apple","lib":"fa","tags":["sso"]},"arrow-left":{"id":"fal, arrow-left","lib":"fa","tags":["navigate"]},"arrow-right":{"id":"fal, arrow-right","lib":"fa","tags":["navigate"]},"arrow-to-bottom":{"id":"fal, arrow-to-bottom","lib":"fa","tags":["download"]},"arrow-to-top":{"id":"fal, arrow-to-top","lib":"fa","tags":["upload"]},"arrow-up-long":{"id":"fal, arrow-up-long","lib":"fa","tags":["arrow-up-long"]},"ballot-check":{"id":"fal, ballot-check","lib":"fa"},"barcode-alt":{"id":"fal, barcode-alt","lib":"fa"},"bars":{"id":"fal, bars","lib":"fa","tags":["burger"]},"bell":{"id":"fal, bell","lib":"fa","tags":["notification"]},"bolt":{"id":"fal, bolt-lightning","lib":"fa"},"bolt-lightning":{"id":"fal, bolt-lightning","lib":"fa"},"book":{"id":"fal, book","lib":"fa"},"box":{"id":"fal, box","lib":"fa"},"box-open":{"id":"fal, box-open","lib":"fa"},"calendar":{"id":"fal, calendar","lib":"fa"},"calendar-arrow-down":{"id":"fal, calendar-arrow-down","lib":"fa"},"calendar-circle-user":{"id":"fal, calendar-circle-user","lib":"fa"},"calendar-check":{"id":"fal, calendar-check","lib":"fa"},"calendar-minus":{"id":"fal, calendar-minus","lib":"fa"},"calendar-plus":{"id":"fal, calendar-plus","lib":"fa"},"chalkboard-teacher":{"id":"fal, chalkboard-teacher","lib":"fa"},"chart-network":{"id":"fal, chart-network","lib":"fa"},"check":{"id":"fal, check","lib":"fa","tags":["ok"]},"check-circle":{"id":"fal, check-circle","lib":"fa","tags":["check"]},"check-circle-full":{"id":"fas, check-circle","lib":"fa"},"chevron-double-down":{"id":"fal, chevron-double-down","lib":"fa"},"chevron-double-left":{"id":"fal, chevron-double-left","lib":"fa"},"chevron-double-right":{"id":"fal, chevron-double-right","lib":"fa"},"chevron-double-up":{"id":"fal, chevron-double-up","lib":"fa"},"chevron-down":{"id":"fal, chevron-down","lib":"fa"},"chevron-left":{"id":"fal, chevron-left","lib":"fa"},"chevron-right":{"id":"fal, chevron-right","lib":"fa"},"chevron-up":{"id":"fal, chevron-up","lib":"fa"},"circle":{"id":"fal, circle","lib":"fa","tags":["selection"]},"circle-full":{"id":"fas, circle","lib":"fa"},"circle-notch":{"id":"fa, circle-notch","lib":"fa"},"circle-notch-light":{"id":"fal, circle-notch","lib":"fa"},"code":{"id":"fal, code","lib":"fa"},"cog":{"id":"fal, cog","lib":"fa"},"compress":{"id":"fal, compress","lib":"fa"},"comment":{"id":"fal, comment","lib":"fa"},"cube":{"id":"fal, cube","lib":"fa"},"dropbox":{"id":"fab, dropbox","lib":"fa","tags":["sso"]},"ellipsis-v":{"id":"fal, ellipsis-v","lib":"fa","tags":["dots","pünktli"]},"envelope":{"id":"fal, envelope","lib":"fa"},"exclamation":{"id":"fal, exclamation","lib":"fa","tags":["warning"]},"exclamation-circle":{"id":"fal, exclamation-circle","lib":"fa","tags":["warning"]},"external-link":{"id":"fal, external-link","lib":"fa","tags":["external-link"]},"facebook":{"id":"fab, facebook","lib":"fa","tags":["sso"]},"facebook-f":{"id":"fab, facebook-f","lib":"fa","tags":["sso"]},"file":{"id":"fal, file","lib":"fa"},"file-alt":{"id":"fal, file-alt","lib":"fa"},"file-code":{"id":"fal, file-code","lib":"fa"},"file-csv":{"id":"fal, file-csv","lib":"fa"},"file-excel":{"id":"fal, file-excel","lib":"fa"},"file-export":{"id":"fal, file-export","lib":"fa"},"file-import":{"id":"fal, file-import","lib":"fa"},"file-pdf":{"id":"fal, file-pdf","lib":"fa"},"file-spreadsheet":{"id":"fal, file-spreadsheet","lib":"fa"},"filter":{"id":"fal, filter","lib":"fa"},"folder":{"id":"fal, folder","lib":"fa"},"folders":{"id":"fal, folders","lib":"fa","tags":["copy"]},"globe":{"id":"fal, globe","lib":"fa"},"google":{"id":"fab, google","lib":"fa","tags":["sso"]},"horizontal-rule":{"id":"fal, horizontal-rule","lib":"fa"},"id-badge":{"id":"fal, id-badge","lib":"fa"},"info":{"id":"fal, info","lib":"fa"},"laptop-code":{"id":"fal, laptop-code","lib":"fa"},"link":{"id":"fal, link","lib":"fa"},"list":{"id":"fal, list","lib":"fa"},"list-check":{"id":"fal, list-check","lib":"fa"},"lock":{"id":"fal, lock","lib":"fa"},"info-circle":{"id":"fal, info-circle","lib":"fa","tags":["info"]},"mail-bulk":{"id":"fal, mail-bulk","lib":"fa"},"map-marked":{"id":"fal, map-marked","lib":"fa"},"merge":{"id":"fal, merge","lib":"fa"},"microsoft":{"id":"fab, microsoft","lib":"fa","tags":["sso"]},"minus":{"id":"fal, minus","lib":"fa"},"newspaper":{"id":"fal, newspaper","lib":"fa"},"office":{"id":"office","lib":"toc"},"paper-clip":{"id":"fa, paper-clip","lib":"fa"},"pen":{"id":"fal, pen","lib":"fa"},"pen-field":{"id":"fal, pen-field","lib":"fa"},"percent":{"id":"fal, percent","lib":"fa"},"phone":{"id":"fal, phone","lib":"fa"},"phone-laptop":{"id":"fal, phone-laptop","lib":"fa"},"plus":{"id":"fal, plus","lib":"fa","tags":["new"]},"question-circle":{"id":"fal, question-circle","lib":"fa","tags":["help"]},"save":{"id":"fal, save","lib":"fa"},"search":{"id":"fal, search","lib":"fa"},"sitemap":{"id":"fal, sitemap","lib":"fa"},"sort-down":{"id":"fal, sort-down","lib":"fa"},"sort-up":{"id":"fal, sort-up","lib":"fa"},"square":{"id":"fal, square","lib":"fa"},"square-full":{"id":"fas, square-full","lib":"fa"},"square-minus":{"id":"fal, square-minus","lib":"fa"},"square-plus":{"id":"fal, square-plus","lib":"fa"},"star":{"id":"fal, star","lib":"fa","tags":["favorite"]},"star-full":{"id":"fas, star","lib":"fa","tags":["favorite"]},"sync":{"id":"fal, sync","lib":"fa","tags":["refresh"]},"tasks":{"id":"fal, tasks","lib":"fa"},"times":{"id":"fal, times","lib":"fa","tags":["delete","close"]},"times-circle":{"id":"fal, times-circle","lib":"fa","tags":["error"]},"tocco":{"id":"logo","lib":"toc"},"trash":{"id":"fal, trash","lib":"fa","tags":["trash"]},"upload":{"id":"fal, upload","lib":"fa"},"users":{"id":"fal, users","lib":"fa"},"lightbulb-exclamation":{"id":"fal, lightbulb-exclamation","lib":"fa"},"house-blank":{"id":"fal, house-blank","lib":"fa"},"floppy-disk-circle-xmark":{"id":"fal, floppy-disk-circle-xmark","lib":"fa"},"user":{"id":"fal, user","lib":"fa"},"suitcase":{"id":"fal, suitcase","lib":"fa"}}');var P,Z;function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var E={logo:function(e){return(0,m.jsx)("svg",k(k({height:h()(e,"fontSize",20)},e),{},{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:P||(P=(0,m.jsx)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 \n 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"}))}))},office:function(e){return(0,m.jsx)("svg",k(k({height:h()(e,"fontSize",20)},e),{},{"aria-hidden":"true",role:"img",enableBackground:"new 0 0 2075 2499.8",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2075 2499.8",children:Z||(Z=(0,m.jsx)("path",{fill:"currentColor",d:"m0 2016.6v-1519.8l1344.4-496.8 730.6 233.7v2045.9l-730.6 220.3-1344.4-483.3 1344.4 \n 161.8v-1769.2l-876.8 204.6v1198.3z"}))}))}},D=function(e){var t=e.icon,r=e.style;return E[t](r)};D.propTypes={icon:a().string.isRequired,style:a().object};const C=D;function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var N={fa:function(e,t){return(0,m.jsx)(w,A(A({},t),{},{icon:e.id}))},toc:function(e,t){return(0,m.jsx)(C,A(A({},t),{},{icon:e.id}))}},I=function(e){var t=x[e.icon];if(!t)return null;var r=N[t.lib];return r?r(t,e):null};I.propTypes={icon:a().string.isRequired,style:a().objectOf(a().string)};const T=I},40493:(e,t,r)=>{r.d(t,{q:()=>a});var n,o=r(28655),i=r.n(o),a=r(38205).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(n||(n=i()([""])))},60558:(e,t,r)=>{r.d(t,{Z:()=>p});var n,o=r(28655),i=r.n(o),a=r(27361),c=r.n(a),s=r(58934),l=r(38205),u=r(30759),f=r(24875),d=r(58664);const p=(0,l.ZP)(s.rU)(n||(n=i()(["\n ","\n text-decoration: none;\n color: ",";\n\n * {\n color: ",";\n text-decoration: none;\n }\n\n &:hover,\n &:hover *,\n &:focus,\n &:focus * {\n color: ",";\n text-decoration: ",";\n }\n\n &:active,\n &:active * {\n color: ",";\n text-decoration: ",";\n }\n"])),(0,u.Z)(),f.FS.color("secondary"),f.FS.color("text"),f.FS.color("secondaryLight"),(function(e){return e.neutral?"none":"underline"}),(function(e){var t=e.neutral,r=e.theme;return t?(0,d.HO)(c()(r,"colors.text"),2):(0,d.HO)(c()(r,"colors.secondary"),2)}),(function(e){return e.neutral?"none":"underline"}))},99694:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(1024);if(947==r.j)var o=r(56746);if(947==r.j)var i=r(24688);var a=r(85893);const c=947==r.j?function(e){var t=e.when,r=e.message;return(0,n.useEffect)((function(){return t&&i.Z.activatePreventFromLeaving(),function(){i.Z.deactivatePreventFromLeaving()}}),[t]),(0,a.jsx)(o.NL,{when:t,message:r})}:null},42756:(e,t,r)=>{if(r.d(t,{Z:()=>o}),947==r.j)var n=r(99694);const o=947==r.j?n.Z:null},46200:(e,t,r)=>{r.d(t,{a:()=>a});var n=r(45697),o=r.n(n),i=r(71392),a=o().oneOf(Object.keys(i.P).map((function(e){return i.P[e]})))},71392:(e,t,r)=>{r.d(t,{P:()=>n});var n={INLINE:"inline",NONE:"none"}},75354:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(13218),o=r.n(n),i=r(66604),a=r.n(i),c=r(17563),s=function(e){if("string"!=typeof e)return!1;try{var t=JSON.parse(e);return"[object Object]"===Object.prototype.toString.call(t)}catch(e){return!1}};const l={fromQueryString:function(e){var t=c.parse(e);return a()(t,(function(e){return s(e)?JSON.parse(e):e}))},toQueryString:function(e){var t=a()(e,(function(e){return o()(e)?JSON.stringify(e):e}));return c.stringify(t)}}},25460:(e,t,r)=>{if(r.d(t,{Z:()=>a}),/^(763|947)$/.test(r.j))var n=r(56746);var o=r(85893),i=function(e){return function(t){if(e.component)return(0,o.jsx)(e.component,{router:t,routes:e.routes});if(e.render){var r={router:t,routes:e.routes};return e.render(r)}}};const a=/^(763|947)$/.test(r.j)?function(e){return(0,o.jsx)(n.AW,{path:e.path,exact:e.exact,render:i(e)})}:null},16274:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(59713),o=r.n(n),i=r(63038),a=r.n(i),c=r(1024),s=r(85893);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){return function(t){var r=(0,c.useState)(null),n=a()(r,2),i=n[0],u=n[1],f=(0,c.useRef)(!0);return(0,c.useEffect)((function(){return e().then((function(e){return f.current?u((function(){return e})):null})),function(){f.current=!1}}),[]),null!==i?(0,s.jsx)(i,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t)):null}}},74397:(e,t,r)=>{if(r.d(t,{U:()=>o}),/^(763|947)$/.test(r.j))var n=r(44759);var o=function(e,t,r){var o=r.key,i=r.actionCreator,a=r.mandatory,c=void 0!==a&&a,s=r.defaultValue,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.Z.logError;if(Object.prototype.hasOwnProperty.call(t,o)||s){var u=i(t[o]||s);e.dispatch(u)}else!0===c&&l("EntityBrowser: Mandatory field '".concat(o,"' not set in input"))}},29441:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(59713),o=r.n(n),i=r(27361),a=r.n(i);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l={};const u={persistViewInfo:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;l=s(s({},l),{},o()({},e,{level:r,info:s(s({},a()(l,[e,"info"],{})),t)}))},viewInfoSelector:function(e){return a()(l,[e,"info"],{})},clearPersistedViews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;l=s({},Object.keys(l).reduce((function(t,r){var n=l[r];return s(s({},t),n.level<e&&o()({},r,n))}),{}))}}},10683:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(1024),o=r(87533),i={"dms-create-folder":(0,n.lazy)((function(){return Promise.all([r.e(504),r.e(85),r.e(240),r.e(107),r.e(141)]).then(r.bind(r,36340))})),"dms-create-domain":(0,n.lazy)((function(){return Promise.all([r.e(504),r.e(85),r.e(240),r.e(107),r.e(141)]).then(r.bind(r,67210))})),"dms-edit":(0,n.lazy)((function(){return Promise.all([r.e(504),r.e(85),r.e(240),r.e(107),r.e(141)]).then(r.bind(r,90100))})),"dms-move":(0,n.lazy)((function(){return Promise.all([r.e(504),r.e(85),r.e(240),r.e(107),r.e(141)]).then(r.bind(r,4505))})),delete:(0,n.lazy)((function(){return Promise.all([r.e(504),r.e(85),r.e(240),r.e(107),r.e(141)]).then(r.bind(r,96954))}))},a=o.Z.actionFactory(i);const c=/^(763|947)$/.test(r.j)?a:null},57828:(e,t,r)=>{r.d(t,{Z:()=>K});var n,o,i=r(74806),a=r(50558),c=r(20247),s=r(59713),l=r.n(s),u=r(38205),f=r(319),d=r.n(f),p=r(64593),b=r(10535),h=r(28655),y=r.n(h),m=r(58934),v=r(30759),g=r(88601),j=(0,u.iv)(n||(n=y()(["\n ","\n color: ",";\n\n * {\n color: ",";\n text-decoration: ",";\n }\n\n &:hover,\n &:hover *,\n &:focus,\n &:focus * {\n text-decoration: ",";\n }\n\n &:active,\n &:active * {\n text-decoration: ",";\n }\n"])),(0,v.Z)(),g.Z.color("text"),g.Z.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));const O=(0,u.ZP)(m.rU).withConfig({shouldForwardProp:function(e,t){return!["neutral"].includes(e)&&t(e)}})(o||(o=y()(["\n ","\n"])),j);var w=r(34206),x=r(88162),P=r(85893),Z={error:"exclamation-circle",home:"house-blank"},S=function(e){return Z[e]||e};const k=function(e){var t=e.type;return t&&"record"!==t?(0,P.jsx)(x.Z,{icon:S(t)}):null};var E,D=r(25842);const C=function(){return E||(E=(0,P.jsx)(D.sG,{breakWords:!0,children:(0,P.jsx)(x.Z,{icon:"chevron-right"})}))};var F;function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var I=function(e){return e.title||e.display},T=function(e,t){if(!e||0===e.length)return"Tocco";var r=e.at(-1),n="";switch(r.type){case"create":n="".concat(I(r)," - ").concat(t);break;case"detail":n=e.slice(e.length-2).map(I).join(" - ");break;default:n=I(r)}return n},R=function(e){var t,r=e.intl,n=e.pathPrefix,o=e.breadcrumbsInfo,i=void 0===o?[]:o,a=e.currentView,c=e.backgroundColor,s=e.onClick,l=e.linkComp,u=[].concat(d()(i),d()(a?[a]:[]));if(0===u.length)return null;var f,h=u.map((function(e,r){var o,i=e.display||"",a=r===u.length-1?D.fu:D.q1,c=r===u.length-1&&{active:"true"},f=void 0!==e.path?{to:"".concat(n,"/").concat(e.path)}:{},d=l?t||(t=(0,P.jsx)(l,{})):F||(F=(0,P.jsx)(O,{}));return(0,P.jsx)(w.ZP.Span,{children:(0,P.jsx)(D.WV,{children:(0,P.jsxs)(a,N(N(N({neutral:!0},c),f),{},{onClick:(o=e,function(){s&&s(o)}),component:d,children:[(0,P.jsx)(k,{type:e.type}),(0,P.jsx)("span",{dangerouslySetInnerHTML:{__html:b.Z.sanitizeHtml(i)}})]}))})},"breadcrumbItem-".concat(r))})).reduce((function(e,t,r){return[e,(0,P.jsx)(C,{},"icon".concat(r)),t]}));return(0,P.jsxs)(D.nC,{backgroundColor:c,children:[(0,P.jsx)(p.q,{defer:!1,children:(0,P.jsx)("title",{children:T(u,(f="client.component.breadcrumbs.createTitle",r.formatMessage({id:f})))})}),(0,P.jsx)(P.Fragment,{children:h})]})};R.defaultProps={pathPrefix:""};const L=R,B=(0,i.ZP)(L);function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const z=(0,u.Zz)((function(e){var t=e.embedded,r=e.resetSearchMode,n=e.theme,o=e.pathPrefix,i=e.breadcrumbsInfo;return(0,P.jsx)(B,M(M({},t?{backgroundColor:g.Z.color("paper")({theme:n})}:{}),{},{onClick:function(e){""===e.path&&r()},pathPrefix:o,breadcrumbsInfo:i}))}));function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var H=function(e){return(0,P.jsx)("span",W({},e))};const q=(0,u.Zz)((function(e){var t=e.embedded,r=e.navigate,n=e.resetSearchMode,o=e.theme,i=e.pathPrefix,a=e.breadcrumbsInfo;return(0,P.jsx)(B,W(W({},t?{backgroundColor:g.Z.color("paper")({theme:o})}:{}),{},{onClick:function(e){""===e.path&&n(),r("/docs/".concat(e.path))},linkComp:H,pathPrefix:i,breadcrumbsInfo:a}))}));var $={},U=function(e){return{pathPrefix:"/docs",breadcrumbsInfo:e.docs.path.breadcrumbs,embedded:e.input.embedded}},Y=(0,a.connect)(U,$)((0,i.ZP)(z)),G=(0,a.connect)(U,$)((0,i.ZP)(q));const K=(0,c.U)({routerless:G,router:Y})},59794:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(20247),o=r(27920),i=r(51811),a=r(85893);const c=function(e){var t=e.params,r=e.navigationStrategy,n=e.handleSearchChange,c=e.emitAction,s=e.openFileDialog,l=e.searchMode,u=e.docsKey,f=t.model,d=t.view;return"doc"===f&&"detail"===d?(0,a.jsx)(i.Z,{navigationStrategy:r}):(0,a.jsx)(o.Z,{navigationStrategy:r,onSearchChange:n,emitAction:c,openFileDialog:s,searchMode:l},u)};var s=r(56746);const l=function(e){var t,r,n=e.navigationStrategy,c=e.handleSearchChange,l=e.emitAction,u=e.openFileDialog,f=e.searchMode,d=e.docsKey;return(0,a.jsxs)(s.rs,{children:[(0,a.jsx)(s.AW,{exact:!0,path:"/docs/doc/:key/detail",render:function(){return t||(t=(0,a.jsx)(i.Z,{navigationStrategy:n}))}}),(0,a.jsx)(s.AW,{exact:!0,path:["/docs/:model/:key/list","/docs"],render:function(){return r||(r=(0,a.jsx)(o.Z,{navigationStrategy:n,onSearchChange:c,emitAction:l,openFileDialog:u,searchMode:f},d))}})]})},u=(0,n.U)({routerless:c,router:l})},63344:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(74806),o=r(50558),i=r(50600),a=r(32388),c=r(97876),s=r(20247),l=r(63038),u=r.n(l),f=r(1024),d=r(19743),p=r(29441),b=r(93205),h=r(57828),y=r(59794),m=r(55365),v=r(85893);const g=function(e){var t=e.navigate,r=e.path,n=e.searchMode,o=e.navigationStrategy,i=e.setSearchMode,a=e.loadBreadcrumbs,c=e.emitAction,s=e.openFileDialog,l=e.noLeftPadding,g=e.scrollBehaviour,j=e.listenHistory,O=(0,f.useReducer)((function(e){return e+1}),0),w=u()(O,2),x=w[0],P=w[1],Z=(0,f.useRef)(n);Z.current=n,(0,f.useEffect)((function(){a(r)})),(0,f.useEffect)((function(){return j((function(e,t){(0,b.Z)(r)&&n&&"POP"===t&&S()}))}));var S=function(){Z.current&&(p.Z.clearPersistedViews(),i(!1),a(r),P())},k="docs-view-".concat(x);return(0,v.jsxs)(m.SD,{scrollBehaviour:g,children:[(0,v.jsx)(d.Z.ErrorBoundary,{children:(0,v.jsx)(m.nC,{noLeftPadding:l,children:(0,v.jsx)(h.Z,{resetSearchMode:S})})}),(0,v.jsx)(m.Hz,{scrollBehaviour:g,children:(0,v.jsx)(y.Z,{navigationStrategy:o,handleSearchChange:function(e){e.query&&e.query.hasUserChanges?(i(!0),t("/docs/"),a(r)):(0,b.Z)(r)&&S()},emitAction:c,openFileDialog:s,searchMode:n,docsKey:k})})]})};var j={loadBreadcrumbs:c.ri,setSearchMode:c.Vb,emitAction:function(e){return i.Z.dispatchEmittedAction(e)},openFileDialog:a.G3};const O=(0,s.U)((0,o.connect)((function(e){return{searchMode:e.docs.path.searchMode,navigationStrategy:e.input.navigationStrategy,noLeftPadding:e.input.noLeftPadding,scrollBehaviour:e.input.scrollBehaviour}}),j)((0,n.ZP)(g)))},55365:(e,t,r)=>{r.d(t,{Hz:()=>f,SD:()=>u,nC:()=>d});var n,o,i,a=r(28655),c=r.n(a),s=r(38205),l=r(11347),u=s.ZP.div.withConfig({displayName:"StyledWrapper"})(n||(n=c()(["\n display: grid;\n grid-template-rows: auto 1fr;\n grid-template-areas:\n 'breadcrumbs'\n 'content';\n ","\n width: 100%;\n"])),(function(e){return"inline"===e.scrollBehaviour&&"height: 100%;"})),f=s.ZP.div.withConfig({displayName:"StyledContent"})(o||(o=c()(["\n grid-area: content;\n ","\n ","\n"])),(function(e){return"inline"===e.scrollBehaviour&&"overflow-x: hidden;"}),l.C),d=s.ZP.div.withConfig({displayName:"StyledBreadcrumbs"})(i||(i=c()(["\n grid-area: breadcrumbs;\n ","\n"])),(function(e){return e.noLeftPadding&&"\n > div {\n padding-left: 0;\n }\n "}))},27920:(e,t,r)=>{r.d(t,{Z:()=>P});var n,o,i=r(74806),a=r(50558),c=r(87578),s=r(20247),l=r(63038),u=r.n(l),f=r(1024),d=r.n(f),p=r(50258),b=r(88162),h=r(29441),y=r(93205),m=r(10683),v=r(46002),g=r(75130),j=r(85893),O=d().lazy((function(){return Promise.all([r.e(504),r.e(85),r.e(240),r.e(141)]).then(r.bind(r,77840))}));const w=function(e){var t=e.domainTypes,r=e.rootNodes,i=e.navigationStrategy,a=e.changeListParent,c=e.onSearchChange,s=e.emitAction,l=e.openFileDialog,d=e.limit,w=e.searchFormType,x=e.selectionStyle,P=e.selection,Z=e.selectionFilterFn,S=e.getCustomLocation,k=e.disableViewPersistor,E=e.getListFormName,D=e.domainDetailFormName,C=e.folderDetailFormName,F=e.showActions,A=e.scrollBehaviour,N=e.sortable,I=e.searchMode,T=e.openResource,R=e.searchFormCollapsed,L=e.locale,B=e.changeSelection,_=e.changeSearchFormCollapsed,M=e.params,z=e.navigate,V=e.path,W=(0,f.useReducer)((function(e){return e+1}),0),H=u()(W,2),q=H[0],$=H[1],U="entity-list-".concat(q),Y=(0,f.useState)([]),G=u()(Y,2),K=G[0],J=G[1],Q=P||K,X=(0,f.useMemo)((function(){return function(e){if(e&&e.model){var t=e.model.charAt(0).toUpperCase()+e.model.slice(1),r=e.key;return{model:"Docs_list_item",key:"".concat(t,"/").concat(r)}}return null}(M)}),[M]),ee=!X&&r?r.map((function(e){return"".concat(e.entityName,"/").concat(e.key)})):null,te=(0,f.useMemo)((function(){return E?E(X,ee):function(e,t){return e?"Docs_list_item":t?"Root_docs_list_item_specific":"Root_docs_list_item"}(X,ee)}),[X,ee,E]),re=(0,f.useRef)(!1),ne=(0,f.useRef)(I),oe=(0,f.useRef)(V);ne.current=I,oe.current=V,(0,f.useEffect)((function(){return re.current=!0,function(){return re.current=!1}})),(0,f.useEffect)((function(){a(X),J([])}),[X,a]);var ie=function(e){J(e),B(e)},ae=function(){if(!h.Z.viewInfoSelector("search").store){var e=h.Z.viewInfoSelector(U).store;h.Z.persistViewInfo("search",{store:e})}$()},ce=X||ee?null:function(e){return Array.isArray(e)&&e.length>0?"exists(relDomain_type where IN(unique_id, ".concat(e.map((function(e){return'"'.concat(e,'"')})).join(","),"))"):null}(t),se=function(){if(!k)return(0,y.Z)(V)?h.Z.viewInfoSelector("search").store:null}();return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(f.Suspense,{fallback:n||(n=(0,j.jsx)(p.Z,{})),children:(0,j.jsx)(O,{id:"documents",entityName:"Docs_list_item",formName:te,searchListFormName:"Search_docs_list_item",limit:d||25,onRowClick:function(e){var t=e.id;I&&(0,y.Z)(V)&&ae();var r=t.split("/"),n=u()(r,2),o=n[0],i=n[1],a=S?S(o,i):function(e,t){switch(e){case"Domain":return"/docs/domain/".concat(t,"/list");case"Folder":return"/docs/folder/".concat(t,"/list");case"Resource":return"/docs/doc/".concat(t,"/detail");default:throw new Error("Unexpected model: ".concat(e))}}(o,i);a?T&&"Resource"===o?T(a):z(a):ie([t])},searchFormPosition:"left",searchFormType:w||"admin",parent:X,onSearchChange:function(e){re.current&&(e.query&&e.query.hasUserChanges&&ae(),c(e))},store:se,onStoreCreate:function(e){k||h.Z.persistViewInfo(U,{store:e})},cellRenderers:{"dms-label-with-icon":function(e,t,r){return(0,j.jsxs)(g.H,{children:[(0,j.jsx)(g.M,{children:(0,j.jsx)(b.Z,{icon:e.icon})}),(0,j.jsx)("span",{children:r(t.children[0])})]})},"dms-actions":function(e,t,r){return(0,j.jsx)(g.H,{children:t.children.filter((function(t){return!t.dmsEntityModel||t.dmsEntityModel===e.type})).map((function(e){return r(e)}))})}},emitAction:s,actionAppComponent:m.Z,contextParams:{detailFormNames:{Domain:D,Folder:C}},customActions:{"upload-document":function(e,t,r,n,o,i,a){l(!1,i,a)},"upload-directory":function(e,t,r,n,o,i,a){l(!0,i,a)}},navigationStrategy:i,tql:ce,keys:ee,selectionStyle:x||"multi_explicit",onSelectChange:ie,selection:Q,selectionFilterFn:Z,showActions:F,sortable:N,searchFormCollapsed:R,scrollBehaviour:A,onSearchFormCollapsedChange:_,locale:L},U)}),o||(o=(0,j.jsx)(v.Z,{}))]})};var x={changeListParent:c.C,changeSelection:c.Wp,changeSearchFormCollapsed:c.S7};const P=(0,s.U)((0,a.connect)((function(e){return{domainTypes:e.input.domainTypes,rootNodes:e.input.rootNodes,limit:e.input.listLimit,searchFormType:e.input.searchFormType,selectionStyle:e.input.selectionStyle,selectionFilterFn:e.input.selectionFilterFn,getCustomLocation:e.input.getCustomLocation,disableViewPersistor:e.input.disableViewPersistor,getListFormName:e.input.getListFormName,domainDetailFormName:e.input.domainDetailFormName,folderDetailFormName:e.input.folderDetailFormName,showActions:e.input.showActions,sortable:e.input.sortable,openResource:e.input.openResource,searchFormCollapsed:e.input.searchFormCollapsed,scrollBehaviour:e.input.scrollBehaviour,selection:e.input.selection,locale:e.intl.locale}}),x)((0,i.ZP)(w)))},75130:(e,t,r)=>{r.d(t,{H:()=>l,M:()=>u});var n,o,i=r(28655),a=r.n(i),c=r(38205),s=r(7281),l=c.ZP.div.withConfig({displayName:"StyledContentWrapper"})(n||(n=a()(["\n display: flex;\n align-items: center;\n"]))),u=c.ZP.span.withConfig({displayName:"StyledIconWrapper"})(o||(o=a()(["\n font-size: ",";\n display: inline-block;\n margin-right: ",";\n"])),s.Z.font(1),s.Z.space(-2))},51811:(e,t,r)=>{r.d(t,{Z:()=>m});var n,o=r(74806),i=r(50558),a=r(50600),c=r(20247),s=r(1024),l=r.n(s),u=r(50258),f=r(10683),d=r(63401),p=r(85893),b=l().lazy((function(){return Promise.all([r.e(504),r.e(85),r.e(240),r.e(107),r.e(141)]).then(r.bind(r,82445))}));const h=function(e){var t=e.breadcrumbs,r=e.formName,o=e.navigationStrategy,i=e.locale,a=e.emitAction,c=e.navigate,l=e.params;return(0,p.jsx)(d.B,{children:(0,p.jsx)(s.Suspense,{fallback:n||(n=(0,p.jsx)(u.Z,{})),children:(0,p.jsx)(b,{entityName:"Resource",entityId:l.key,formName:r||"DmsResource",mode:"update",actionAppComponent:f.Z,navigationStrategy:o,emitAction:a,onEntityDeleted:function(){var e=t.slice().reverse().find((function(e){return"list"===e.type})),r="/docs/".concat(e.path);c(r)},locale:i})})})};var y={emitAction:function(e){return a.Z.dispatchEmittedAction(e)}};const m=(0,c.U)((0,i.connect)((function(e){return{breadcrumbs:e.docs.path.breadcrumbs,formName:e.input.documentDetailFormName,locale:e.intl.locale}}),y)((0,o.ZP)(h)))},63401:(e,t,r)=>{r.d(t,{B:()=>l});var n,o=r(28655),i=r.n(o),a=r(38205),c=r(88601),s=r(7281),l=a.ZP.div.withConfig({displayName:"StyledDocumentViewWrapper"})(n||(n=i()(["\n height: 100%;\n background-color: ",";\n padding-left: ",";\n overflow-y: hidden;\n"])),c.Z.color("paper"),s.Z.space(.5))},46002:(e,t,r)=>{r.d(t,{Z:()=>b});var n=r(50558),o=r(32388),i=r(20247),a=r(59713),c=r.n(a),s=r(1024),l=r(35997),u=r(85893);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const d=function(e){var t=e.instanceCount,r=e.directory,n=e.onChange,o=e.path,i=(0,s.useRef)(),a=l.Z.usePrevious(t);(0,s.useEffect)((function(){i.current&&t>a&&i.current.click()}));return(0,u.jsx)("input",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({type:"file",ref:i,style:{display:"none"},onChange:function(e){var t=e.target.files;t&&t.length>0&&n&&n(o,t,r),e.target.value=null},multiple:!0},r?{webkitdirectory:"true",directory:"true"}:{}))};var p={onChange:o.kJ};const b=(0,i.U)((0,n.connect)((function(e){return{instanceCount:e.docs.create.dialog.instanceCount,directory:e.docs.create.dialog.directory}}),p)(d))},46169:(e,t,r)=>{r.d(t,{l2:()=>yt,ZP:()=>ht});var n,o,i,a=r(59713),c=r.n(a),s=r(52540),l=r(45697),u=r.n(l),f=r(50600),d=r(79013),p=r(87533),b=r(22731),h=r(19743),y=r(19241),m=r(30604),v=r(81749),g=r(13025),j=r(46200),O=r(65378),w=r(23369),x=r(1024),P=r(79311),Z=r(1317),S=r(63344),k=r(85893);const E=(0,Z.w)((function(e){var t=e.handleNotifications,r=e.rootPath,a=e.navigate,c=e.path;return(0,x.useEffect)((function(){(!c||"/"===c||"/docs"===c)&&r!==c&&a(r)}),[r,c,a]),(0,k.jsxs)(k.Fragment,{children:[t&&(n||(n=(0,k.jsx)(m.Z.Notifications,{}))),o||(o=(0,k.jsx)(P.Z,{})),i||(i=(0,k.jsx)(S.Z,{}))]})}));var D,C,F,A=r(56746);const N=function(e){var t=e.rootPath,r=e.handleNotifications;return(0,k.jsxs)(k.Fragment,{children:[r&&(D||(D=(0,k.jsx)(m.Z.Notifications,{}))),C||(C=(0,k.jsx)(P.Z,{})),F||(F=(0,k.jsx)(S.Z,{})),(0,k.jsx)(A.AW,{exact:!0,path:"/",children:(0,k.jsx)(A.l_,{to:t})}),"/docs"!==t&&(0,k.jsx)(A.AW,{exact:!0,path:"/docs",children:(0,k.jsx)(A.l_,{to:t})})]})};var I,T,R;const L=function(e){var t=e.rootPath,r=e.handleNotifications,n=e.history;return(0,k.jsxs)(A.F0,{history:n,children:[r&&(I||(I=(0,k.jsx)(m.Z.Notifications,{}))),T||(T=(0,k.jsx)(P.Z,{})),R||(R=(0,k.jsx)(S.Z,{})),(0,k.jsx)(A.AW,{exact:!0,path:"/",children:(0,k.jsx)(A.l_,{to:t})}),"/docs"!==t&&(0,k.jsx)(A.AW,{exact:!0,path:"/docs",children:(0,k.jsx)(A.l_,{to:t})})]})};var B=r(15857),_=r(87757),M=r.n(_),z=r(34857),V=r(32401),W=r(81719),H=r(44759),q=r(28721),$=r(80722),U=r(32388);function Y(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return G(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var K=M().mark(te),J=M().mark(re),Q=M().mark(ne),X=function(e){return e.docs.create.dialog},ee=function(e,t){return e.intl.messages[t]};function te(e){var t,r,n,o,i,a,c,s,l,u,f,d;return M().wrap((function(p){for(;;)switch(p.prev=p.next){case 0:return t=e.payload,r=t.location,n=t.files,o=t.isDirectory,p.next=3,(0,z.RE)(q.Z);case 3:return i=p.sent,a="client.docs-browser.uploadInProgress",o?a="client.docs-browser.uploadInProgressDirectory":n.length>1&&(a="client.docs-browser.uploadInProgressMultiple"),p.next=8,(0,z.gz)(m.Z.blockingInfo(i,a,null));case 8:return p.next=10,(0,z.Ys)(X);case 10:return c=p.sent,s=c.onSuccess,l=c.onError,p.prev=13,p.next=16,(0,z.RE)(re,r,n);case 16:if(403!==(u=p.sent).status){p.next=31;break}return p.next=20,(0,z.gz)(m.Z.removeBlockingInfo(i));case 20:return p.t0=l,p.next=23,(0,z.Ys)(ee,"client.entity-detail.saveAbortedTitle");case 23:return p.t1=p.sent,p.next=26,(0,z.Ys)(ee,"client.docs-browser.failedNoPermission");case 26:p.t2=p.sent,p.t3={title:p.t1,message:p.t2},(0,p.t0)(p.t3),p.next=56;break;case 31:if(413!==u.status){p.next=45;break}return p.next=34,(0,z.gz)(m.Z.removeBlockingInfo(i));case 34:return p.t4=l,p.next=37,(0,z.Ys)(ee,"client.entity-detail.saveAbortedTitle");case 37:return p.t5=p.sent,p.next=40,(0,z.Ys)(ee,"client.docs-browser.failedTooLarge");case 40:p.t6=p.sent,p.t7={title:p.t5,message:p.t6},(0,p.t4)(p.t7),p.next=56;break;case 45:return f=[{type:"entity-create-event",payload:{entities:u.body.items.filter((function(e){return 201===e.status})).map((function(e){return{entityName:e.bean.model,key:e.bean.key}}))}}],p.next=48,(0,z.gz)(m.Z.removeBlockingInfo(i));case 48:return d=o?"client.docs-browser.uploadSuccessfulDirectory":"client.docs-browser.uploadSuccessful",p.t8=s,p.next=52,(0,z.Ys)(ee,d);case 52:p.t9=p.sent,p.t10=f,p.t11={title:p.t9,remoteEvents:p.t10},(0,p.t8)(p.t11);case 56:p.next=69;break;case 58:return p.prev=58,p.t12=p.catch(13),H.Z.logError("Failed to upload files",p.t12),p.next=63,(0,z.gz)(m.Z.removeBlockingInfo(i));case 63:return p.t13=l,p.next=66,(0,z.Ys)(ee,"client.docs-browser.uploadFailed");case 66:p.t14=p.sent,p.t15={title:p.t14},(0,p.t13)(p.t15);case 69:case"end":return p.stop()}}),K,null,[[13,58]])}function re(e,t){var r,n,o,i,a,c,s;return M().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r=(0,$.Z)(e)){l.next=3;break}return l.abrupt("return");case 3:n=new FormData,o=Y(t);try{for(o.s();!(i=o.n()).done;)a=i.value,n.append("files[]",a)}catch(e){o.e(e)}finally{o.f()}return c="documents/".concat(r.model,"/").concat(r.key),s={method:"POST",body:n,acceptedStatusCodes:[403,413]},l.next=10,(0,z.RE)(W.Z.requestSaga,c,s);case 10:return l.abrupt("return",l.sent);case 11:case"end":return l.stop()}}),J)}function ne(){return M().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.ib)(U.H$,te)]);case 2:case"end":return e.stop()}}),Q)}var oe=M().mark(ie);function ie(){return M().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.rM)(ne)]);case 2:case"end":return e.stop()}}),oe)}const ae=V.Z;var ce=r(87578),se=M().mark(de),le=M().mark(pe),ue=M().mark(be),fe=M().mark(he);function de(e){var t;return M().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.next=3,(0,z.gz)(y.Z.fireExternalEvent("onListParentChange",t.parent));case 3:case"end":return r.stop()}}),se)}function pe(e){var t;return M().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.next=3,(0,z.gz)(y.Z.fireExternalEvent("onSelectChange",t.selection));case 3:case"end":return r.stop()}}),le)}function be(e){var t;return M().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.next=3,(0,z.gz)(y.Z.fireExternalEvent("onSearchFormCollapsedChange",t.collapsed));case 3:case"end":return r.stop()}}),ue)}function he(){return M().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.Fm)(ce.sI,de),(0,z.Fm)(ce.Ap,pe),(0,z.Fm)(ce.Sv,be)]);case 2:case"end":return e.stop()}}),fe)}var ye=r(97223),me=r(6756),ve=r(30081),ge=M().mark(Pe),je=M().mark(Ze),Oe=M().mark(Se),we=function(e){return e.docs.move.input},xe=function(e,t){return e.intl.messages[t]};function Pe(e){var t,r,n,o,i,a;return M().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=e.payload,r="documents/move",n={method:"POST",acceptedStatusCodes:[400,403],body:{targetEntityKey:t.target,selectedEntityKeys:t.selected}},c.next=5,(0,z.gz)(ve.p0(!0));case 5:return c.next=7,(0,z.RE)(W.Z.requestSaga,r,n);case 7:if(204!==(o=c.sent).status){c.next=13;break}return c.next=11,(0,z.RE)(Ze);case 11:c.next=20;break;case 13:return c.next=15,(0,z.gz)(ve.p0(!1));case 15:return a="client.actions.dms-move.failed.message","VALIDATION_FAILED"===(null===(i=o.body)||void 0===i?void 0:i.errorCode)&&(a=me.Z.getErrorCompact(o.body.errors)),403===o.status&&(a="client.docs-browser.failedNoPermission"),c.next=20,(0,z.gz)(m.Z.toaster({type:"error",title:"client.actions.dms-move.failed.title",body:a}));case 20:case"end":return c.stop()}}),ge)}function Ze(){var e,t,r,n;return M().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,z.Ys)(we);case 2:return e=o.sent,t=e.selection,r=e.onSuccess,n=[{type:"entity-update-event",payload:{entities:t.ids.map((function(e){return{entityName:"Docs_list_item",key:e}}))}}],o.t0=r,o.next=9,(0,z.Ys)(xe,"client.docs-browser.moveSuccessful");case 9:return o.t1=o.sent,o.t2=n,o.t3={title:o.t1,remoteEvents:o.t2},(0,o.t0)(o.t3),o.next=15,(0,z.gz)(ve.xv());case 15:case"end":return o.stop()}}),je)}function Se(){return M().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.Fm)(ve.uI,Pe)]);case 2:case"end":return e.stop()}}),Oe)}var ke=M().mark(Ee);function Ee(){return M().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.rM)(Se)]);case 2:case"end":return e.stop()}}),ke)}const De=ye.Z;var Ce=r(60955),Fe=r(97876),Ae=M().mark(_e),Ne=M().mark(Me),Ie=M().mark(ze),Te=M().mark(Ve),Re=function(e,t){return e.intl.messages[t]||t},Le=function(e){return e.docs.path},Be=function(e){return e.input.rootNodes};function _e(){return M().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.Ys)(Re,"client.docs-browser.breadcrumbs.start");case 2:return e.t0=e.sent,e.t1={display:e.t0,path:"",type:"list"},e.next=6,(0,z.Ys)(Re,"client.docs-browser.breadcrumbs.searchResults");case 6:return e.t2=e.sent,e.t3={display:e.t2,path:"",type:"list"},e.abrupt("return",[e.t1,e.t3]);case 9:case"end":return e.stop()}}),Ae)}function Me(e){var t,r,n,o,i,a;return M().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=e.payload.location,r=(0,$.Z)(t),c.next=4,(0,z.Ys)(Le);case 4:if(!c.sent.searchMode||r){c.next=11;break}return c.next=8,(0,z.RE)(_e);case 8:n=c.sent,c.next=21;break;case 11:return o=r?"documents/".concat(r.model,"/").concat(r.key,"/breadcrumbs"):"documents/breadcrumbs",c.next=14,(0,z.RE)(ze);case 14:return c.t0=c.sent,c.t1={rootnodes:c.t0},i={queryParams:c.t1},c.next=19,(0,z.RE)(W.Z.requestSaga,o,i);case 19:a=c.sent,n=a.body.breadcrumbs;case 21:return c.next=23,(0,z.gz)(Fe.pz(n));case 23:case"end":return c.stop()}}),Ne)}function ze(){var e;return M().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,z.Ys)(Be);case 2:return e=t.sent,t.abrupt("return",Array.isArray(e)&&e.length>0?e.map((function(e){return"".concat(e.entityName,"/").concat(e.key)})).join(","):null);case 4:case"end":return t.stop()}}),Ie)}function Ve(){return M().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.Fm)(Fe.jK,Me)]);case 2:case"end":return e.stop()}}),Te)}var We=M().mark(He);function He(){return M().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.rM)(Ve)]);case 2:case"end":return e.stop()}}),We)}const qe=Ce.Z;var $e=r(77917),Ue=r(90655);function Ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r(81770),r(24688),r(16274),r(74397);var Ke=r(25460);Ke.Z;const Je=function(e,t){var r=[],n=(0,Ue.Bo)(e,r).exec(t);return null!==n?r.reduce((function(e,t,r){return Ge(Ge({},e),{},c()({},t.name,n[r+1]))}),{}):null};var Qe=r(40602),Xe=M().mark(tt),et=M().mark(rt);function tt(e){var t,r;return M().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload.path,r=Je("/docs/:model/:key/:view(list|detail)",t)||{},n.next=4,(0,z.gz)(Qe.PX(r));case 4:case"end":return n.stop()}}),Xe)}function rt(){return M().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.Fm)(Qe.RK,tt)]);case 2:case"end":return e.stop()}}),et)}var nt=M().mark(ot);function ot(){return M().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,z.$6)([(0,z.rM)(rt)]);case 2:case"end":return e.stop()}}),nt)}const it=$e.Z,at={docs:(0,B.UY)({path:qe,create:ae,move:De,routing:it})};var ct=[He,ie,he,Ee,ot];function st(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function lt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?st(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ut="docs-browser",ft=["onListParentChange","openResource","onSelectChange","onSearchFormCollapsedChange"],dt=function(e){var t=e.routerType,r=e.store,n=e.rootPath,o=e.handleNotifications;if("routerless"===t)return(0,k.jsx)(E,{rootPath:n,handleNotifications:o});if("inherit"===t)return(0,k.jsx)(N,{rootPath:n,handleNotifications:o});var i=function(e){return(0,s.Z)({getUserConfirmation:function(t,r){var n,o,i=(n=e.getState(),o="client.common.ok",n.intl.messages[o]||o),a=m.Z.confirm("",t,i,(function(){return r(!0)}),(function(){return r(!1)}));e.dispatch(a)}})}(r);return(0,k.jsx)(L,{history:i,rootPath:n,handleNotifications:o})},pt=function(e,t,r,n){var o=d.Z.createStore(at,ct,lt(lt({},{scrollBehaviour:"inline"}),t),ut);w.Z.setInputEnvs(t),y.Z.addToStore(o,(function(e){return d.Z.getEvents(ft,e.input)})),f.Z.addToStore(o),p.Z.dynamicActionsAddToStore(o),h.Z.addToStore(o,!0,["console","remote","notification"]);var i=!r.emitAction;m.Z.addToStore(o,i),b.Z.addToStore(o);var a=Array.isArray(t.rootNodes)&&1===t.rootNodes.length&&"Resource"!==t.rootNodes[0].entityName?t.rootNodes[0]:null,c=a?"/docs/".concat(a.entityName.toLowerCase(),"/").concat(a.key,"/list"):"/docs",s=dt({routerType:t.routerType,store:o,rootPath:c,handleNotifications:i});return d.Z.createApp(ut,s,o,{input:t,events:r,actions:[(0,Qe.c4)(t.initialLocation)],publicPath:n,textResourceModules:["component","common","actions","entity-list","entity-detail",ut]})},bt=function(e){return d.Z.useApp({initApp:pt,props:e,packageName:ut,externalEvents:ft}).component};bt.propTypes=lt({routerType:u().oneOf(["standalone","inherit","routerless"]),navigationStrategy:u().object,domainTypes:u().arrayOf(u().string),rootNodes:u().arrayOf(u().shape({entityName:u().string,key:u().string})),initialLocation:u().string,listLimit:u().number,documentDetailFormName:u().string,searchFormType:v.b,selectionStyle:g.l,selectionFilterFn:u().func,selection:u().arrayOf(u().string),scrollBehaviour:j.a,getListFormName:u().func,disableViewPersistor:u().bool,getCustomLocation:u().func,businessUnit:u().string,searchFormCollapsed:u().bool,backendUrl:u().string,appContext:O.Z.propTypes},ft.reduce((function(e,t){return e[t]=u().func,e}),{}));const ht=bt;var yt=d.Z.createBundleableApp(ut,pt,bt)},32388:(e,t,r)=>{r.d(t,{G3:()=>i,H$:()=>o,kJ:()=>a,nb:()=>n});var n="docs/create/OPEN_DIALOG",o="docs/create/FILES_SELECTED",i=function(e,t,r){return{type:n,payload:{directory:e,onSuccess:t,onError:r}}},a=function(e,t,r){return{type:o,payload:{location:e,files:t,isDirectory:r}}}},32401:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(59713),o=r.n(n),i=r(32388);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=o()({},i.nb,(function(e,t){var r=t.payload,n=r.directory,o=r.onSuccess,i=r.onError;return c(c({},e),{},{dialog:{instanceCount:e.dialog.instanceCount+1,directory:n,onSuccess:o,onError:i}})})),l={dialog:{instanceCount:0,directory:!1,onSuccess:null,onError:null}};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0,r=s[t.type];return r?r(e,t):e}},87578:(e,t,r)=>{r.d(t,{Ap:()=>o,C:()=>a,S7:()=>s,Sv:()=>i,Wp:()=>c,sI:()=>n});var n="docs/list/CHANGE_LIST_PARENT",o="docs/list/CHANGE_SELECTION",i="docs/list/CHANGE_SEARCH_FORM_COLLAPSED",a=function(e){return{type:n,payload:{parent:e}}},c=function(e){return{type:o,payload:{selection:e}}},s=function(e){return{type:i,payload:{collapsed:e}}}},30081:(e,t,r)=>{r.d(t,{F$:()=>a,FV:()=>i,j2:()=>c,p0:()=>l,qh:()=>n,uI:()=>o,w6:()=>s,xv:()=>u});var n="docs/move/INITIALIZE",o="docs/move/MOVE_ELEMENTS",i="docs/move/SET_WAITING",a="docs/move/CLOSE",c=function(e,t,r){return{type:n,payload:{selection:e,onSuccess:t,onError:r}}},s=function(e,t){return{type:o,payload:{target:e,selected:t}}},l=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:i,payload:{isWaiting:e}}},u=function(){return{type:a}}},97223:(e,t,r)=>{r.d(t,{Z:()=>d});var n,o=r(59713),i=r.n(o),a=r(81770),c=r(30081);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=(n={},i()(n,c.qh,(function(e,t){var r=t.payload,n=r.selection,o=r.onSuccess,i=r.onError;return l(l({},e),{},{input:{selection:n,onSuccess:o,onError:i}})})),i()(n,c.FV,a.Z.singleTransferReducer("isWaiting")),i()(n,c.F$,(function(){return l({},f)})),n),f={isWaiting:!1,input:{selection:null,onSuccess:null,onError:null}};function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0,r=u[t.type];return r?r(e,t):e}},97876:(e,t,r)=>{r.d(t,{VD:()=>i,Vb:()=>s,Xc:()=>o,jK:()=>n,pz:()=>c,ri:()=>a});var n="docs/path/LOAD_BREADCRUMBS",o="docs/path/SET_BREADCRUMBS",i="docs/path/SET_SEARCH_MODE",a=function(e){return{type:n,payload:{location:e}}},c=function(e){return{type:o,payload:{breadcrumbs:e}}},s=function(e){return{type:i,payload:{searchMode:e}}}},60955:(e,t,r)=>{r.d(t,{Z:()=>u});var n,o=r(59713),i=r.n(o),a=r(81770),c=r(97876),s=(n={},i()(n,c.Xc,a.Z.singleTransferReducer("breadcrumbs")),i()(n,c.VD,a.Z.singleTransferReducer("searchMode")),n),l={breadcrumbs:[],searchMode:!1};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0,r=s[t.type];return r?r(e,t):e}},40602:(e,t,r)=>{r.d(t,{PX:()=>a,RK:()=>n,Sb:()=>o,c4:()=>i});var n="docs/routing/NAVIGATE",o="docs/routing/SET_PARAMS",i=function(e){return{type:n,payload:{path:e||""}}},a=function(e){return{type:o,payload:{params:e}}}},77917:(e,t,r)=>{r.d(t,{Z:()=>u});var n,o=r(59713),i=r.n(o),a=r(81770),c=r(40602),s=(n={},i()(n,c.RK,a.Z.singleTransferReducer("path")),i()(n,c.Sb,a.Z.singleTransferReducer("params")),n),l={path:"",params:{}};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0,r=s[t.type];return r?r(e,t):e}},80722:(e,t,r)=>{r.d(t,{Z:()=>i});var n=/^\/docs\/doc\/(\d+)\/detail$/,o=/^\/docs\/(domain|folder)\/(\d+)\/list$/;const i=function(e){return function(e){var t=n.exec(e);return t&&t.length>=2?{model:"Resource",key:t[1]}:null}(e)||function(e){var t=o.exec(e);return t&&t.length>=3?{model:t[1].charAt(0).toUpperCase()+t[1].slice(1),key:t[2]}:null}(e)}},93205:(e,t,r)=>{r.d(t,{Z:()=>o});var n=/^\/docs\/?$/;const o=function(e){return n.test(e)}},1317:(e,t,r)=>{r.d(t,{C:()=>p,w:()=>d});var n=r(59713),o=r.n(n),i=r(50558);if(/^(763|947)$/.test(r.j))var a=r(56746);var c=r(40602),s=r(85893);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f={navigate:c.c4,listenHistory:function(){return function(){}}},d=(0,i.connect)((function(e){return{path:e.docs.routing.path,params:e.docs.routing.params}}),f),p=function(e){return function(t){var r=(0,a.TH)(),n=(0,a.k6)(),o=(0,a.UO)();return(0,s.jsx)(e,u(u({},t),{},{path:r.pathname,navigate:n.push,params:o,listenHistory:n.listen}))}}},20247:(e,t,r)=>{r.d(t,{U:()=>b});var n=r(59713),o=r.n(n),i=r(6479),a=r.n(i),c=r(50558);if(/^(763|947)$/.test(r.j))var s=r(1317);var l=r(85893),u=/^(763|947)$/.test(r.j)?["compProviderRouterType"]:null;function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=function(e){return{compProviderRouterType:e.input.routerType}},b=function(e){var t=e.routerless,r=e.router,n=t?(0,s.w)(t):(0,s.w)(e),o=r?(0,s.C)(r):(0,s.C)(e);return(0,c.connect)(p)((function(e){var t=e.compProviderRouterType,r=a()(e,u);return"routerless"===t?(0,l.jsx)(n,d({},r)):(0,l.jsx)(o,d({},r))}))}},76330:(e,t,r)=>{r.d(t,{Z:()=>a});var n=r(1024);if(947==r.j)var o=r(87533);var i={copy:(0,n.lazy)((function(){return Promise.all([r.e(141),r.e(85),r.e(107)]).then(r.bind(r,12751))})),delete:(0,n.lazy)((function(){return Promise.all([r.e(141),r.e(85),r.e(107)]).then(r.bind(r,32454))})),export:(0,n.lazy)((function(){return Promise.all([r.e(141),r.e(85),r.e(107)]).then(r.bind(r,23458))})),"input-edit":(0,n.lazy)((function(){return Promise.all([r.e(141),r.e(85),r.e(107)]).then(r.bind(r,93137))})),"subscribe-calendar":(0,n.lazy)((function(){return Promise.all([r.e(141),r.e(85),r.e(107)]).then(r.bind(r,80634))})),"mailing-list-mail-action":(0,n.lazy)((function(){return Promise.all([r.e(141),r.e(85),r.e(107)]).then(r.bind(r,67565))})),"event-registration-action":(0,n.lazy)((function(){return Promise.all([r.e(141),r.e(85),r.e(107)]).then(r.bind(r,96699))}))};const a=947==r.j?function(e){return o.Z.actionFactory(i,e)}:null},2621:(e,t,r)=>{r.d(t,{Z:()=>w});var n=r(27361),o=r.n(n),i=r(74806),a=r(50558),c=r(19241),s=r(75354),l=r(59713),u=r.n(l),f=r(6479),d=r.n(f),p=r(1024),b=r(79981),h=r(86926),y=r(76330),m=r(85893),v=["fireVisibilityStatusChangeEvent"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const j=function(e){var t=e.fireVisibilityStatusChangeEvent,r=d()(e,v),n=r.router,o=n.history,i=n.location,a=n.match,c=r.customActionEventHandlers;(0,p.useEffect)((function(){t([h.K.fullscreenAction])}),[t]);var s=function(){var e=i.state.originUrl||"/";o.replace(e)},l=(0,y.Z)(c);return(0,m.jsx)(l,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({appId:a.params.appId,onSuccess:s,onError:s,onCancel:s,navigationStrategy:(0,b.Z)(o,a)},r))};var O={fireVisibilityStatusChangeEvent:c.Z.fireVisibilityStatusChangeEvent};const w=(0,a.connect)((function(e,t){var r=s.Z.fromQueryString(t.router.location.search);return{selection:o()(t.router.location,"state.selection",r.selection),actionProperties:o()(t.router.location,"state.definition.properties",r.actionProperties),locale:e.intl.locale,customActionEventHandlers:e.input.customActionEventHandlers}}),O)((0,i.ZP)(j))},53524:(e,t,r)=>{if(r.d(t,{Z:()=>f}),947==r.j)var n=r(56746);if(947==r.j)var o=r(30604);if(947==r.j)var i=r(2621);if(947==r.j)var a=r(29036);if(947==r.j)var c=r(97065);if(947==r.j)var s=r(92259);var l,u=r(85893);const f=947==r.j?function(){return(0,u.jsxs)(s.Z,{children:[l||(l=(0,u.jsx)(o.Z.Notifications,{})),(0,u.jsxs)(n.rs,{children:[(0,u.jsx)(n.AW,{path:"/",exact:!0,render:function(e){return(0,u.jsx)(c.Z,{router:e})}}),(0,u.jsx)(n.AW,{path:"/detail/:entityId*",render:function(e){return(0,u.jsx)(a.Z,{router:e})}}),(0,u.jsx)(n.AW,{path:"/action/:appId*",render:function(e){return(0,u.jsx)(i.Z,{router:e})}})]})]})}:null},92259:(e,t,r)=>{r.d(t,{Z:()=>u});var n,o=r(28655),i=r.n(o),a=r(38205),c=r(88601),s=r(7281),l=a.ZP.div.withConfig({displayName:"StyledEntityBrowser"})(n||(n=i()(["\n && {\n background-color: ",";\n padding: ",";\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n }\n"])),c.Z.color("paper"),s.Z.space(0));const u=947==r.j?l:null},83432:(e,t,r)=>{if(r.r(t),r.d(t,{default:()=>o}),947==r.j)var n=r(53524);const o=947==r.j?n.Z:null},8157:(e,t,r)=>{if(r.d(t,{m:()=>i}),947==r.j)var n=r(60558);var o=r(85893),i=function(e){var t=e.currentKey,r=e.entityKey,i=e.children,a=e.relation;return(0,o.jsx)(n.Z,{to:"".concat(t,"/").concat(a,"/").concat(r),children:i})}},12813:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(74806),o=r(50558),i=r(50600),a=r(19241),c=r(6766),s=r(1024),l=r(46169),u=r(51272),f=r(34240),d=r(10129),p=r(42756),b=r(79981),h=r(86926),y=r(76330),m=r(75285),v=r(85893);const g=function(e){var t=e.loadDetailParams,r=e.router,n=e.setFormTouched,o=e.clearDetailParams,i=e.detailParams,a=e.appId,c=e.intl,g=e.dispatchEmittedAction,j=e.formTouched,O=e.locale,w=e.reportIds,x=e.fireVisibilityStatusChangeEvent,P=e.scrollBehaviour,Z=e.customActionEventHandlers;(0,s.useEffect)((function(){return t(r.match.url),n(!1),function(){o()}}),[o,t,r.match.url,n]),(0,s.useEffect)((function(){x([h.K.detail])}),[x]);var S,k,E,D,C,F=function(e){return c.formatMessage({id:e})},A=function(e){var t=e.id,n=e.relationName;r.history.push("".concat(r.match.url,"/").concat(n,"/").concat(t))},N=function(e){var t=e.id;n(!1);var o=r.match.url,i="/"!==o.substr(-1)?o+"/":o;r.history.push(i+t)},I=function(e){var t=e.touched;n(t)},T=function(){r.history.push(i.parentUrl)},R={back:function(){return(0,v.jsx)(d.Z,{onClick:T,label:F("client.entity-browser.back")})}};return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(p.Z,{when:j,message:F("client.entity-browser.detail.confirmTouchedFormLeave")}),i&&(0,v.jsx)(v.Fragment,{children:(S=i,k=S.entityName,E=S.entityId,D=S.formName,C=S.mode,(0,v.jsx)(u.ZP,{id:"".concat(a,"_detail_").concat(D,"_").concat(E),entityName:k,entityId:E,formName:D,mode:C,navigationStrategy:(0,b.Z)(r.history,r.match,E),onSubGridRowClick:A,onEntityCreated:N,onEntityDeleted:T,onTouchedChange:I,emitAction:function(e){g(e)},theme:{},locale:O,modifyFormDefinition:function(t,r){return(0,m.C)(t,r,e)},actionAppComponent:(0,y.Z)(Z),reportIds:w,customRenderedActions:R,listApp:f.ZP,docsApp:l.ZP,scrollBehaviour:P}))})]})};var j={loadDetailParams:c.E,clearDetailParams:c.W8,setFormTouched:c.A9,dispatchEmittedAction:i.Z.dispatchEmittedAction,fireVisibilityStatusChangeEvent:a.Z.fireVisibilityStatusChangeEvent};const O=(0,o.connect)((function(e,t){return{appId:e.entityBrowser.appId,detailParams:e.detail.detailParams,formTouched:e.detail.formTouched,scrollBehaviour:e.entityBrowser.scrollBehaviour,locale:e.intl.locale,modifyFormDefinition:e.input.modifyFormDefinition,reportIds:e.input.reportIds,customActionEventHandlers:e.input.customActionEventHandlers}}),j)((0,n.ZP)(g))},75285:(e,t,r)=>{r.d(t,{C:()=>s});var n=r(87757),o=r.n(n),i=r(34857),a=r(96316),c=o().mark(s);function s(e,t,r){var n,s,l,u,f,d,p,b,h,y,m,v;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(n=r.detailParams,s=void 0===n?{}:n,l=r.intl,!(u=r.modifyFormDefinition)){o.next=7;break}return o.next=4,(0,i.RE)(u,e,t);case 4:o.t0=o.sent,o.next=8;break;case 7:o.t0=e;case 8:return f=o.t0,p=(d=t||{}).entityName,b=d.entityId,h=s.entityName,y=s.entityId,m=s.showBackButton,v=m&&p===h&&b===y,o.abrupt("return",v?a.Z.addBack(f,l):f);case 13:case"end":return o.stop()}}),c)}},29036:(e,t,r)=>{if(r.d(t,{Z:()=>o}),947==r.j)var n=r(12813);const o=947==r.j?n.Z:null},89646:(e,t,r)=>{r.d(t,{Z:()=>P});var n=r(50558),o=r(50600),i=r(19241),a=r(59713),c=r.n(a),s=r(6479),l=r.n(s),u=r(1024),f=r(34240),d=r(60558),p=r(29441),b=r(79981),h=r(86926),y=r(76330),m=r(85893),v=["storeId","router","modifyFormDefinition","disableDetailView","fireVisibilityStatusChangeEvent","customActionEventHandlers"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O=function(e){var t=e.entityKey,r=e.children;return(0,m.jsx)(d.Z,{to:"detail/".concat(t),children:r})};const w=function(e){var t=e.storeId,r=e.router,n=e.modifyFormDefinition,o=e.disableDetailView,i=e.fireVisibilityStatusChangeEvent,a=e.customActionEventHandlers,c=l()(e,v);(0,u.useEffect)((function(){i([h.K.list])}),[i]);return(0,m.jsx)(f.ZP,j(j({},c),{},{onRowClick:function(e){o||r.history.push("/detail/".concat(e.id))},showLink:!o,navigationStrategy:j(j({},(0,b.Z)(r.history,r.match)),{},{DetailLinkRelative:O}),searchFormPosition:"top",actionAppComponent:(0,y.Z)(a),store:p.Z.viewInfoSelector(t).store,onStoreCreate:function(e){p.Z.persistViewInfo(t,{store:e},0)},modifyFormDefinition:n}))};var x={emitAction:function(e){return o.Z.dispatchEmittedAction(e)},fireVisibilityStatusChangeEvent:i.Z.fireVisibilityStatusChangeEvent};const P=(0,n.connect)((function(e,t){var r="".concat(e.entityBrowser.appId,"_entity-browser-list");return{id:r,storeId:"".concat(r,"_").concat(t.router.history.location.pathname),locale:e.intl.locale,entityName:e.entityBrowser.entityName,formName:e.entityBrowser.formBase,scrollBehaviour:e.entityBrowser.scrollBehaviour,searchFormType:e.input.searchFormType||"simple_advanced",limit:e.input.limit,searchFilters:e.input.searchFilters,preselectedSearchFields:e.input.preselectedSearchFields,simpleSearchFields:e.input.simpleSearchFields,modifyFormDefinition:e.input.modifyFormDefinition,disableDetailView:e.input.disableDetailView,reportIds:e.input.reportIds,customActionEventHandlers:e.input.customActionEventHandlers}}),x)(w)},97065:(e,t,r)=>{if(r.d(t,{Z:()=>o}),947==r.j)var n=r(89646);const o=947==r.j?n.Z:null},79981:(e,t,r)=>{r.d(t,{Z:()=>f});var n=r(59713),o=r.n(n);if(947==r.j)var i=r(75354);if(947==r.j)var a=r(8157);if(947==r.j)var c=r(14910);var s=r(85893);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const f=function(e,t,r){return{DetailLinkRelative:function(e){return(0,s.jsx)(a.m,u(u({},e),{},{currentKey:r}))},navigateToCreateRelative:function(r){var n;if(null!==(n=t.params)&&void 0!==n&&n.entityId){var o=t.url;if(r)e.push("".concat(o,"/").concat(r,"/"));else{var i=(0,c.H)(o,1);e.push(i)}}else e.push("/detail")},navigateToActionRelative:function(t,r){var n=i.Z.toQueryString({selection:r,actionProperties:t.properties});e.push({pathname:"/action/"+t.appId,state:{definition:t,selection:r,originUrl:e.location.pathname},search:n})}}}},14910:(e,t,r)=>{r.d(t,{H:()=>n});var n=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=e.replace(/\/$/,""),n=0;n<t;n++)r=r.substring(0,r.lastIndexOf("/")+1);return r}},86926:(e,t,r)=>{r.d(t,{K:()=>n});var n={list:"list",detail:"detail",fullscreenAction:"fullscreen-action"}}}]);