tocco-admin 1.0.41 → 1.0.44

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.
Files changed (47) hide show
  1. package/changelog.md +10 -0
  2. package/dist/chunk-143.07fb6e3ab17c62d06e0e.js +2 -0
  3. package/dist/chunk-143.07fb6e3ab17c62d06e0e.js.map +1 -0
  4. package/dist/chunk-18.e1b24b703c97426d790a.js +2 -0
  5. package/dist/chunk-18.e1b24b703c97426d790a.js.map +1 -0
  6. package/dist/{chunk-383.4481cc99771c55a933c8.js → chunk-383.3bea29cae95f2d47b418.js} +2 -1
  7. package/dist/chunk-383.3bea29cae95f2d47b418.js.map +1 -0
  8. package/dist/chunk-399.355bc76f23887d9a37b3.js +2 -0
  9. package/dist/chunk-399.355bc76f23887d9a37b3.js.map +1 -0
  10. package/dist/chunk-44.bf59c78f5a5d21755958.js +2 -0
  11. package/dist/chunk-44.bf59c78f5a5d21755958.js.map +1 -0
  12. package/dist/chunk-611.26848ba322eb3c41ce8b.js +8 -0
  13. package/dist/chunk-611.26848ba322eb3c41ce8b.js.map +1 -0
  14. package/dist/chunk-633.9552786aee4e7f99f623.js +15 -0
  15. package/dist/chunk-633.9552786aee4e7f99f623.js.map +1 -0
  16. package/dist/{chunk-701.f889b987b306d1385fea.js → chunk-701.8b1211e0545b404ca702.js} +4 -3
  17. package/dist/chunk-701.8b1211e0545b404ca702.js.map +1 -0
  18. package/dist/chunk-813.4998affef210c5dbd815.js +46 -0
  19. package/dist/chunk-813.4998affef210c5dbd815.js.map +1 -0
  20. package/dist/{chunk-884.0b5eb6e714183df75751.js → chunk-884.ce155145c201a7fd4e8b.js} +2 -1
  21. package/dist/chunk-884.ce155145c201a7fd4e8b.js.map +1 -0
  22. package/dist/chunk-949.505f8d4e1df3d922358f.js +2 -0
  23. package/dist/chunk-949.505f8d4e1df3d922358f.js.map +1 -0
  24. package/dist/chunk-actions.218163a53759832011b1.js +2 -0
  25. package/dist/chunk-actions.218163a53759832011b1.js.map +1 -0
  26. package/dist/chunk-code-editor.5079bb8da3a832f77b2c.js +2 -0
  27. package/dist/chunk-code-editor.5079bb8da3a832f77b2c.js.map +1 -0
  28. package/dist/chunk-phone-formatter.9a315c77d97352ad918e.js +2 -0
  29. package/dist/chunk-phone-formatter.9a315c77d97352ad918e.js.map +1 -0
  30. package/dist/{chunk-vendor-fontawesome.59c67cc6e8cf4d762bb7.js → chunk-vendor-fontawesome.372a6bb756adfb917a41.js} +2 -2
  31. package/dist/chunk-vendor-icons.5c5ab8af221c75ca9bc9.js +1 -0
  32. package/dist/{chunk-vendor-quill.ddf2e2c68559be7ed070.js → chunk-vendor-quill.1d9f8692d353d9f469ed.js} +3 -3
  33. package/dist/index.js +12 -11
  34. package/dist/index.js.map +1 -0
  35. package/package.json +1 -1
  36. package/dist/chunk-143.39af604d9af22d8b4513.js +0 -1
  37. package/dist/chunk-44.3b929811214b0276c5eb.js +0 -1
  38. package/dist/chunk-489.8ef0a71673bfba55c26d.js +0 -1
  39. package/dist/chunk-498.b77ca77c31c09ef8c750.js +0 -45
  40. package/dist/chunk-545.1e08f075dba19cb052f8.js +0 -1
  41. package/dist/chunk-611.b4dcaf300768f3d73431.js +0 -13
  42. package/dist/chunk-682.63d76a78144769a58a04.js +0 -9
  43. package/dist/chunk-949.e403ce6c9a0f3b9f0503.js +0 -1
  44. package/dist/chunk-actions.5b629c0c74503f03cd88.js +0 -1
  45. package/dist/chunk-code-editor.d01e84325bc39afb5f1c.js +0 -1
  46. package/dist/chunk-phone-formatter.ade5abe6f90ce2c3f4e9.js +0 -1
  47. package/dist/chunk-vendor-icons.057b7e430d6e2e1dbe4b.js +0 -1
@@ -0,0 +1,15 @@
1
+ (self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[633],{44020:e=>{"use strict";var t="%[a-f0-9]{2}",r=new RegExp(t,"gi"),n=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 r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],o(r),o(n))}function a(e){try{return decodeURIComponent(e)}catch(a){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=o(t,n).join("")).match(r);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":"��"},r=n.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var o=a(r[0]);o!==r[0]&&(t[r[0]]=o)}r=n.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var c=i[s];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},92806:e=>{"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),a=0;a<n.length;a++){var i=n[a],s=e[i];(o?-1!==t.indexOf(i):t(i,s,e))&&(r[i]=s)}return r}},36392:(e,t,r)=>{"use strict";r.d(t,{lX:()=>M});var n=r(30670),o=r.n(n),a=r(41143),i=r.n(a),s=r(14149),c=(r(54545),function(e){return"/"===e.charAt(0)?e:"/"+e}),l=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},u=function(e,t){return l(e,t)?e.substr(t.length):e},f=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},d=function(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o},p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h=function(e,t,r,n){var o=void 0;"string"==typeof e?(o=function(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(r=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}(e),o.state=t):(void 0===(o=p({},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 r&&(o.key=r),n?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=(0,s.default)(o.pathname,n.pathname)):o.pathname=n.pathname:o.pathname||(o.pathname="/"),o};const m=function(){var e=null,t=[];return{setPrompt:function(t){return o()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,a){if(null!=e){var i="function"==typeof e?e(t,r):e;"string"==typeof i?"function"==typeof n?n(i,a):(o()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),a(!0)):a(!1!==i)}else a(!0)},appendListener:function(e){var r=!0,n=function(){r&&e.apply(void 0,arguments)};return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}};var y=!("undefined"==typeof window||!window.document||!window.document.createElement),g=function(e,t,r){return e.addEventListener?e.addEventListener(t,r,!1):e.attachEvent("on"+t,r)},v=function(e,t,r){return e.removeEventListener?e.removeEventListener(t,r,!1):e.detachEvent("on"+t,r)},b=function(e,t){return t(window.confirm(e))},w=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},C=function(){return-1===window.navigator.userAgent.indexOf("Trident")},O=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")},E="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},x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},N="popstate",S="hashchange",I=function(){try{return window.history.state||{}}catch(e){return{}}};const M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i()(y,"Browser history needs a DOM");var t=window.history,r=w(),n=!C(),a=e.forceRefresh,s=void 0!==a&&a,p=e.getUserConfirmation,M=void 0===p?b:p,k=e.keyLength,R=void 0===k?6:k,P=e.basename?f(c(e.basename)):"",_=function(e){var t=e||{},r=t.key,n=t.state,a=window.location,i=a.pathname+a.search+a.hash;return o()(!P||l(i,P),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+i+'" to begin with "'+P+'".'),P&&(i=u(i,P)),h(i,n,r)},A=function(){return Math.random().toString(36).substr(2,R)},L=m(),j=function(e){x(ee,e),ee.length=t.length,L.notifyListeners(ee.location,ee.action)},T=function(e){O(e)||$(_(e.state))},F=function(){$(_(I()))},B=!1,$=function(e){if(B)B=!1,j();else{L.confirmTransitionTo(e,"POP",M,(function(t){t?j({action:"POP",location:e}):z(e)}))}},z=function(e){var t=ee.location,r=D.indexOf(t.key);-1===r&&(r=0);var n=D.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(B=!0,Y(o))},U=_(I()),D=[U.key],H=function(e){return P+d(e)},W=function(e,n){o()(!("object"===(void 0===e?"undefined":E(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var a="PUSH",i=h(e,n,A(),ee.location);L.confirmTransitionTo(i,a,M,(function(e){if(e){var n=H(i),c=i.key,l=i.state;if(r)if(t.pushState({key:c,state:l},null,n),s)window.location.href=n;else{var u=D.indexOf(ee.location.key),f=D.slice(0,-1===u?0:u+1);f.push(i.key),D=f,j({action:a,location:i})}else o()(void 0===l,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=n}}))},Q=function(e,n){o()(!("object"===(void 0===e?"undefined":E(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var a="REPLACE",i=h(e,n,A(),ee.location);L.confirmTransitionTo(i,a,M,(function(e){if(e){var n=H(i),c=i.key,l=i.state;if(r)if(t.replaceState({key:c,state:l},null,n),s)window.location.replace(n);else{var u=D.indexOf(ee.location.key);-1!==u&&(D[u]=i.key),j({action:a,location:i})}else o()(void 0===l,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(n)}}))},Y=function(e){t.go(e)},V=function(){return Y(-1)},q=function(){return Y(1)},G=0,K=function(e){1===(G+=e)?(g(window,N,T),n&&g(window,S,F)):0===G&&(v(window,N,T),n&&v(window,S,F))},X=!1,Z=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=L.setPrompt(e);return X||(K(1),X=!0),function(){return X&&(X=!1,K(-1)),t()}},J=function(e){var t=L.appendListener(e);return K(1),function(){K(-1),t()}},ee={length:t.length,action:"POP",location:U,createHref:H,push:W,replace:Q,go:Y,goBack:V,goForward:q,block:Z,listen:J};return ee};Object.assign;"function"==typeof Symbol&&Symbol.iterator,Object.assign},7548:e=>{e.exports=function(){}},28045:e=>{e.exports=function(e){return e}},52157:e=>{var t=Math.max;e.exports=function(e,r,n,o){for(var a=-1,i=e.length,s=n.length,c=-1,l=r.length,u=t(i-s,0),f=Array(l+u),d=!o;++c<l;)f[c]=r[c];for(;++a<s;)(d||a<i)&&(f[n[a]]=e[a]);for(;u--;)f[c++]=e[a++];return f}},14054:e=>{var t=Math.max;e.exports=function(e,r,n,o){for(var a=-1,i=e.length,s=-1,c=n.length,l=-1,u=r.length,f=t(i-c,0),d=Array(f+u),p=!o;++a<f;)d[a]=e[a];for(var h=a;++l<u;)d[h+l]=r[l];for(;++s<c;)(p||a<i)&&(d[h+n[s]]=e[a++]);return d}},97991:e=>{e.exports=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}},22402:(e,t,r)=>{var n=r(71774),o=r(55639);e.exports=function(e,t,r){var a=1&t,i=n(e);return function t(){var n=this&&this!==o&&this instanceof t?i:e;return n.apply(a?r:this,arguments)}}},71774:(e,t,r)=>{var n=r(3118),o=r(13218);e.exports=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=n(e.prototype),a=e.apply(r,t);return o(a)?a:r}}},46347:(e,t,r)=>{var n=r(96874),o=r(71774),a=r(86935),i=r(94487),s=r(20893),c=r(46460),l=r(55639);e.exports=function(e,t,r){var u=o(e);return function o(){for(var f=arguments.length,d=Array(f),p=f,h=s(o);p--;)d[p]=arguments[p];var m=f<3&&d[0]!==h&&d[f-1]!==h?[]:c(d,h);if((f-=m.length)<r)return i(e,t,a,o.placeholder,void 0,d,m,void 0,void 0,r-f);var y=this&&this!==l&&this instanceof o?u:e;return n(y,this,d)}}},23468:(e,t,r)=>{var n=r(7548),o=r(99021),a=r(66833),i=r(97658),s=r(1469),c=r(86528);e.exports=function(e){return o((function(t){var r=t.length,o=r,l=n.prototype.thru;for(e&&t.reverse();o--;){var u=t[o];if("function"!=typeof u)throw new TypeError("Expected a function");if(l&&!f&&"wrapper"==i(u))var f=new n([],!0)}for(o=f?o:r;++o<r;){u=t[o];var d=i(u),p="wrapper"==d?a(u):void 0;f=p&&c(p[0])&&424==p[1]&&!p[4].length&&1==p[9]?f[i(p[0])].apply(f,p[3]):1==u.length&&c(u)?f[d]():f.thru(u)}return function(){var e=arguments,n=e[0];if(f&&1==e.length&&s(n))return f.plant(n).value();for(var o=0,a=r?t[o].apply(this,e):n;++o<r;)a=t[o].call(this,a);return a}}))}},86935:(e,t,r)=>{var n=r(52157),o=r(14054),a=r(97991),i=r(71774),s=r(94487),c=r(20893),l=r(90451),u=r(46460),f=r(55639);e.exports=function e(t,r,d,p,h,m,y,g,v,b){var w=128&r,C=1&r,O=2&r,E=24&r,x=512&r,N=O?void 0:i(t);return function S(){for(var I=arguments.length,M=Array(I),k=I;k--;)M[k]=arguments[k];if(E)var R=c(S),P=a(M,R);if(p&&(M=n(M,p,h,E)),m&&(M=o(M,m,y,E)),I-=P,E&&I<b){var _=u(M,R);return s(t,r,e,S.placeholder,d,M,_,g,v,b-I)}var A=C?d:this,L=O?A[t]:t;return I=M.length,g?M=l(M,g):x&&I>1&&M.reverse(),w&&v<I&&(M.length=v),this&&this!==f&&this instanceof S&&(L=N||i(L)),L.apply(A,M)}}},84375:(e,t,r)=>{var n=r(96874),o=r(71774),a=r(55639);e.exports=function(e,t,r,i){var s=1&t,c=o(e);return function t(){for(var o=-1,l=arguments.length,u=-1,f=i.length,d=Array(f+l),p=this&&this!==a&&this instanceof t?c:e;++u<f;)d[u]=i[u];for(;l--;)d[u++]=arguments[++o];return n(p,s?r:this,d)}}},94487:(e,t,r)=>{var n=r(86528),o=r(258),a=r(69255);e.exports=function(e,t,r,i,s,c,l,u,f,d){var p=8&t;t|=p?32:64,4&(t&=~(p?64:32))||(t&=-4);var h=[e,t,s,p?c:void 0,p?l:void 0,p?void 0:c,p?void 0:l,u,f,d],m=r.apply(void 0,h);return n(e)&&o(m,h),m.placeholder=i,a(m,e,t)}},97727:(e,t,r)=>{var n=r(28045),o=r(22402),a=r(46347),i=r(86935),s=r(84375),c=r(66833),l=r(63833),u=r(258),f=r(69255),d=r(40554),p=Math.max;e.exports=function(e,t,r,h,m,y,g,v){var b=2&t;if(!b&&"function"!=typeof e)throw new TypeError("Expected a function");var w=h?h.length:0;if(w||(t&=-97,h=m=void 0),g=void 0===g?g:p(d(g),0),v=void 0===v?v:d(v),w-=m?m.length:0,64&t){var C=h,O=m;h=m=void 0}var E=b?void 0:c(e),x=[e,t,r,h,m,C,O,y,g,v];if(E&&l(x,E),e=x[0],t=x[1],r=x[2],h=x[3],m=x[4],!(v=x[9]=void 0===x[9]?b?0:e.length:p(x[9]-w,0))&&24&t&&(t&=-25),t&&1!=t)N=8==t||16==t?a(e,t,v):32!=t&&33!=t||m.length?i.apply(void 0,x):s(e,t,r,h);else var N=o(e,t,r);return f((E?n:u)(N,x),e,t)}},66833:e=>{e.exports=function(){}},97658:e=>{e.exports=function(){return""}},20893:e=>{e.exports=function(){}},86528:e=>{e.exports=function(){return!1}},63833:e=>{e.exports=function(e){return e}},90451:(e,t,r)=>{var n=r(278),o=r(65776),a=Math.min;e.exports=function(e,t){for(var r=e.length,i=a(t.length,r),s=n(e);i--;){var c=t[i];e[i]=o(c,r)?s[c]:void 0}return e}},46460:e=>{e.exports=function(){return[]}},258:e=>{e.exports=function(e){return e}},69255:e=>{e.exports=function(e){return e}},40087:(e,t,r)=>{var n=r(97727);function o(e,t,r){var a=n(e,8,void 0,void 0,void 0,void 0,void 0,t=r?void 0:t);return a.placeholder=o.placeholder,a}o.placeholder={},e.exports=o},59242:(e,t,r)=>{var n=r(23468)();e.exports=n},94885:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},14176:(e,t,r)=>{var n=r(67206),o=r(94885),a=r(35937);e.exports=function(e,t){return a(e,o(n(t)))}},40554:e=>{e.exports=function(e){return e}},17563:(e,t,r)=>{"use strict";const n=r(70610),o=r(44020),a=r(80500),i=r(92806),s=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function u(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 r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return(e,r,n)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"colon-list-separator":return(e,r,n)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"comma":case"separator":return(t,r,n)=>{const o="string"==typeof r&&r.includes(e.arrayFormatSeparator),a="string"==typeof r&&!o&&u(r,e).includes(e.arrayFormatSeparator);r=a?u(r,e):r;const i=o||a?r.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===r?r:u(r,e);n[t]=i};case"bracket-separator":return(t,r,n)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(n[t]=r?u(r,e):r);const a=null===r?[]:r.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==n[t]?n[t]=[].concat(n[t],a):n[t]=a};default:return(e,t,r)=>{void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t),n=Object.create(null);if("string"!=typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;for(const o of e.split("&")){if(""===o)continue;let[e,i]=a(t.decode?o.replace(/\+/g," "):o,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:u(i,t),r(u(e,t),i,n)}for(const e of Object.keys(n)){const r=n[e];if("object"==typeof r&&null!==r)for(const e of Object.keys(r))r[e]=h(r[e],t);else n[e]=h(r,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce(((e,t)=>{const r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=f(r):e[t]=r,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 r=r=>t.skipNull&&null==e[r]||t.skipEmptyString&&""===e[r],n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{const o=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[l(t,e),"[",o,"]"].join("")]:[...r,[l(t,e),"[",l(o,e),"]=",l(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[l(t,e),"[]"].join("")]:[...r,[l(t,e),"[]=",l(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[l(t,e),":list="].join("")]:[...r,[l(t,e),":list=",l(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[l(r,e),t,l(o,e)].join("")]:[[n,l(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,l(t,e)]:[...r,[l(t,e),"=",l(n,e)].join("")]}}(t),o={};for(const t of Object.keys(e))r(t)||(o[t]=e[t]);const a=Object.keys(o);return!1!==t.sort&&a.sort(t.sort),a.map((r=>{const o=e[r];return void 0===o?"":null===o?l(r,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?l(r,t)+"[]":o.reduce(n(r),[]).join("&"):l(r,t)+"="+l(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[r,n]=a(e,"#");return Object.assign({url:r.split("?")[0]||"",query:m(p(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:u(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0,[s]:!0},r);const n=d(e.url).split("?")[0]||"",o=t.extract(e.url),a=t.parse(o,{sort:!1}),i=Object.assign(a,e.query);let c=t.stringify(i,r);c&&(c=`?${c}`);let u=function(e){let t="";const r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(u=`#${r[s]?l(e.fragmentIdentifier,r):e.fragmentIdentifier}`),`${n}${c}${u}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:o,query:a,fragmentIdentifier:c}=t.parseUrl(e,n);return t.stringifyUrl({url:o,query:i(a,r),fragmentIdentifier:c},n)},t.exclude=(e,r,n)=>{const o=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,o,n)}},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 r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},70610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},18311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function a(e){return e&&e.__esModule?e:{default:e}}var i=r(1024),s=a(i),c=a(r(9230)),l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,r){for(var n=!0;n;){var o=e,a=t,i=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,a);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(i)}var l=Object.getPrototypeOf(o);if(null===l)return;e=l,t=a,r=i,n=!0,s=l=void 0}}(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={hover:!1}}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),o(t,[{key:"getLineStyle",value:function(e){return n({position:"absolute",height:"20%",left:0,right:0,top:2*e*20+"%",opacity:this.state.hover?.6:1},this.state.hover&&this.props.styles.bmBurgerBarsHover)}},{key:"render",value:function(){var e=this,t=void 0;if(this.props.customIcon){var r={className:("bm-icon "+(this.props.customIcon.props.className||"")).trim(),style:n({width:"100%",height:"100%"},this.props.styles.bmIcon)};t=s.default.cloneElement(this.props.customIcon,r)}else t=s.default.createElement("span",null,[0,1,2].map((function(t){return s.default.createElement("span",{key:t,className:("bm-burger-bars "+e.props.barClassName+" "+(e.state.hover?"bm-burger-bars-hover":"")).trim(),style:n({},e.getLineStyle(t),e.props.styles.bmBurgerBars)})})));return s.default.createElement("div",{className:("bm-burger-button "+this.props.className).trim(),style:n({zIndex:1e3},this.props.styles.bmBurgerButton)},s.default.createElement("button",{id:"react-burger-menu-btn",onClick:this.props.onClick,onMouseOver:function(){e.setState({hover:!0}),e.props.onIconHoverChange&&e.props.onIconHoverChange({isMouseIn:!0})},onMouseOut:function(){e.setState({hover:!1}),e.props.onIconHoverChange&&e.props.onIconHoverChange({isMouseIn:!1})},style:{position:"absolute",left:0,top:0,zIndex:1,width:"100%",height:"100%",margin:0,padding:0,border:"none",fontSize:0,background:"transparent",cursor:"pointer"}},"Open Menu"),t)}}]),t}(i.Component);t.default=l,l.propTypes={barClassName:c.default.string,customIcon:c.default.element,styles:c.default.object},l.defaultProps={barClassName:"",className:"",styles:{}},e.exports=t.default},44114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=function(e,t,r){for(var n=!0;n;){var o=e,a=t,i=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,a);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(i)}var l=Object.getPrototypeOf(o);if(null===l)return;e=l,t=a,r=i,n=!0,s=l=void 0}};function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=r(1024),l=i(c),u=i(r(9230)),f=function(e){function t(){s(this,t),a(Object.getPrototypeOf(t.prototype),"constructor",this).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),o(t,[{key:"getCrossStyle",value:function(e){return{position:"absolute",width:3,height:14,transform:"before"===e?"rotate(45deg)":"rotate(-45deg)"}}},{key:"render",value:function(){var e,t=this;if(this.props.customIcon){var r={className:("bm-cross "+(this.props.customIcon.props.className||"")).trim(),style:n({width:"100%",height:"100%"},this.props.styles.bmCross)};e=l.default.cloneElement(this.props.customIcon,r)}else e=l.default.createElement("span",{style:{position:"absolute",top:"6px",right:"14px"}},["before","after"].map((function(e,r){return l.default.createElement("span",{key:r,className:("bm-cross "+t.props.crossClassName).trim(),style:n({},t.getCrossStyle(e),t.props.styles.bmCross)})})));return l.default.createElement("div",{className:("bm-cross-button "+this.props.className).trim(),style:n({},{position:"absolute",width:24,height:24,right:8,top:8},this.props.styles.bmCrossButton)},l.default.createElement("button",{id:"react-burger-cross-btn",onClick:this.props.onClick,style:{position:"absolute",left:0,top:0,zIndex:1,width:"100%",height:"100%",margin:0,padding:0,border:"none",fontSize:0,background:"transparent",cursor:"pointer"},tabIndex:this.props.isOpen?0:-1},"Close Menu"),e)}}]),t}(c.Component);t.default=f,f.propTypes={crossClassName:u.default.string,customIcon:u.default.element,isOpen:u.default.bool,styles:u.default.object},f.defaultProps={crossClassName:"",className:"",styles:{},isOpen:!1},e.exports=t.default},67545:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={overlay:function(e){return{position:"fixed",zIndex:1e3,width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.3)",opacity:e?1:0,MozTransform:e?"":"translate3d(100%, 0, 0)",MsTransform:e?"":"translate3d(100%, 0, 0)",OTransform:e?"":"translate3d(100%, 0, 0)",WebkitTransform:e?"":"translate3d(100%, 0, 0)",transform:e?"":"translate3d(100%, 0, 0)",transition:e?"opacity 0.3s":"opacity 0.3s, transform 0s 0.3s"}},menuWrap:function(e,t,r){return{position:"fixed",right:r?0:"inherit",zIndex:1100,width:t,height:"100%",MozTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",MsTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",OTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",WebkitTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transition:"all 0.5s"}},menu:function(){return{height:"100%",boxSizing:"border-box",overflow:"auto"}},itemList:function(){return{height:"100%"}},item:function(){return{display:"block"}}},e.exports=t.default},24428:(e,t)=>{"use strict";function r(){var e=Array.from(document.getElementsByClassName("bm-item")).shift();e&&e.focus()}function n(){var e=Array.from(document.getElementsByClassName("bm-item")).pop();e&&e.focus()}function o(){var e=document.getElementById("react-burger-cross-btn");e&&e.focus()}function a(e){if(document.activeElement.className.includes("bm-item")){var t=document.activeElement[e];t?t.focus():o()}else"previousElementSibling"===e?n():r()}Object.defineProperty(t,"__esModule",{value:!0}),t.focusOnFirstMenuItem=r,t.focusOnLastMenuItem=n,t.focusOnCrossButton=o,t.focusOnMenuButton=function(){var e=document.getElementById("react-burger-menu-btn");e&&e.focus()},t.focusOnMenuItem=a,t.focusOnNextMenuItem=function(){a("nextElementSibling")},t.focusOnPreviousMenuItem=function(){a("previousElementSibling")}},32994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw a}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function a(e){return e&&e.__esModule?e:{default:e}}var i=a(r(1024)),s=(a(r(30314)),a(r(9230))),c=a(r(67545)),l=r(24428),u=a(r(18311)),f=a(r(44114));t.default=function(e){if(!e)throw new Error("No styles supplied");var t="ArrowDown",r="ArrowUp";var a=function(a){var s,d,p=i.default.useState(!1),h=n(p,2),m=h[0],y=h[1],g=i.default.useRef(),v=i.default.useRef({}),b=(s=a.isOpen,d=i.default.useRef(s),i.default.useEffect((function(){d.current=s})),d.current);function w(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];v.current=e,N(),setTimeout((function(){y((function(t){return void 0!==e.isOpen?e.isOpen:!t}))}))}function C(){"function"==typeof a.onClose?a.onClose():w()}function O(e,t){var r=a.width,n=a.right;return e(m,"string"!=typeof r?r+"px":r,n,t)}function E(t,r,n){var i="bm"+t.replace(t.charAt(0),t.charAt(0).toUpperCase()),s=c.default[t]?O(c.default[t]):{};return e[t]&&(s=o({},s,O(e[t],r+1))),a.styles[i]&&(s=o({},s,a.styles[i])),n&&(s=o({},s,n)),a.noTransition&&delete s.transition,s}function x(e,t,r){var n=document.getElementById(e);if(n){var o=O(t);for(var i in o)o.hasOwnProperty(i)&&(n.style[i]=r?o[i]:"");var s=function(e){return e.style["overflow-x"]=r?"hidden":""};a.htmlClassName||s(document.querySelector("html")),a.bodyClassName||s(document.querySelector("body"))}else console.error("Element with ID '"+e+"' not found")}function N(){var t=arguments.length<=0||void 0===arguments[0]||arguments[0],r=function(e,r){return e.classList[t?"add":"remove"](r)};a.htmlClassName&&r(document.querySelector("html"),a.htmlClassName),a.bodyClassName&&r(document.querySelector("body"),a.bodyClassName),e.pageWrap&&a.pageWrapId&&x(a.pageWrapId,e.pageWrap,t),e.outerContainer&&a.outerContainerId&&x(a.outerContainerId,e.outerContainer,t);var n=document.querySelector(".bm-menu-wrap");n&&(t?n.removeAttribute("hidden"):n.setAttribute("hidden",!0))}function S(){g.current&&clearTimeout(g.current)}function I(e){switch((e=e||window.event).key){case"Escape":a.disableCloseOnEsc||(C(),(0,l.focusOnMenuButton)());break;case t:(0,l.focusOnNextMenuItem)();break;case r:(0,l.focusOnPreviousMenuItem)();break;case"Home":(0,l.focusOnFirstMenuItem)();break;case"End":(0,l.focusOnLastMenuItem)()}}function M(e){if((e=e||window.event).target===document.getElementById("react-burger-menu-btn"))switch(e.key){case t:case" ":w();break;case r:w({focusOnLastItem:!0})}}return i.default.useEffect((function(){return a.isOpen&&w({isOpen:!0,noStateChange:!0}),function(){N(!1),S()}}),[]),i.default.useEffect((function(){var t,r;void 0!==a.isOpen&&a.isOpen!==m&&a.isOpen!==b?w():e.svg&&(t=document.getElementById("bm-morph-shape"),r=e.svg.lib(t).select("path"),m?e.svg.animate(r):setTimeout((function(){r.attr("d",e.svg.pathInitial)}),300))})),i.default.useEffect((function(){var e=v.current,t=e.noStateChange,r=e.focusOnLastItem;t||a.onStateChange({isOpen:m}),a.disableAutoFocus||(m?r?(0,l.focusOnLastMenuItem)():(0,l.focusOnFirstMenuItem)():document.activeElement?document.activeElement.blur():document.body.blur()),S(),g.current=setTimeout((function(){g.current=null,m||N(!1)}),500);var n=m?I:M,o=a.customOnKeyDown||n;return window.addEventListener("keydown",o),function(){window.removeEventListener("keydown",o)}}),[m]),i.default.createElement("div",null,!a.noOverlay&&i.default.createElement("div",{className:("bm-overlay "+a.overlayClassName).trim(),onClick:function(){!0===a.disableOverlayClick||"function"==typeof a.disableOverlayClick&&a.disableOverlayClick()||C()},style:E("overlay")}),!1!==a.customBurgerIcon&&i.default.createElement("div",{style:E("burgerIcon")},i.default.createElement(u.default,{onClick:function(){"function"==typeof a.onOpen?a.onOpen():w()},styles:a.styles,customIcon:a.customBurgerIcon,className:a.burgerButtonClassName,barClassName:a.burgerBarClassName,onIconStateChange:a.onIconStateChange})),i.default.createElement("div",{id:a.id,className:("bm-menu-wrap "+a.className).trim(),style:E("menuWrap"),"aria-hidden":!m},e.svg&&i.default.createElement("div",{id:"bm-morph-shape",className:("bm-morph-shape "+a.morphShapeClassName).trim(),style:E("morphShape")},i.default.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 100 800",preserveAspectRatio:"none"},i.default.createElement("path",{d:e.svg.pathInitial}))),i.default.createElement("div",{className:("bm-menu "+a.menuClassName).trim(),style:E("menu")},i.default.createElement(a.itemListElement,{className:("bm-item-list "+a.itemListClassName).trim(),style:E("itemList")},i.default.Children.map(a.children,(function(e,t){if(e){var r={key:t,className:["bm-item",a.itemClassName,e.props.className].filter((function(e){return!!e})).join(" "),style:E("item",t,e.props.style),tabIndex:m?0:-1};return i.default.cloneElement(e,r)}})))),!1!==a.customCrossIcon&&i.default.createElement("div",{style:E("closeButton")},i.default.createElement(f.default,{onClick:C,styles:a.styles,customIcon:a.customCrossIcon,className:a.crossButtonClassName,crossClassName:a.crossClassName,isOpen:m}))))};return a.propTypes={bodyClassName:s.default.string,burgerBarClassName:s.default.string,burgerButtonClassName:s.default.string,className:s.default.string,crossButtonClassName:s.default.string,crossClassName:s.default.string,customBurgerIcon:s.default.oneOfType([s.default.element,s.default.oneOf([!1])]),customCrossIcon:s.default.oneOfType([s.default.element,s.default.oneOf([!1])]),customOnKeyDown:s.default.func,disableAutoFocus:s.default.bool,disableCloseOnEsc:s.default.bool,disableOverlayClick:s.default.oneOfType([s.default.bool,s.default.func]),htmlClassName:s.default.string,id:s.default.string,isOpen:s.default.bool,itemClassName:s.default.string,itemListClassName:s.default.string,itemListElement:s.default.oneOf(["div","nav"]),menuClassName:s.default.string,morphShapeClassName:s.default.string,noOverlay:s.default.bool,noTransition:s.default.bool,onClose:s.default.func,onIconHoverChange:s.default.func,onOpen:s.default.func,onStateChange:s.default.func,outerContainerId:e&&e.outerContainer?s.default.string.isRequired:s.default.string,overlayClassName:s.default.string,pageWrapId:e&&e.pageWrap?s.default.string.isRequired:s.default.string,right:s.default.bool,styles:s.default.object,width:s.default.oneOfType([s.default.number,s.default.string])},a.defaultProps={bodyClassName:"",burgerBarClassName:"",burgerButtonClassName:"",className:"",crossButtonClassName:"",crossClassName:"",disableAutoFocus:!1,disableCloseOnEsc:!1,htmlClassName:"",id:"",itemClassName:"",itemListClassName:"",menuClassName:"",morphShapeClassName:"",noOverlay:!1,noTransition:!1,onStateChange:function(){},outerContainerId:"",overlayClassName:"",pageWrapId:"",styles:{},width:300,onIconHoverChange:function(){},itemListElement:"nav"},a},e.exports=t.default},19755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r(32994),a=(n=o)&&n.__esModule?n:{default:n};t.default=(0,a.default)({}),e.exports=t.default},16159:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>O});var n,o=r(1024),a=r.n(o),i=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&u(e,r,t[r]);if(s)for(var r of s(t))l.call(t,r)&&u(e,r,t[r]);return e},d=(e,t)=>{var r={};for(var n in e)c.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&s)for(var n of s(e))t.indexOf(n)<0&&l.call(e,n)&&(r[n]=e[n]);return r};(e=>{const t=class{constructor(e,r,n,o){if(this.version=e,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw"Version value out of range";if(o<-1||o>7)throw"Mask value out of range";this.size=4*e+17;let i=[];for(let e=0;e<this.size;e++)i.push(!1);for(let e=0;e<this.size;e++)this.modules.push(i.slice()),this.isFunction.push(i.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(n);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const r=this.getPenaltyScore();r<e&&(o=t,e=r),this.applyMask(t)}}a(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(r,n){const o=e.QrSegment.makeSegments(r);return t.encodeSegments(o,n)}static encodeBinary(r,n){const o=e.QrSegment.makeBytes(r);return t.encodeSegments([o],n)}static encodeSegments(e,r,o=1,i=40,c=-1,l=!0){if(!(t.MIN_VERSION<=o&&o<=i&&i<=t.MAX_VERSION)||c<-1||c>7)throw"Invalid value";let u,f;for(u=o;;u++){const n=8*t.getNumDataCodewords(u,r),o=s.getTotalBits(e,u);if(o<=n){f=o;break}if(u>=i)throw"Data too long"}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])l&&f<=8*t.getNumDataCodewords(u,e)&&(r=e);let d=[];for(const t of e){n(t.mode.modeBits,4,d),n(t.numChars,t.mode.numCharCountBits(u),d);for(const e of t.getData())d.push(e)}a(d.length==f);const p=8*t.getNumDataCodewords(u,r);a(d.length<=p),n(0,Math.min(4,p-d.length),d),n(0,(8-d.length%8)%8,d),a(d.length%8==0);for(let e=236;d.length<p;e^=253)n(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(u,r,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 r=0;r<t;r++)for(let n=0;n<t;n++)0==r&&0==n||0==r&&n==t-1||r==t-1&&0==n||this.drawAlignmentPattern(e[r],e[n]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let r=t;for(let e=0;e<10;e++)r=r<<1^1335*(r>>>9);const n=21522^(t<<10|r);a(n>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(n,e));this.setFunctionModule(8,7,o(n,6)),this.setFunctionModule(8,8,o(n,7)),this.setFunctionModule(7,8,o(n,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(n,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(n,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(n,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;a(t>>>18==0);for(let e=0;e<18;e++){const r=o(t,e),n=this.size-11+e%3,a=Math.floor(e/3);this.setFunctionModule(n,a,r),this.setFunctionModule(a,n,r)}}drawFinderPattern(e,t){for(let r=-4;r<=4;r++)for(let n=-4;n<=4;n++){const o=Math.max(Math.abs(n),Math.abs(r)),a=e+n,i=t+r;0<=a&&a<this.size&&0<=i&&i<this.size&&this.setFunctionModule(a,i,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let r=-2;r<=2;r++)for(let n=-2;n<=2;n++)this.setFunctionModule(e+n,t+r,1!=Math.max(Math.abs(n),Math.abs(r)))}setFunctionModule(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}addEccAndInterleave(e){const r=this.version,n=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(r,n))throw"Invalid argument";const o=t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][r],i=t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][r],s=Math.floor(t.getNumRawDataModules(r)/8),c=o-s%o,l=Math.floor(s/o);let u=[];const f=t.reedSolomonComputeDivisor(i);for(let r=0,n=0;r<o;r++){let o=e.slice(n,n+l-i+(r<c?0:1));n+=o.length;const a=t.reedSolomonComputeRemainder(o,f);r<c&&o.push(0),u.push(o.concat(a))}let d=[];for(let e=0;e<u[0].length;e++)u.forEach(((t,r)=>{(e!=l-i||r>=c)&&d.push(t[e])}));return a(d.length==s),d}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw"Invalid argument";let r=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let n=0;n<this.size;n++)for(let a=0;a<2;a++){const i=t-a,s=0==(t+1&2)?this.size-1-n:n;!this.isFunction[s][i]&&r<8*e.length&&(this.modules[s][i]=o(e[r>>>3],7-(7&r)),r++)}}a(r==8*e.length)}applyMask(e){if(e<0||e>7)throw"Mask value out of range";for(let t=0;t<this.size;t++)for(let r=0;r<this.size;r++){let n;switch(e){case 0:n=(r+t)%2==0;break;case 1:n=t%2==0;break;case 2:n=r%3==0;break;case 3:n=(r+t)%3==0;break;case 4:n=(Math.floor(r/3)+Math.floor(t/2))%2==0;break;case 5:n=r*t%2+r*t%3==0;break;case 6:n=(r*t%2+r*t%3)%2==0;break;case 7:n=((r+t)%2+r*t%3)%2==0;break;default:throw"Unreachable"}!this.isFunction[t][r]&&n&&(this.modules[t][r]=!this.modules[t][r])}}getPenaltyScore(){let e=0;for(let r=0;r<this.size;r++){let n=!1,o=0,a=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[r][i]==n?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,a),n||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),n=this.modules[r][i],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,a)*t.PENALTY_N3}for(let r=0;r<this.size;r++){let n=!1,o=0,a=[0,0,0,0,0,0,0];for(let i=0;i<this.size;i++)this.modules[i][r]==n?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,a),n||(e+=this.finderPenaltyCountPatterns(a)*t.PENALTY_N3),n=this.modules[i][r],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,a)*t.PENALTY_N3}for(let r=0;r<this.size-1;r++)for(let n=0;n<this.size-1;n++){const o=this.modules[r][n];o==this.modules[r][n+1]&&o==this.modules[r+1][n]&&o==this.modules[r+1][n+1]&&(e+=t.PENALTY_N2)}let r=0;for(const e of this.modules)r=e.reduce(((e,t)=>e+(t?1:0)),r);const n=this.size*this.size,o=Math.ceil(Math.abs(20*r-10*n)/n)-1;return a(0<=o&&o<=9),e+=o*t.PENALTY_N4,a(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 r=[6];for(let n=this.size-7;r.length<e;n-=t)r.splice(1,0,n);return r}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw"Version number out of range";let r=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;r-=(25*t-10)*t-55,e>=7&&(r-=36)}return a(208<=r&&r<=29648),r}static getNumDataCodewords(e,r){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw"Degree out of range";let r=[];for(let t=0;t<e-1;t++)r.push(0);r.push(1);let n=1;for(let o=0;o<e;o++){for(let e=0;e<r.length;e++)r[e]=t.reedSolomonMultiply(r[e],n),e+1<r.length&&(r[e]^=r[e+1]);n=t.reedSolomonMultiply(n,2)}return r}static reedSolomonComputeRemainder(e,r){let n=r.map((e=>0));for(const o of e){const e=o^n.shift();n.push(0),r.forEach(((r,o)=>n[o]^=t.reedSolomonMultiply(r,e)))}return n}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw"Byte out of range";let r=0;for(let n=7;n>=0;n--)r=r<<1^285*(r>>>7),r^=(t>>>n&1)*e;return a(r>>>8==0),r}finderPenaltyCountPatterns(e){const t=e[1];a(t<=3*this.size);const r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let r=t;function n(e,t,r){if(t<0||t>31||e>>>t!=0)throw"Value out of range";for(let n=t-1;n>=0;n--)r.push(e>>>n&1)}function o(e,t){return 0!=(e>>>t&1)}function a(e){if(!e)throw"Assertion error"}r.MIN_VERSION=1,r.MAX_VERSION=40,r.PENALTY_N1=3,r.PENALTY_N2=3,r.PENALTY_N3=40,r.PENALTY_N4=10,r.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]],r.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=r;const i=class{constructor(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw"Invalid argument";this.bitData=r.slice()}static makeBytes(e){let t=[];for(const r of e)n(r,8,t);return new i(i.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!i.isNumeric(e))throw"String contains non-numeric characters";let t=[];for(let r=0;r<e.length;){const o=Math.min(e.length-r,3);n(parseInt(e.substr(r,o),10),3*o+1,t),r+=o}return new i(i.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!i.isAlphanumeric(e))throw"String contains unencodable characters in alphanumeric mode";let t,r=[];for(t=0;t+2<=e.length;t+=2){let o=45*i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),n(o,11,r)}return t<e.length&&n(i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,r),new i(i.Mode.ALPHANUMERIC,e.length,r)}static makeSegments(e){return""==e?[]:i.isNumeric(e)?[i.makeNumeric(e)]:i.isAlphanumeric(e)?[i.makeAlphanumeric(e)]:[i.makeBytes(i.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw"ECI assignment value out of range";if(e<128)n(e,8,t);else if(e<16384)n(2,2,t),n(e,14,t);else{if(!(e<1e6))throw"ECI assignment value out of range";n(6,3,t),n(e,21,t)}return new i(i.Mode.ECI,0,t)}static isNumeric(e){return i.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return i.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let r=0;for(const n of e){const e=n.mode.numCharCountBits(t);if(n.numChars>=1<<e)return 1/0;r+=4+e+n.bitData.length}return r}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let r=0;r<e.length;r++)"%"!=e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substr(r+1,2),16)),r+=2);return t}};let s=i;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=s})(n||(n={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let r=t;r.LOW=new t(0,1),r.MEDIUM=new t(1,0),r.QUARTILE=new t(2,3),r.HIGH=new t(3,2),e.Ecc=r})(t=e.QrCode||(e.QrCode={}))})(n||(n={})),(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 r=t;r.NUMERIC=new t(1,[10,12,14]),r.ALPHANUMERIC=new t(2,[9,11,13]),r.BYTE=new t(4,[8,16,16]),r.KANJI=new t(8,[8,10,12]),r.ECI=new t(7,[0,0,0]),e.Mode=r})(t=e.QrSegment||(e.QrSegment={}))})(n||(n={}));var p=n,h={L:p.QrCode.Ecc.LOW,M:p.QrCode.Ecc.MEDIUM,Q:p.QrCode.Ecc.QUARTILE,H:p.QrCode.Ecc.HIGH},m={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};
2
+ /**
3
+ * @license qrcode.react
4
+ * Copyright (c) Paul O'Shannessy
5
+ * SPDX-License-Identifier: ISC
6
+ */function y(e,t=0){const r=[];return e.forEach((function(e,n){let o=null;e.forEach((function(a,i){if(!a&&null!==o)return r.push(`M${o+t} ${n+t}h${i-o}v1H${o+t}z`),void(o=null);if(i!==e.length-1)a&&null===o&&(o=i);else{if(!a)return;null===o?r.push(`M${i+t},${n+t} h1v1H${i+t}z`):r.push(`M${o+t},${n+t} h${i+1-o}v1H${o+t}z`)}}))})),r.join("")}function g(e,t){return e.slice().map(((e,r)=>r<t.y||r>=t.y+t.h?e:e.map(((e,r)=>(r<t.x||r>=t.x+t.w)&&e))))}function v(e,t){const{imageSettings:r,size:n,includeMargin:o}=e;if(null==r)return null;const a=o?4:0,i=t.length+2*a,s=Math.floor(.1*n),c=i/n,l=(r.width||s)*c,u=(r.height||s)*c,f=null==r.x?t.length/2-l/2:r.x*c,d=null==r.y?t.length/2-u/2:r.y*c;let p=null;if(r.excavate){let e=Math.floor(f),t=Math.floor(d);p={x:e,y:t,w:Math.ceil(l+f-e),h:Math.ceil(u+d-t)}}return{x:f,y:d,h:u,w:l,excavation:p}}var b=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function w(e){const t=(0,o.useRef)(null),r=(0,o.useRef)(null);function n(){const{value:n,size:o,level:a,bgColor:i,fgColor:s,includeMargin:c}=e;if(null!=t.current){const l=t.current,u=l.getContext("2d");if(!u)return;let f=p.QrCode.encodeText(n,h[a]).getModules();const d=c?4:0,m=f.length+2*d,w=v(e,f),C=r.current,O=null!=w&&null!==C&&C.complete&&0!==C.naturalHeight&&0!==C.naturalWidth;O&&null!=w.excavation&&(f=g(f,w.excavation));const E=window.devicePixelRatio||1;l.height=l.width=o*E;const x=o/m*E;u.scale(x,x),u.fillStyle=i,u.fillRect(0,0,m,m),u.fillStyle=s,b?u.fill(new Path2D(y(f,d))):f.forEach((function(e,t){e.forEach((function(e,r){e&&u.fillRect(r+d,t+d,1,1)}))})),O&&u.drawImage(C,w.x+d,w.y+d,w.w,w.h)}}(0,o.useEffect)((()=>{n()}));const i=e,{value:s,size:c,level:l,bgColor:u,fgColor:m,style:w,includeMargin:C,imageSettings:O}=i,E=d(i,["value","size","level","bgColor","fgColor","style","includeMargin","imageSettings"]),x=f({height:c,width:c},w);let N=null,S=null==O?void 0:O.src;return null!=S&&(N=a().createElement("img",{src:S,key:S,style:{display:"none"},onLoad:()=>{n()},ref:r})),a().createElement(a().Fragment,null,a().createElement("canvas",f({style:x,height:c,width:c,ref:t},E)),N)}function C(e){const t=e,{value:r,size:n,level:o,bgColor:i,fgColor:s,includeMargin:c,imageSettings:l}=t,u=d(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let m=p.QrCode.encodeText(r,h[o]).getModules();const b=c?4:0,w=m.length+2*b,C=v(e,m);let O=null;null!=l&&null!=C&&(null!=C.excavation&&(m=g(m,C.excavation)),O=a().createElement("image",{xlinkHref:l.src,height:C.h,width:C.w,x:C.x+b,y:C.y+b,preserveAspectRatio:"none"}));const E=y(m,b);return a().createElement("svg",f({shapeRendering:"crispEdges",height:n,width:n,viewBox:`0 0 ${w} ${w}`},u),a().createElement("path",{fill:i,d:`M0,0 h${w}v${w}H0z`}),a().createElement("path",{fill:s,d:E}),O)}w.defaultProps=m,C.defaultProps=m;var O=e=>{const t=e,{renderAs:r}=t,n=d(t,["renderAs"]),o="svg"===r?C:w;return a().createElement(o,f({},n))};O.defaultProps=f({renderAs:"canvas"},m)},33188:(e,t,r)=>{"use strict";var n=r(38163),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=u(r);f&&(i=i.concat(f(r)));for(var s=c(t),m=c(r),y=0;y<i.length;++y){var g=i[y];if(!(a[g]||n&&n[g]||m&&m[g]||s&&s[g])){var v=d(r,g);try{l(t,g,v)}catch(e){}}}}return t}},71534:(e,t,r)=>{"use strict";var n=r(71909);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){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 r={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:a,resetWarningCache:o};return r.PropTypes=r,r}},10317:(e,t,r)=>{e.exports=r(71534)()},71909:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98861:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n=r(1024),o=r.n(n),a=r(10317),i=r.n(a);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}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 l=function(e){var t,r;function n(){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}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var a=n.prototype;return a.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},a.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},a.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},a.executeAsync=function(){var e=this;return new Promise((function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()}))},a.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},a.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},a.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},a.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},a.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())},a.componentDidMount=function(){this.explicitRender()},a.componentDidUpdate=function(){this.explicitRender()},a.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},a.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)},a.handleRecaptchaRef=function(e){this.captcha=e},a.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 r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return o().createElement("div",s({},t,{ref:this.handleRecaptchaRef}))},n}(o().Component);l.displayName="ReCAPTCHA",l.propTypes={sitekey:i().string.isRequired,onChange:i().func,grecaptcha:i().object,theme:i().oneOf(["dark","light"]),type:i().oneOf(["image","audio"]),tabindex:i().number,onExpired:i().func,onErrored:i().func,size:i().oneOf(["compact","normal","invisible"]),stoken:i().string,hl:i().string,badge:i().oneOf(["bottomright","bottomleft","inline"])},l.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var u=r(33188),f=r.n(u);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}var p={},h=0;var m="onloadcallback";const y=(g=function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+m+"&render=explicit"},v=(v={callbackName:m,globalName:"grecaptcha"})||{},function(e){var t=e.displayName||e.name||"Component",r=function(t){var r,o;function a(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}o=t,(r=a).prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o;var i=a.prototype;return i.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+h++),this.__scriptLoaderID},i.setupScriptURL=function(){return this.__scriptURL="function"==typeof g?g():g,this.__scriptURL},i.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},i.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=p[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[v.callbackName]},i.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=v,o=n.globalName,a=n.callbackName,i=n.scriptId;if(o&&void 0!==window[o]&&(p[t]={loaded:!0,observers:{}}),p[t]){var s=p[t];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var c={};c[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},p[t]={loaded:!1,observers:c};var l=document.createElement("script");for(var u in l.src=t,l.async=!0,v.attributes)l.setAttribute(u,v.attributes[u]);i&&(l.id=i);var f=function(e){if(p[t]){var r=p[t].observers;for(var n in r)e(r[n])&&delete r[n]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),l.onload=function(){var e=p[t];e&&(e.loaded=!0,f((function(t){return!a&&(t(e),!0)})))},l.onerror=function(){var e=p[t];e&&(e.errored=!0,f((function(t){return t(e),!0})))},document.body.appendChild(l)},i.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===v.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=p[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===v.removeOnUnmount&&delete p[e])},i.render=function(){var t=v.globalName,r=this.props,o=(r.asyncScriptOnLoad,r.forwardedRef),a=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(a[t]=void 0!==window[t]?window[t]:void 0),a.ref=o,(0,n.createElement)(e,a)},a}(n.Component),o=(0,n.forwardRef)((function(e,t){return(0,n.createElement)(r,d({},e,{forwardedRef:t}))}));return o.displayName="AsyncScriptLoader("+t+")",o.propTypes={asyncScriptOnLoad:i().func},f()(o,e)})(l);var g,v;const b=y},66526:(e,t)=>{"use strict";
7
+ /** @license React v16.13.1
8
+ * react-is.production.min.js
9
+ *
10
+ * Copyright (c) Facebook, Inc. and its affiliates.
11
+ *
12
+ * This source code is licensed under the MIT license found in the
13
+ * LICENSE file in the root directory of this source tree.
14
+ */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case m:case c:return e;default:return t}}case o:return t}}}function O(e){return C(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return O(e)||C(e)===u},t.isConcurrentMode=O,t.isContextConsumer=function(e){return C(e)===l},t.isContextProvider=function(e){return C(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return C(e)===d},t.isFragment=function(e){return C(e)===a},t.isLazy=function(e){return C(e)===y},t.isMemo=function(e){return C(e)===m},t.isPortal=function(e){return C(e)===o},t.isProfiler=function(e){return C(e)===s},t.isStrictMode=function(e){return C(e)===i},t.isSuspense=function(e){return C(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=C},38163:(e,t,r)=>{"use strict";e.exports=r(66526)}}]);
15
+ //# sourceMappingURL=chunk-633.9552786aee4e7f99f623.js.map