tocco-widget-bundle 3.14.67 → 3.14.69
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.
- package/changelog.md +9 -0
- package/dist/address-update.js +1 -1
- package/dist/chunk-55341.7d3e99872689bf3269cb.js +1 -0
- package/dist/{chunk-52827.54504f4126b773864303.js → chunk-89651.ec84a53f93eae0034faa.js} +2 -2
- package/dist/chunk-actions.8fd4de3bf131d8bc6424.js +1 -0
- package/dist/docs-browser.js +3 -3
- package/dist/education-portfolio.js +1 -1
- package/dist/entity-browser.js +1 -1
- package/dist/entity-dms.js +3 -3
- package/dist/evaluation-execution-participation.js +1 -1
- package/dist/event-registration.js +1 -1
- package/dist/function-mutation.js +1 -1
- package/dist/job-application.js +1 -1
- package/dist/mailing-list.js +1 -1
- package/dist/membership-registration.js +1 -1
- package/dist/personal-dms.js +3 -3
- package/dist/public-dms.js +3 -3
- package/dist/stint-auction.js +1 -1
- package/dist/user-availability.js +1 -1
- package/dist/user-grades.js +1 -1
- package/dist/wage-view.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-55341.4b3f8266bd2310696889.js +0 -1
- package/dist/chunk-actions.ce03c40a71fd92cd1115.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(this.webpackChunktocco_widget_bundle=this.webpackChunktocco_widget_bundle||[]).push([[
|
|
1
|
+
(this.webpackChunktocco_widget_bundle=this.webpackChunktocco_widget_bundle||[]).push([[89651],{1846:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6414:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(25406);const o=(i=r.A,s=i.getIn,function(e,t){return function(n){var r=t||function(e){return s(e,"form")};return!!s(r(n),e+".submitting")}});var i,s},7309:(e,t,n)=>{var r=n(62006)(n(24713));e.exports=r},12238:(e,t,n)=>{e.exports=n(29336)()},12507:(e,t,n)=>{var r=n(28754),o=n(49698),i=n(63912),s=n(13222);e.exports=function(e){return function(t){t=s(t);var n=o(t)?i(t):void 0,a=n?n[0]:t.charAt(0),c=n?r(n,1).join(""):t.slice(1);return a[e]()+c}}},14792:(e,t,n)=>{var r=n(13222),o=n(55808);e.exports=function(e){return o(r(e).toLowerCase())}},18987:(e,t,n)=>{"use strict";
|
|
2
2
|
/*! js-cookie v3.0.5 | MIT */
|
|
3
3
|
function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{A:()=>o});var o=function e(t,n){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=r({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in i)i[a]&&(s+="; "+a,!0!==i[a]&&(s+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+s}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(r[a]=t.read(s,a),e===a)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){o(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},22501:(e,t,n)=>{"use strict";var r=n(1846);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}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}},24713:(e,t,n)=>{var r=n(2523),o=n(15389),i=n(61489),s=Math.max;e.exports=function(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var c=null==n?0:i(n);return c<0&&(c=s(a+c,0)),r(e,o(t,3),c)}},28754:(e,t,n)=>{var r=n(25160);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},29336:(e,t,n)=>{"use strict";var r=n(33567);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}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}},32845:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(4883),o=n(49385),i=n.n(o),s=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.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}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}var u=function(e){var t,n;function o(){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=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var i=o.prototype;return i.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},i.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(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(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},i.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},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(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{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,isolated:this.props.isolated}),this.captcha.appendChild(t)}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.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,e.isolated,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,s));return r.createElement("div",a({},t,{ref:this.handleRecaptchaRef}))},o}(r.Component);u.displayName="ReCAPTCHA",u.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"]),isolated:i().bool},u.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"}},33567:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},36459:(e,t,n)=>{"use strict";n.d(t,{h:()=>M});var r,o=n(4883),i=Object.defineProperty,s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,l=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>{for(var n in t||(t={}))a.call(t,n)&&l(e,n,t[n]);if(s)for(var n of s(t))c.call(t,n)&&l(e,n,t[n]);return e},h=(e,t)=>{var n={};for(var r in e)a.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&&c.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class t{constructor(e,n,r,i){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(i<-1||i>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let s=[];for(let e=0;e<this.size;e++)s.push(!1);for(let e=0;e<this.size;e++)this.modules.push(s.slice()),this.isFunction.push(s.slice());this.drawFunctionPatterns();const a=this.addEccAndInterleave(r);if(this.drawCodewords(a),-1==i){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(i=t,e=n),this.applyMask(t)}}o(0<=i&&i<=7),this.mask=i,this.applyMask(i),this.drawFormatBits(i),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,r,i=1,a=40,c=-1,l=!0){if(!(t.MIN_VERSION<=i&&i<=a&&a<=t.MAX_VERSION)||c<-1||c>7)throw new RangeError("Invalid value");let u,h;for(u=i;;u++){const n=8*t.getNumDataCodewords(u,r),o=s.getTotalBits(e,u);if(o<=n){h=o;break}if(u>=a)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])l&&h<=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)}o(d.length==h);const p=8*t.getNumDataCodewords(u,r);o(d.length<=p),n(0,Math.min(4,p-d.length),d),n(0,(8-d.length%8)%8,d),o(d.length%8==0);for(let e=236;d.length<p;e^=253)n(e,8,d);let f=[];for(;8*f.length<d.length;)f.push(0);return d.forEach(((e,t)=>f[t>>>3]|=e<<7-(7&t))),new t(u,r,f,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 i=21522^(t<<10|n);o(i>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,r(i,e));this.setFunctionModule(8,7,r(i,6)),this.setFunctionModule(8,8,r(i,7)),this.setFunctionModule(7,8,r(i,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,r(i,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,r(i,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,r(i,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;o(t>>>18==0);for(let e=0;e<18;e++){const n=r(t,e),o=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(o,i,n),this.setFunctionModule(i,o,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,s=t+n;0<=i&&i<this.size&&0<=s&&s<this.size&&this.setFunctionModule(i,s,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 i=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],s=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],a=Math.floor(t.getNumRawDataModules(n)/8),c=i-a%i,l=Math.floor(a/i);let u=[];const h=t.reedSolomonComputeDivisor(s);for(let n=0,r=0;n<i;n++){let o=e.slice(r,r+l-s+(n<c?0:1));r+=o.length;const i=t.reedSolomonComputeRemainder(o,h);n<c&&o.push(0),u.push(o.concat(i))}let d=[];for(let e=0;e<u[0].length;e++)u.forEach(((t,n)=>{(e!=l-s||n>=c)&&d.push(t[e])}));return o(d.length==a),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 o=0;o<this.size;o++)for(let i=0;i<2;i++){const s=t-i,a=!(t+1&2)?this.size-1-o:o;!this.isFunction[a][s]&&n<8*e.length&&(this.modules[a][s]=r(e[n>>>3],7-(7&n)),n++)}}o(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 s=0;s<this.size;s++)this.modules[n][s]==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][s],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 s=0;s<this.size;s++)this.modules[s][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[s][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,i=Math.ceil(Math.abs(20*n-10*r)/r)-1;return o(0<=i&&i<=9),e+=i*t.PENALTY_N4,o(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 o(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 o(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];o(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)}};t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.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]],t.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]];function n(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 r(e,t){return!!(e>>>t&1)}function o(e){if(!e)throw new Error("Assertion error")}e.QrCode=t;const i=class e{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(t){let r=[];for(const e of t)n(e,8,r);return new e(e.Mode.BYTE,t.length,r)}static makeNumeric(t){if(!e.isNumeric(t))throw new RangeError("String contains non-numeric characters");let r=[];for(let e=0;e<t.length;){const o=Math.min(t.length-e,3);n(parseInt(t.substring(e,e+o),10),3*o+1,r),e+=o}return new e(e.Mode.NUMERIC,t.length,r)}static makeAlphanumeric(t){if(!e.isAlphanumeric(t))throw new RangeError("String contains unencodable characters in alphanumeric mode");let r,o=[];for(r=0;r+2<=t.length;r+=2){let i=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r));i+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r+1)),n(i,11,o)}return r<t.length&&n(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r)),6,o),new e(e.Mode.ALPHANUMERIC,t.length,o)}static makeSegments(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let r=[];if(t<0)throw new RangeError("ECI assignment value out of range");if(t<128)n(t,8,r);else if(t<16384)n(2,2,r),n(t,14,r);else{if(!(t<1e6))throw new RangeError("ECI assignment value out of range");n(6,3,r),n(t,21,r)}return new e(e.Mode.ECI,0,r)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}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.substring(n+1,n+3),16)),n+=2);return t}};i.NUMERIC_REGEX=/^[0-9]*$/,i.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,i.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let s=i;e.QrSegment=i})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};t.LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2);e.Ecc=t})(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)]}};t.NUMERIC=new t(1,[10,12,14]),t.ALPHANUMERIC=new t(2,[9,11,13]),t.BYTE=new t(4,[8,16,16]),t.KANJI=new t(8,[8,10,12]),t.ECI=new t(7,[0,0,0]);e.Mode=t})(t=e.QrSegment||(e.QrSegment={}))})(r||(r={}));var d=r,p={L:d.QrCode.Ecc.LOW,M:d.QrCode.Ecc.MEDIUM,Q:d.QrCode.Ecc.QUARTILE,H:d.QrCode.Ecc.HIGH},f=128,g="L",m="#FFFFFF",v="#000000",y=!1,w=1;
|
|
4
4
|
/**
|
|
5
5
|
* @license qrcode.react
|
|
6
6
|
* Copyright (c) Paul O'Shannessy
|
|
7
7
|
* SPDX-License-Identifier: ISC
|
|
8
|
-
*/function E(e,t=0){const n=[];return e.forEach((function(e,r){let o=null;e.forEach((function(i,s){if(!i&&null!==o)return n.push(`M${o+t} ${r+t}h${s-o}v1H${o+t}z`),void(o=null);if(s!==e.length-1)i&&null===o&&(o=s);else{if(!i)return;null===o?n.push(`M${s+t},${r+t} h1v1H${s+t}z`):n.push(`M${o+t},${r+t} h${s+1-o}v1H${o+t}z`)}}))})),n.join("")}function C(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 R({value:e,level:t,minVersion:n,includeMargin:r,marginSize:i,imageSettings:s,size:a,boostLevel:c}){let l=o.useMemo((()=>{const r=(Array.isArray(e)?e:[e]).reduce(((e,t)=>(e.push(...d.QrSegment.makeSegments(t)),e)),[]);return d.QrCode.encodeSegments(r,p[t],n,void 0,void 0,c)}),[e,t,n,c]);const{cells:u,margin:h,numCells:f,calculatedImageSettings:g}=o.useMemo((()=>{let e=l.getModules();const t=function(e,t){return null!=t?Math.max(Math.floor(t),0):e?4:0}(r,i),n=e.length+2*t,o=function(e,t,n,r){if(null==r)return null;const o=e.length+2*n,i=Math.floor(.1*t),s=o/t,a=(r.width||i)*s,c=(r.height||i)*s,l=null==r.x?e.length/2-a/2:r.x*s,u=null==r.y?e.length/2-c/2:r.y*s,h=null==r.opacity?1:r.opacity;let d=null;if(r.excavate){let e=Math.floor(l),t=Math.floor(u);d={x:e,y:t,w:Math.ceil(a+l-e),h:Math.ceil(c+u-t)}}return{x:l,y:u,h:c,w:a,excavation:d,opacity:h,crossOrigin:r.crossOrigin}}(e,a,t,s);return{cells:e,margin:t,numCells:n,calculatedImageSettings:o}}),[l,a,s,r,i]);return{qrcode:l,margin:h,cells:u,numCells:f,calculatedImageSettings:g}}var b=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();o.forwardRef((function(e,t){const n=e,{value:r,size:i=f,level:s=g,bgColor:a=m,fgColor:c=v,includeMargin:l=y,minVersion:d=w,boostLevel:p,marginSize:M,imageSettings:_}=n,O=h(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:S}=O,x=h(O,["style"]),A=null==_?void 0:_.src,I=o.useRef(null),N=o.useRef(null),L=o.useCallback((e=>{I.current=e,"function"==typeof t?t(e):t&&(t.current=e)}),[t]),[P,k]=o.useState(!1),{margin:T,cells:z,numCells:F,calculatedImageSettings:D}=R({value:r,level:s,minVersion:d,boostLevel:p,includeMargin:l,marginSize:M,imageSettings:_,size:i});o.useEffect((()=>{if(null!=I.current){const e=I.current,t=e.getContext("2d");if(!t)return;let n=z;const r=N.current,o=null!=D&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;o&&null!=D.excavation&&(n=C(z,D.excavation));const s=window.devicePixelRatio||1;e.height=e.width=i*s;const l=i/F*s;t.scale(l,l),t.fillStyle=a,t.fillRect(0,0,F,F),t.fillStyle=c,b?t.fill(new Path2D(E(n,T))):z.forEach((function(e,n){e.forEach((function(e,r){e&&t.fillRect(r+T,n+T,1,1)}))})),D&&(t.globalAlpha=D.opacity),o&&t.drawImage(r,D.x+T,D.y+T,D.w,D.h)}})),o.useEffect((()=>{k(!1)}),[A]);const U=u({height:i,width:i},S);let B=null;return null!=A&&(B=o.createElement("img",{src:A,key:A,style:{display:"none"},onLoad:()=>{k(!0)},ref:N,crossOrigin:null==D?void 0:D.crossOrigin})),o.createElement(o.Fragment,null,o.createElement("canvas",u({style:U,height:i,width:i,ref:L,role:"img"},x)),B)})).displayName="QRCodeCanvas";var M=o.forwardRef((function(e,t){const n=e,{value:r,size:i=f,level:s=g,bgColor:a=m,fgColor:c=v,includeMargin:l=y,minVersion:d=w,boostLevel:p,title:b,marginSize:M,imageSettings:_}=n,O=h(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:S,cells:x,numCells:A,calculatedImageSettings:I}=R({value:r,level:s,minVersion:d,boostLevel:p,includeMargin:l,marginSize:M,imageSettings:_,size:i});let N=x,L=null;null!=_&&null!=I&&(null!=I.excavation&&(N=C(x,I.excavation)),L=o.createElement("image",{href:_.src,height:I.h,width:I.w,x:I.x+S,y:I.y+S,preserveAspectRatio:"none",opacity:I.opacity,crossOrigin:I.crossOrigin}));const P=E(N,S);return o.createElement("svg",u({height:i,width:i,viewBox:`0 0 ${A} ${A}`,ref:t,role:"img"},O),!!b&&o.createElement("title",null,b),o.createElement("path",{fill:a,d:`M0,0 h${A}v${A}H0z`,shapeRendering:"crispEdges"}),o.createElement("path",{fill:c,d:P,shapeRendering:"crispEdges"}),L)}));M.displayName="QRCodeSVG"},39335:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(4883),o=n(12238),i=n.n(o),s=n(4146),a=n.n(s);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 l={},u=0;function h(e,t){return t=t||{},function(n){var o=n.displayName||n.name||"Component",s=function(o){var i,s;function a(e,t){var n;return(n=o.call(this,e,t)||this).state={},n.__scriptURL="",n}s=o,(i=a).prototype=Object.create(s.prototype),i.prototype.constructor=i,i.__proto__=s;var c=a.prototype;return c.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+u++),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=l[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,s=o.callbackName,a=o.scriptId;if(i&&void 0!==window[i]&&(l[n]={loaded:!0,observers:{}}),l[n]){var c=l[n];return c&&(c.loaded||c.errored)?void this.asyncScriptLoaderHandleLoad(c):void(c.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var u={};u[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},l[n]={loaded:!1,observers:u};var h=document.createElement("script");for(var d in h.src=n,h.async=!0,t.attributes)h.setAttribute(d,t.attributes[d]);a&&(h.id=a);var p=function(e){if(l[n]){var t=l[n].observers;for(var r in t)e(t[r])&&delete t[r]}};s&&"undefined"!=typeof window&&(window[s]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),h.onload=function(){var e=l[n];e&&(e.loaded=!0,p((function(t){return!s&&(t(e),!0)})))},h.onerror=function(){var e=l[n];e&&(e.errored=!0,p((function(t){return t(e),!0})))},document.body.appendChild(h)},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=l[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete l[e])},c.render=function(){var e=t.globalName,o=this.props,i=(o.asyncScriptOnLoad,o.forwardedRef),s=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&&(s[e]=void 0!==window[e]?window[e]:void 0),s.ref=i,(0,r.createElement)(n,s)},a}(r.Component),h=(0,r.forwardRef)((function(e,t){return(0,r.createElement)(s,c({},e,{forwardedRef:t}))}));return h.displayName="AsyncScriptLoader("+o+")",h.propTypes={asyncScriptOnLoad:i().func},a()(h,n)}}},42054:e=>{e.exports=function(e){return e.split("")}},49385:(e,t,n)=>{e.exports=n(22501)()},49698:e=>{e.exports=function(){return!1}},55808:(e,t,n)=>{var r=n(12507)("toUpperCase");e.exports=r},61074:e=>{e.exports=function(e){return e.split("")}},62006:(e,t,n)=>{var r=n(15389),o=n(64894),i=n(95950);e.exports=function(e){return function(t,n,s){var a=Object(t);if(!o(t)){var c=r(n,3);t=i(t),n=function(e){return c(a[e],e,a)}}var l=e(t,n,s);return l>-1?a[c?t[l]:l]:void 0}}},63912:(e,t,n)=>{var r=n(61074),o=n(49698),i=n(42054);e.exports=function(e){return o(e)?i(e):r(e)}},98931:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(32845),o=n(39335),i="onloadcallback";function s(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}const a=(0,o.A)((function(){var e=s(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+i+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+i+"&render=explicit"}),{callbackName:i,globalName:"grecaptcha",attributes:s().nonce?{nonce:s().nonce}:{}})(r.A)},99651:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(98931);n(32845);const o=r.A},99786:(e,t,n)=>{var r=n(83120),o=n(15389),i=n(69302),s=n(55765),a=n(83693),c=n(68090),l=i((function(e){var t=c(e);return a(t)&&(t=void 0),s(r(e,1,a,!0),o(t,2))}));e.exports=l}}]);
|
|
8
|
+
*/function E(e,t=0){const n=[];return e.forEach((function(e,r){let o=null;e.forEach((function(i,s){if(!i&&null!==o)return n.push(`M${o+t} ${r+t}h${s-o}v1H${o+t}z`),void(o=null);if(s!==e.length-1)i&&null===o&&(o=s);else{if(!i)return;null===o?n.push(`M${s+t},${r+t} h1v1H${s+t}z`):n.push(`M${o+t},${r+t} h${s+1-o}v1H${o+t}z`)}}))})),n.join("")}function C(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 R({value:e,level:t,minVersion:n,includeMargin:r,marginSize:i,imageSettings:s,size:a,boostLevel:c}){let l=o.useMemo((()=>{const r=(Array.isArray(e)?e:[e]).reduce(((e,t)=>(e.push(...d.QrSegment.makeSegments(t)),e)),[]);return d.QrCode.encodeSegments(r,p[t],n,void 0,void 0,c)}),[e,t,n,c]);const{cells:u,margin:h,numCells:f,calculatedImageSettings:g}=o.useMemo((()=>{let e=l.getModules();const t=function(e,t){return null!=t?Math.max(Math.floor(t),0):e?4:0}(r,i),n=e.length+2*t,o=function(e,t,n,r){if(null==r)return null;const o=e.length+2*n,i=Math.floor(.1*t),s=o/t,a=(r.width||i)*s,c=(r.height||i)*s,l=null==r.x?e.length/2-a/2:r.x*s,u=null==r.y?e.length/2-c/2:r.y*s,h=null==r.opacity?1:r.opacity;let d=null;if(r.excavate){let e=Math.floor(l),t=Math.floor(u);d={x:e,y:t,w:Math.ceil(a+l-e),h:Math.ceil(c+u-t)}}return{x:l,y:u,h:c,w:a,excavation:d,opacity:h,crossOrigin:r.crossOrigin}}(e,a,t,s);return{cells:e,margin:t,numCells:n,calculatedImageSettings:o}}),[l,a,s,r,i]);return{qrcode:l,margin:h,cells:u,numCells:f,calculatedImageSettings:g}}var b=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();o.forwardRef((function(e,t){const n=e,{value:r,size:i=f,level:s=g,bgColor:a=m,fgColor:c=v,includeMargin:l=y,minVersion:d=w,boostLevel:p,marginSize:M,imageSettings:_}=n,O=h(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:S}=O,x=h(O,["style"]),A=null==_?void 0:_.src,I=o.useRef(null),N=o.useRef(null),L=o.useCallback((e=>{I.current=e,"function"==typeof t?t(e):t&&(t.current=e)}),[t]),[P,k]=o.useState(!1),{margin:T,cells:z,numCells:F,calculatedImageSettings:D}=R({value:r,level:s,minVersion:d,boostLevel:p,includeMargin:l,marginSize:M,imageSettings:_,size:i});o.useEffect((()=>{if(null!=I.current){const e=I.current,t=e.getContext("2d");if(!t)return;let n=z;const r=N.current,o=null!=D&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;o&&null!=D.excavation&&(n=C(z,D.excavation));const s=window.devicePixelRatio||1;e.height=e.width=i*s;const l=i/F*s;t.scale(l,l),t.fillStyle=a,t.fillRect(0,0,F,F),t.fillStyle=c,b?t.fill(new Path2D(E(n,T))):z.forEach((function(e,n){e.forEach((function(e,r){e&&t.fillRect(r+T,n+T,1,1)}))})),D&&(t.globalAlpha=D.opacity),o&&t.drawImage(r,D.x+T,D.y+T,D.w,D.h)}})),o.useEffect((()=>{k(!1)}),[A]);const U=u({height:i,width:i},S);let B=null;return null!=A&&(B=o.createElement("img",{src:A,key:A,style:{display:"none"},onLoad:()=>{k(!0)},ref:N,crossOrigin:null==D?void 0:D.crossOrigin})),o.createElement(o.Fragment,null,o.createElement("canvas",u({style:U,height:i,width:i,ref:L,role:"img"},x)),B)})).displayName="QRCodeCanvas";var M=o.forwardRef((function(e,t){const n=e,{value:r,size:i=f,level:s=g,bgColor:a=m,fgColor:c=v,includeMargin:l=y,minVersion:d=w,boostLevel:p,title:b,marginSize:M,imageSettings:_}=n,O=h(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:S,cells:x,numCells:A,calculatedImageSettings:I}=R({value:r,level:s,minVersion:d,boostLevel:p,includeMargin:l,marginSize:M,imageSettings:_,size:i});let N=x,L=null;null!=_&&null!=I&&(null!=I.excavation&&(N=C(x,I.excavation)),L=o.createElement("image",{href:_.src,height:I.h,width:I.w,x:I.x+S,y:I.y+S,preserveAspectRatio:"none",opacity:I.opacity,crossOrigin:I.crossOrigin}));const P=E(N,S);return o.createElement("svg",u({height:i,width:i,viewBox:`0 0 ${A} ${A}`,ref:t,role:"img"},O),!!b&&o.createElement("title",null,b),o.createElement("path",{fill:a,d:`M0,0 h${A}v${A}H0z`,shapeRendering:"crispEdges"}),o.createElement("path",{fill:c,d:P,shapeRendering:"crispEdges"}),L)}));M.displayName="QRCodeSVG"},39335:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(4883),o=n(12238),i=n.n(o),s=n(4146),a=n.n(s);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 l={},u=0;function h(e,t){return t=t||{},function(n){var o=n.displayName||n.name||"Component",s=function(o){var i,s;function a(e,t){var n;return(n=o.call(this,e,t)||this).state={},n.__scriptURL="",n}s=o,(i=a).prototype=Object.create(s.prototype),i.prototype.constructor=i,i.__proto__=s;var c=a.prototype;return c.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+u++),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=l[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,s=o.callbackName,a=o.scriptId;if(i&&void 0!==window[i]&&(l[n]={loaded:!0,observers:{}}),l[n]){var c=l[n];return c&&(c.loaded||c.errored)?void this.asyncScriptLoaderHandleLoad(c):void(c.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var u={};u[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},l[n]={loaded:!1,observers:u};var h=document.createElement("script");for(var d in h.src=n,h.async=!0,t.attributes)h.setAttribute(d,t.attributes[d]);a&&(h.id=a);var p=function(e){if(l[n]){var t=l[n].observers;for(var r in t)e(t[r])&&delete t[r]}};s&&"undefined"!=typeof window&&(window[s]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),h.onload=function(){var e=l[n];e&&(e.loaded=!0,p((function(t){return!s&&(t(e),!0)})))},h.onerror=function(){var e=l[n];e&&(e.errored=!0,p((function(t){return t(e),!0})))},document.body.appendChild(h)},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=l[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete l[e])},c.render=function(){var e=t.globalName,o=this.props,i=(o.asyncScriptOnLoad,o.forwardedRef),s=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&&(s[e]=void 0!==window[e]?window[e]:void 0),s.ref=i,(0,r.createElement)(n,s)},a}(r.Component),h=(0,r.forwardRef)((function(e,t){return(0,r.createElement)(s,c({},e,{forwardedRef:t}))}));return h.displayName="AsyncScriptLoader("+o+")",h.propTypes={asyncScriptOnLoad:i().func},a()(h,n)}}},42054:e=>{e.exports=function(e){return e.split("")}},49385:(e,t,n)=>{e.exports=n(22501)()},49698:e=>{e.exports=function(){return!1}},55808:(e,t,n)=>{var r=n(12507)("toUpperCase");e.exports=r},61074:e=>{e.exports=function(e){return e.split("")}},62006:(e,t,n)=>{var r=n(15389),o=n(64894),i=n(95950);e.exports=function(e){return function(t,n,s){var a=Object(t);if(!o(t)){var c=r(n,3);t=i(t),n=function(e){return c(a[e],e,a)}}var l=e(t,n,s);return l>-1?a[c?t[l]:l]:void 0}}},63912:(e,t,n)=>{var r=n(61074),o=n(49698),i=n(42054);e.exports=function(e){return o(e)?i(e):r(e)}},92297:(e,t,n)=>{var r=n(9325).isFinite;e.exports=function(e){return"number"==typeof e&&r(e)}},98931:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(32845),o=n(39335),i="onloadcallback";function s(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}const a=(0,o.A)((function(){var e=s(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+i+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+i+"&render=explicit"}),{callbackName:i,globalName:"grecaptcha",attributes:s().nonce?{nonce:s().nonce}:{}})(r.A)},99651:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(98931);n(32845);const o=r.A},99786:(e,t,n)=>{var r=n(83120),o=n(15389),i=n(69302),s=n(55765),a=n(83693),c=n(68090),l=i((function(e){var t=c(e);return a(t)&&(t=void 0),s(r(e,1,a,!0),o(t,2))}));e.exports=l}}]);
|