@tsocial/tvweb-sdk.nbcci 5.34.2 → 5.34.3
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.
|
@@ -15996,7 +15996,7 @@
|
|
|
15996
15996
|
strokeWidth: 1
|
|
15997
15997
|
};
|
|
15998
15998
|
|
|
15999
|
-
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y$1="data-styled-version",v$1="6.1.12",g$1="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$1(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$1(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$1(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$1(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he$1(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g$1);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g$1),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he$1(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g$1);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he$1(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he$1(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$1(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$1(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$1(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$1(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he$1(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he$1(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he$1(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$1=new Set;function it$2(e,r,s){var i=se$1(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$1.has(b)||!A$1.has(S)||(st$1.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$1=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$1(t))return ct$1(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$1(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he$1(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
|
|
15999
|
+
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y$1="data-styled-version",v$1="6.1.12",g$1="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$1(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$2(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$2(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$2(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he$1(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g$1);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g$1),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he$1(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g$1);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he$1(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he$1(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$2(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$1(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$2(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$1(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he$1(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he$1(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he$1(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$1=new Set;function it$2(e,r,s){var i=se$1(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$1.has(b)||!A$1.has(S)||(st$1.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$2=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$2(t))return ct$2(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$2(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he$1(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
|
|
16000
16000
|
|
|
16001
16001
|
var reactDom = {exports: {}};
|
|
16002
16002
|
|
|
@@ -18478,8 +18478,8 @@
|
|
|
18478
18478
|
};
|
|
18479
18479
|
}
|
|
18480
18480
|
function r3$1() {
|
|
18481
|
-
if (sN
|
|
18482
|
-
sN
|
|
18481
|
+
if (sN) return sM;
|
|
18482
|
+
sN = 1;
|
|
18483
18483
|
var e = rE$1(), t = rI$1(), r = oI$1 ? oB$1 : (oI$1 = 1, oB$1 = (oA$1 ? oE$1 : (oA$1 = 1, oE$1 = function(e) {
|
|
18484
18484
|
return function(t, r, n) {
|
|
18485
18485
|
for(var i = -1, a = Object(t), o = n(t), s = o.length; s--;){
|
|
@@ -18528,7 +18528,7 @@
|
|
|
18528
18528
|
};
|
|
18529
18529
|
}
|
|
18530
18530
|
function r5$1() {
|
|
18531
|
-
return sD ? sL
|
|
18531
|
+
return sD ? sL : (sD = 1, sL = function(e) {
|
|
18532
18532
|
return e;
|
|
18533
18533
|
});
|
|
18534
18534
|
}
|
|
@@ -18551,8 +18551,8 @@
|
|
|
18551
18551
|
if (sX$1) return sZ$1;
|
|
18552
18552
|
sX$1 = 1;
|
|
18553
18553
|
var e = r5$1(), t = function() {
|
|
18554
|
-
if (sV
|
|
18555
|
-
sV
|
|
18554
|
+
if (sV) return sj;
|
|
18555
|
+
sV = 1;
|
|
18556
18556
|
var e = r6$1(), t = Math.max;
|
|
18557
18557
|
return sj = function(r, n, i) {
|
|
18558
18558
|
return n = t(void 0 === n ? r.length - 1 : n, 0), function() {
|
|
@@ -18563,17 +18563,17 @@
|
|
|
18563
18563
|
};
|
|
18564
18564
|
};
|
|
18565
18565
|
}(), r = function() {
|
|
18566
|
-
if (sW
|
|
18567
|
-
sW
|
|
18566
|
+
if (sW) return sQ$1;
|
|
18567
|
+
sW = 1;
|
|
18568
18568
|
var e = function() {
|
|
18569
|
-
if (sK$1) return sz
|
|
18569
|
+
if (sK$1) return sz;
|
|
18570
18570
|
sK$1 = 1;
|
|
18571
|
-
var e = sq$1 ? sF
|
|
18571
|
+
var e = sq$1 ? sF : (sq$1 = 1, sF = function(e) {
|
|
18572
18572
|
return function() {
|
|
18573
18573
|
return e;
|
|
18574
18574
|
};
|
|
18575
18575
|
}), t = rA$1(), r = r5$1();
|
|
18576
|
-
return sz
|
|
18576
|
+
return sz = t ? function(r, n) {
|
|
18577
18577
|
return t(r, "toString", {
|
|
18578
18578
|
configurable: !0,
|
|
18579
18579
|
enumerable: !1,
|
|
@@ -30664,11 +30664,11 @@
|
|
|
30664
30664
|
}(n);
|
|
30665
30665
|
}
|
|
30666
30666
|
function nm$1() {
|
|
30667
|
-
if (cr) return ct;
|
|
30668
|
-
cr = 1;
|
|
30667
|
+
if (cr$1) return ct$1;
|
|
30668
|
+
cr$1 = 1;
|
|
30669
30669
|
var e = r2$1(), t = function() {
|
|
30670
|
-
if (ce) return s7$1;
|
|
30671
|
-
ce = 1;
|
|
30670
|
+
if (ce$1) return s7$1;
|
|
30671
|
+
ce$1 = 1;
|
|
30672
30672
|
var e = rU$1(), t = s9$1 ? s8$1 : (s9$1 = 1, s8$1 = rD$1()(Object.keys, Object)), r = Object.prototype.hasOwnProperty;
|
|
30673
30673
|
return s7$1 = function(n) {
|
|
30674
30674
|
if (!e(n)) return t(n);
|
|
@@ -30677,7 +30677,7 @@
|
|
|
30677
30677
|
return i;
|
|
30678
30678
|
};
|
|
30679
30679
|
}(), r = rK$1();
|
|
30680
|
-
return ct = function(n) {
|
|
30680
|
+
return ct$1 = function(n) {
|
|
30681
30681
|
return r(n) ? e(n) : t(n);
|
|
30682
30682
|
};
|
|
30683
30683
|
}
|
|
@@ -30781,19 +30781,19 @@
|
|
|
30781
30781
|
var e = function() {
|
|
30782
30782
|
if (c2) return c1;
|
|
30783
30783
|
c2 = 1;
|
|
30784
|
-
var e = rE$1(), t = s6 ? s5$1 : (s6 = 1, s5$1 = function(e, t) {
|
|
30784
|
+
var e = rE$1(), t = s6$1 ? s5$1 : (s6$1 = 1, s5$1 = function(e, t) {
|
|
30785
30785
|
for(var r = -1, n = null == e ? 0 : e.length; ++r < n && !1 !== t(e[r], r, e););
|
|
30786
30786
|
return e;
|
|
30787
30787
|
}), r = rJ$1(), n = function() {
|
|
30788
|
-
if (ci) return cn;
|
|
30788
|
+
if (ci) return cn$1;
|
|
30789
30789
|
ci = 1;
|
|
30790
30790
|
var e = r0$1(), t = nm$1();
|
|
30791
|
-
return cn = function(r, n) {
|
|
30791
|
+
return cn$1 = function(r, n) {
|
|
30792
30792
|
return r && e(n, t(n), r);
|
|
30793
30793
|
};
|
|
30794
30794
|
}(), i = function() {
|
|
30795
|
-
if (co) return ca;
|
|
30796
|
-
co = 1;
|
|
30795
|
+
if (co$1) return ca;
|
|
30796
|
+
co$1 = 1;
|
|
30797
30797
|
var e = r0$1(), t = r4$1();
|
|
30798
30798
|
return ca = function(r, n) {
|
|
30799
30799
|
return r && e(n, t(n), r);
|
|
@@ -33783,7 +33783,7 @@
|
|
|
33783
33783
|
}, nS$1;
|
|
33784
33784
|
}();
|
|
33785
33785
|
function nB$1() {
|
|
33786
|
-
return "5.34.
|
|
33786
|
+
return "5.34.3";
|
|
33787
33787
|
}
|
|
33788
33788
|
function nI$1() {
|
|
33789
33789
|
return {
|
|
@@ -37228,7 +37228,7 @@
|
|
|
37228
37228
|
}
|
|
37229
37229
|
return 1 === n && (r += i2(i << 2)), r;
|
|
37230
37230
|
}
|
|
37231
|
-
var i3, i5, i6$1, i8$1, i9$1, i7$1, ae$1, at$1, ar$1, an$1, ai$1, aa$1, ao$1, as$1, ac$1, al$1, au$1, ad$1, af, ah, ap, am$1, ag$1, ay$1, ab$1, av$1, a_$1, ax$1, aC$1, aw$1, aS$1, ak$1, aE$1, aA$1, aB$1, aI$1, aT$1, aP$1, aR$1, aM$1, aN$1, aL$1, aD$1, aO$1, aU$1, aj$1, aV$1, aF$1, aq, az$1, aK, aH, aG, aQ, aW$1, aZ$1, aX, a$$1, aY, aJ, a0, a1, a2, a4, a3, a5, a6$1, a8, a9, a7, oe$1, ot$1, or$1, on$1, oi$1, oa$1, oo$1, os$1, oc$1, ol$1, ou$1, od$1, of$1, oh$1, op$1, om$1, og$1, oy$1, ob$1, ov$1, o_$1, ox$1, oC$1, ow$1, oS$1, ok$1, oE$1, oA$1, oB$1, oI$1, oT$1, oP$1, oR$1, oM$1, oN$1, oL$1, oD$1, oO$1, oU, oj$1, oV$1, oF$1, oq$1, oz$1, oK$1, oH$1, oG$1, oQ$1, oW$1, oZ$1, oX$1, o$$1, oY$1, oJ$1, o0$1, o1$1, o2$1, o4$1, o3$1, o5$1, o6$1, o8$1, o9$1, o7$1, se, st, sr$1, sn, si, sa, so$1, ss, sc, sl, su, sd$1, sf, sh, sp, sm, sg, sy, sb, sv, s_, sx, sC, sw, sS, sk, sE, sA, sB, sI, sT, sP, sR, sM, sN
|
|
37231
|
+
var i3, i5, i6$1, i8$1, i9$1, i7$1, ae$1, at$1, ar$1, an$1, ai$1, aa$1, ao$1, as$1, ac$1, al$1, au$1, ad$1, af, ah, ap, am$1, ag$1, ay$1, ab$1, av$1, a_$1, ax$1, aC$1, aw$1, aS$1, ak$1, aE$1, aA$1, aB$1, aI$1, aT$1, aP$1, aR$1, aM$1, aN$1, aL$1, aD$1, aO$1, aU$1, aj$1, aV$1, aF$1, aq, az$1, aK, aH, aG, aQ, aW$1, aZ$1, aX, a$$1, aY, aJ, a0, a1, a2, a4, a3, a5, a6$1, a8, a9, a7, oe$1, ot$1, or$1, on$1, oi$1, oa$1, oo$1, os$1, oc$1, ol$1, ou$1, od$1, of$1, oh$1, op$1, om$1, og$1, oy$1, ob$1, ov$1, o_$1, ox$1, oC$1, ow$1, oS$1, ok$1, oE$1, oA$1, oB$1, oI$1, oT$1, oP$1, oR$1, oM$1, oN$1, oL$1, oD$1, oO$1, oU, oj$1, oV$1, oF$1, oq$1, oz$1, oK$1, oH$1, oG$1, oQ$1, oW$1, oZ$1, oX$1, o$$1, oY$1, oJ$1, o0$1, o1$1, o2$1, o4$1, o3$1, o5$1, o6$1, o8$1, o9$1, o7$1, se, st, sr$1, sn, si, sa, so$1, ss, sc, sl, su, sd$1, sf, sh, sp, sm, sg, sy, sb, sv, s_, sx, sC, sw, sS, sk, sE, sA, sB, sI, sT, sP, sR, sM, sN, sL, sD, sO, sU$1, sj, sV, sF, sq$1, sz, sK$1, sH$1, sG$1, sQ$1, sW, sZ$1, sX$1, s$, sY$1, sJ$1, s0$1, s1$1, s2$1, s4$1, s3$1, s5$1, s6$1, s8$1, s9$1, s7$1, ce$1, ct$1, cr$1, cn$1, ci, ca, co$1, cs, cc, cl, cu, cd, cf, ch, cp, cm, cg, cy, cb, cv, c_, cx, cC, cw, cS, ck, cE, cA, cB, cI, cT, cP, cR, cM, cN, cL, cD, cO, cU, cj, cV, cF, cq, cz, cK, cH, cG, cQ, cW, cZ, cX, c$, cY, cJ, c0, c1, c2, c4, c3, c5, c6, c8, c9, c7, le, lt, lr, ln, li, la, lo, ls, lc, ll, lu, ld, lf, lh, lp, lm, lg, ly, lb, lv, l_, lx, lC, lw, lS, lk, lE, lA, lB, lI, lT, lP, lR, lM, lN, lL, lD, lO, lU, lj, lV, lF, lq, lz, lK, lH, lG, lQ, lW, lZ, lX, l$, lY, lJ, l0, l1, l2, l4, l3, l5, l6, l8, l9, l7, ue, ut, ur, un, ui, ua, uo, us, uc, ul, uu, ud, uf, uh, up, um, ug, uy, ub, uv, u_, ux, uC, uw, uS, uk, uE, uA, uB, uI, uT, uP, uR, uM, uN, uL, uD, uO, uU, uj, uV, uF, uq, uz, uK, uH, uG = {}, uQ = {}, uW = {
|
|
37232
37232
|
exports: {}
|
|
37233
37233
|
}, uZ = function(e) {
|
|
37234
37234
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
@@ -41259,55 +41259,54 @@
|
|
|
41259
41259
|
}, uz;
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
|
-
|
|
41263
|
-
|
|
41264
|
-
|
|
41265
|
-
|
|
41262
|
+
let dm = dg;
|
|
41263
|
+
function dg(e, t) {
|
|
41264
|
+
let r = dy();
|
|
41265
|
+
return (dg = function(e, t) {
|
|
41266
|
+
return r[e -= 367];
|
|
41266
41267
|
})(e, t);
|
|
41267
41268
|
}
|
|
41268
|
-
|
|
41269
|
-
for(;;)try {
|
|
41270
|
-
if (parseInt(dy(148)) / 1 + -parseInt(dy(139)) / 2 * (parseInt(dy(145)) / 3) + parseInt(dy(142)) / 4 * (parseInt(dy(152)) / 5) + -parseInt(dy(151)) / 6 * (-parseInt(dy(135)) / 7) + parseInt(dy(153)) / 8 + parseInt(dy(143)) / 9 + parseInt(dy(140)) / 10 * (-parseInt(dy(146)) / 11) === 427361) break;
|
|
41271
|
-
db.push(db.shift());
|
|
41272
|
-
} catch (e) {
|
|
41273
|
-
db.push(db.shift());
|
|
41274
|
-
}
|
|
41275
|
-
let dv = "3059301306" + dg(155) + dg(158) + dg(149) + dg(141) + dg(138);
|
|
41276
|
-
function d_() {
|
|
41269
|
+
function dy() {
|
|
41277
41270
|
let e = [
|
|
41271
|
+
"44P0rKKsZK",
|
|
41272
|
+
"MfPrcYTM70",
|
|
41273
|
+
"KoZIzj0DAQ",
|
|
41274
|
+
"4507063dEvzaV",
|
|
41275
|
+
"072a8648ce",
|
|
41276
|
+
"223235rNcaea",
|
|
41278
41277
|
"DepBO8t60S",
|
|
41279
|
-
"+faHkP3QC3",
|
|
41280
|
-
"000",
|
|
41281
|
-
"31908xDrygd",
|
|
41282
|
-
"2930470GEgndS",
|
|
41283
|
-
"0301070342",
|
|
41284
|
-
"307984TfAgvv",
|
|
41285
|
-
"1093680AINEzz",
|
|
41286
|
-
"MFkwEwYHKo",
|
|
41287
|
-
"141ReoysE",
|
|
41288
|
-
"11VpLjnk",
|
|
41289
41278
|
"ZIzj0CAQYI",
|
|
41290
|
-
"
|
|
41291
|
-
"
|
|
41292
|
-
"ytJdcsPxrD",
|
|
41293
|
-
"7698TiAaFt",
|
|
41294
|
-
"20wWFtwC",
|
|
41295
|
-
"4767024oXzIYB",
|
|
41296
|
-
"ssRdXLZEX8",
|
|
41297
|
-
"072a8648ce",
|
|
41279
|
+
"52vAzYCl",
|
|
41280
|
+
"4102938twVDjD",
|
|
41298
41281
|
"Mjci1ul8mm",
|
|
41282
|
+
"2a8648ce3d",
|
|
41283
|
+
"000",
|
|
41284
|
+
"75825zTCCpR",
|
|
41299
41285
|
"D9EKOWS+U4",
|
|
41286
|
+
"9EzrkuM",
|
|
41287
|
+
"0301070342",
|
|
41288
|
+
"8QVfurr",
|
|
41300
41289
|
"3d02010608",
|
|
41301
|
-
"
|
|
41302
|
-
"44P0rKKsZK",
|
|
41290
|
+
"7975860ZUkdQz",
|
|
41303
41291
|
"cDQgAE9h6Z",
|
|
41304
|
-
"
|
|
41292
|
+
"66TBiIus",
|
|
41293
|
+
"ssRdXLZEX8",
|
|
41294
|
+
"ytJdcsPxrD",
|
|
41295
|
+
"937803kIgQTZ",
|
|
41296
|
+
"4563906dowYkq"
|
|
41305
41297
|
];
|
|
41306
|
-
return (
|
|
41298
|
+
return (dy = function() {
|
|
41307
41299
|
return e;
|
|
41308
41300
|
})();
|
|
41309
41301
|
}
|
|
41310
|
-
let
|
|
41302
|
+
let db = dg, dv = dy();
|
|
41303
|
+
for(;;)try {
|
|
41304
|
+
if (-parseInt(db(368)) / 1 + -parseInt(db(391)) / 2 * (-parseInt(db(383)) / 3) + -parseInt(db(378)) / 4 * (-parseInt(db(375)) / 5) + parseInt(db(369)) / 6 + -parseInt(db(379)) / 7 * (-parseInt(db(387)) / 8) + parseInt(db(385)) / 9 * (-parseInt(db(389)) / 10) + -parseInt(db(373)) / 11 === 616149) break;
|
|
41305
|
+
dv.push(dv.shift());
|
|
41306
|
+
} catch (e) {
|
|
41307
|
+
dv.push(dv.shift());
|
|
41308
|
+
}
|
|
41309
|
+
let d_ = "3059301306" + dm(374) + dm(388) + dm(381) + dm(386) + dm(382), dx = "MFkwEwYHKo" + dm(377) + dm(372) + dm(390) + dm(376) + dm(367) + "+faHkP3QC3" + dm(370) + dm(380) + dm(384) + dm(371) + dm(392) + "KA==";
|
|
41311
41310
|
async function dC(e) {
|
|
41312
41311
|
let t = new TextEncoder().encode(e);
|
|
41313
41312
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41412,7 +41411,7 @@
|
|
|
41412
41411
|
isValid: !1,
|
|
41413
41412
|
error: i0$1.invalid_license
|
|
41414
41413
|
};
|
|
41415
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(
|
|
41414
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(d_, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41416
41415
|
verifySignature: async (e, t)=>{
|
|
41417
41416
|
try {
|
|
41418
41417
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -45326,7 +45325,7 @@
|
|
|
45326
45325
|
return this.getKey().getPublicKey();
|
|
45327
45326
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45328
45327
|
return this.getKey().getPublicBaseKeyB64();
|
|
45329
|
-
}, e.version = "5.34.
|
|
45328
|
+
}, e.version = "5.34.2", e;
|
|
45330
45329
|
}();
|
|
45331
45330
|
let hO = [
|
|
45332
45331
|
"-",
|
|
@@ -53098,7 +53097,7 @@
|
|
|
53098
53097
|
});
|
|
53099
53098
|
};
|
|
53100
53099
|
|
|
53101
|
-
var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu,
|
|
53100
|
+
var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu, ef, ep, eh, em, eg, eb, ev, ew, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, ej, eI, eO, eM, eA, eR, eL, eF, eN, ez, eV, eW, eU, eq, eQ, eX, eH, eG, eZ, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e7, e6, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tf, tp, th, tm, tg, tb, tv, tw, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tj, tI, tO, tM, tA, tR, tL, tF, tN, tz, tV, tW, tU, tq, tQ, tX, tH, tG, tZ, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t7, t6, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rf, rp, rh, rm, rg, rb, rv, rw, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rj, rI, rO, rM, rA, rR, rL, rF, rN, rz, rV, rW, rU, rq, rQ, rX, rH, rG, rZ, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r7, r6, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, of, op, oh, om, og, ob, ov, ow, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oj, oI, oO, oM, oA, oR, oL, oF, oN, oz, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
|
|
53102
53101
|
function oX(t) {
|
|
53103
53102
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
53104
53103
|
}
|
|
@@ -53177,7 +53176,7 @@
|
|
|
53177
53176
|
};
|
|
53178
53177
|
}
|
|
53179
53178
|
function o5() {
|
|
53180
|
-
return
|
|
53179
|
+
return ep ? ef : (ep = 1, ef = function(t) {
|
|
53181
53180
|
return null != t && "object" == typeof t;
|
|
53182
53181
|
});
|
|
53183
53182
|
}
|
|
@@ -53409,10 +53408,10 @@
|
|
|
53409
53408
|
return t(this, r).get(r);
|
|
53410
53409
|
};
|
|
53411
53410
|
}(), n = function() {
|
|
53412
|
-
if (
|
|
53413
|
-
|
|
53411
|
+
if (tp) return tf;
|
|
53412
|
+
tp = 1;
|
|
53414
53413
|
var t = nr();
|
|
53415
|
-
return
|
|
53414
|
+
return tf = function(r) {
|
|
53416
53415
|
return t(this, r).has(r);
|
|
53417
53416
|
};
|
|
53418
53417
|
}(), i = function() {
|
|
@@ -53555,16 +53554,16 @@
|
|
|
53555
53554
|
function nc(t, r) {
|
|
53556
53555
|
return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
53557
53556
|
}
|
|
53558
|
-
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted",
|
|
53557
|
+
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
|
|
53559
53558
|
function o(t, o) {
|
|
53560
53559
|
var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
|
|
53561
|
-
return i.appearStatus = null, t.in ? a ? (n =
|
|
53560
|
+
return i.appearStatus = null, t.in ? a ? (n = nf, i.appearStatus = np) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : nf, i.state = {
|
|
53562
53561
|
status: n
|
|
53563
53562
|
}, i.nextCallback = null, i;
|
|
53564
53563
|
}
|
|
53565
53564
|
ns(o, r), o.getDerivedStateFromProps = function(t, r) {
|
|
53566
53565
|
return t.in && r.status === nu ? {
|
|
53567
|
-
status:
|
|
53566
|
+
status: nf
|
|
53568
53567
|
} : null;
|
|
53569
53568
|
};
|
|
53570
53569
|
var n = o.prototype;
|
|
@@ -53574,7 +53573,7 @@
|
|
|
53574
53573
|
var r = null;
|
|
53575
53574
|
if (t !== this.props) {
|
|
53576
53575
|
var o = this.state.status;
|
|
53577
|
-
this.props.in ? o !==
|
|
53576
|
+
this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
|
|
53578
53577
|
}
|
|
53579
53578
|
this.updateStatus(!1, r);
|
|
53580
53579
|
}, n.componentWillUnmount = function() {
|
|
@@ -53587,7 +53586,7 @@
|
|
|
53587
53586
|
appear: o
|
|
53588
53587
|
};
|
|
53589
53588
|
}, n.updateStatus = function(t, r) {
|
|
53590
|
-
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r ===
|
|
53589
|
+
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r === np ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === nf && this.setState({
|
|
53591
53590
|
status: nu
|
|
53592
53591
|
});
|
|
53593
53592
|
}, n.performEnter = function(t) {
|
|
@@ -53598,7 +53597,7 @@
|
|
|
53598
53597
|
n
|
|
53599
53598
|
], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
|
|
53600
53599
|
(t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
|
|
53601
|
-
status:
|
|
53600
|
+
status: np
|
|
53602
53601
|
}, function() {
|
|
53603
53602
|
r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
|
|
53604
53603
|
r.safeSetState({
|
|
@@ -53615,7 +53614,7 @@
|
|
|
53615
53614
|
}, n.performExit = function() {
|
|
53616
53615
|
var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
|
|
53617
53616
|
!r || nl ? this.safeSetState({
|
|
53618
|
-
status:
|
|
53617
|
+
status: nf
|
|
53619
53618
|
}, function() {
|
|
53620
53619
|
t.props.onExited(n);
|
|
53621
53620
|
}) : (this.props.onExit(n), this.safeSetState({
|
|
@@ -53623,7 +53622,7 @@
|
|
|
53623
53622
|
}, function() {
|
|
53624
53623
|
t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
|
|
53625
53624
|
t.safeSetState({
|
|
53626
|
-
status:
|
|
53625
|
+
status: nf
|
|
53627
53626
|
}, function() {
|
|
53628
53627
|
t.props.onExited(n);
|
|
53629
53628
|
});
|
|
@@ -53696,7 +53695,7 @@
|
|
|
53696
53695
|
onExit: nb,
|
|
53697
53696
|
onExiting: nb,
|
|
53698
53697
|
onExited: nb
|
|
53699
|
-
}, ng.UNMOUNTED = nu, ng.EXITED =
|
|
53698
|
+
}, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
|
|
53700
53699
|
var nv = function(t, r) {
|
|
53701
53700
|
return t && r && r.split(" ").forEach(function(r) {
|
|
53702
53701
|
var o, n;
|
|
@@ -53791,7 +53790,7 @@
|
|
|
53791
53790
|
return /*#__PURE__*/ React.cloneElement(o, {
|
|
53792
53791
|
in: !1,
|
|
53793
53792
|
onExited: nC(o, "onExited", function() {
|
|
53794
|
-
n(
|
|
53793
|
+
n(np, null);
|
|
53795
53794
|
})
|
|
53796
53795
|
});
|
|
53797
53796
|
}, tL[ny] = function(r) {
|
|
@@ -53801,7 +53800,7 @@
|
|
|
53801
53800
|
/*#__PURE__*/ React.cloneElement(i, {
|
|
53802
53801
|
in: !0,
|
|
53803
53802
|
onEntered: nC(i, "onEntered", function() {
|
|
53804
|
-
n(
|
|
53803
|
+
n(np);
|
|
53805
53804
|
})
|
|
53806
53805
|
})
|
|
53807
53806
|
];
|
|
@@ -53854,8 +53853,8 @@
|
|
|
53854
53853
|
if (null == r.children) return {
|
|
53855
53854
|
current: null
|
|
53856
53855
|
};
|
|
53857
|
-
if (o.status ===
|
|
53858
|
-
status:
|
|
53856
|
+
if (o.status === np && r.mode === ny) return {
|
|
53857
|
+
status: np
|
|
53859
53858
|
};
|
|
53860
53859
|
return o.current && (n = o.current, !(n === (i = r.children) || /*#__PURE__*/ React.isValidElement(n) && /*#__PURE__*/ React.isValidElement(i) && null != n.key && n.key === i.key) && 1) ? {
|
|
53861
53860
|
status: nm
|
|
@@ -53872,7 +53871,7 @@
|
|
|
53872
53871
|
status: s
|
|
53873
53872
|
};
|
|
53874
53873
|
switch(s){
|
|
53875
|
-
case
|
|
53874
|
+
case np:
|
|
53876
53875
|
r = n_[i](l);
|
|
53877
53876
|
break;
|
|
53878
53877
|
case nm:
|
|
@@ -53902,7 +53901,7 @@
|
|
|
53902
53901
|
var t, r;
|
|
53903
53902
|
if (tN) return nS.exports;
|
|
53904
53903
|
return tN = 1, t = nS, r = nS.exports, function(o, n) {
|
|
53905
|
-
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name",
|
|
53904
|
+
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name", f = "type", p = "vendor", h = "version", m = "architecture", g = "console", b = "mobile", v = "tablet", w = "smarttv", k = "wearable", y = "embedded", C = "Amazon", B = "Apple", _ = "ASUS", x = "BlackBerry", P = "Browser", S = "Chrome", E = "Firefox", T = "Google", D = "Huawei", $ = "Microsoft", j = "Motorola", I = "Opera", O = "Samsung", M = "Sharp", A = "Sony", R = "Xiaomi", L = "Zebra", F = "Facebook", N = "Chromium OS", z = "Mac OS", V = function(t, r) {
|
|
53906
53905
|
var o = {};
|
|
53907
53906
|
for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
|
|
53908
53907
|
return o;
|
|
@@ -53917,9 +53916,9 @@
|
|
|
53917
53916
|
if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
|
|
53918
53917
|
}, X = function(t, r) {
|
|
53919
53918
|
for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
|
|
53920
|
-
var
|
|
53921
|
-
for(o = n = 0; o <
|
|
53922
|
-
if (l =
|
|
53919
|
+
var f = r[u], p = r[u + 1];
|
|
53920
|
+
for(o = n = 0; o < f.length && !l && f[o];){
|
|
53921
|
+
if (l = f[o++].exec(t)) for(a = 0; a < p.length; a++)d = l[++n], typeof (c = p[a]) === s && c.length > 0 ? 2 === c.length ? typeof c[1] == i ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : 3 === c.length ? typeof c[1] !== i || c[1].exec && c[1].test ? this[c[0]] = d ? d.replace(c[1], c[2]) : void 0 : this[c[0]] = d ? c[1].call(this, d, c[2]) : void 0 : 4 === c.length && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : void 0) : this[c] = d || void 0;
|
|
53923
53922
|
}
|
|
53924
53923
|
u += 2;
|
|
53925
53924
|
}
|
|
@@ -54503,11 +54502,11 @@
|
|
|
54503
54502
|
[
|
|
54504
54503
|
d,
|
|
54505
54504
|
[
|
|
54506
|
-
|
|
54505
|
+
p,
|
|
54507
54506
|
O
|
|
54508
54507
|
],
|
|
54509
54508
|
[
|
|
54510
|
-
|
|
54509
|
+
f,
|
|
54511
54510
|
v
|
|
54512
54511
|
]
|
|
54513
54512
|
],
|
|
@@ -54519,11 +54518,11 @@
|
|
|
54519
54518
|
[
|
|
54520
54519
|
d,
|
|
54521
54520
|
[
|
|
54522
|
-
|
|
54521
|
+
p,
|
|
54523
54522
|
O
|
|
54524
54523
|
],
|
|
54525
54524
|
[
|
|
54526
|
-
|
|
54525
|
+
f,
|
|
54527
54526
|
b
|
|
54528
54527
|
]
|
|
54529
54528
|
],
|
|
@@ -54533,11 +54532,11 @@
|
|
|
54533
54532
|
[
|
|
54534
54533
|
d,
|
|
54535
54534
|
[
|
|
54536
|
-
|
|
54535
|
+
p,
|
|
54537
54536
|
B
|
|
54538
54537
|
],
|
|
54539
54538
|
[
|
|
54540
|
-
|
|
54539
|
+
f,
|
|
54541
54540
|
b
|
|
54542
54541
|
]
|
|
54543
54542
|
],
|
|
@@ -54549,11 +54548,11 @@
|
|
|
54549
54548
|
[
|
|
54550
54549
|
d,
|
|
54551
54550
|
[
|
|
54552
|
-
|
|
54551
|
+
p,
|
|
54553
54552
|
B
|
|
54554
54553
|
],
|
|
54555
54554
|
[
|
|
54556
|
-
|
|
54555
|
+
f,
|
|
54557
54556
|
v
|
|
54558
54557
|
]
|
|
54559
54558
|
],
|
|
@@ -54563,7 +54562,7 @@
|
|
|
54563
54562
|
[
|
|
54564
54563
|
d,
|
|
54565
54564
|
[
|
|
54566
|
-
|
|
54565
|
+
p,
|
|
54567
54566
|
B
|
|
54568
54567
|
]
|
|
54569
54568
|
],
|
|
@@ -54573,11 +54572,11 @@
|
|
|
54573
54572
|
[
|
|
54574
54573
|
d,
|
|
54575
54574
|
[
|
|
54576
|
-
|
|
54575
|
+
p,
|
|
54577
54576
|
M
|
|
54578
54577
|
],
|
|
54579
54578
|
[
|
|
54580
|
-
|
|
54579
|
+
f,
|
|
54581
54580
|
b
|
|
54582
54581
|
]
|
|
54583
54582
|
],
|
|
@@ -54587,11 +54586,11 @@
|
|
|
54587
54586
|
[
|
|
54588
54587
|
d,
|
|
54589
54588
|
[
|
|
54590
|
-
|
|
54589
|
+
p,
|
|
54591
54590
|
D
|
|
54592
54591
|
],
|
|
54593
54592
|
[
|
|
54594
|
-
|
|
54593
|
+
f,
|
|
54595
54594
|
v
|
|
54596
54595
|
]
|
|
54597
54596
|
],
|
|
@@ -54602,11 +54601,11 @@
|
|
|
54602
54601
|
[
|
|
54603
54602
|
d,
|
|
54604
54603
|
[
|
|
54605
|
-
|
|
54604
|
+
p,
|
|
54606
54605
|
D
|
|
54607
54606
|
],
|
|
54608
54607
|
[
|
|
54609
|
-
|
|
54608
|
+
f,
|
|
54610
54609
|
b
|
|
54611
54610
|
]
|
|
54612
54611
|
],
|
|
@@ -54625,11 +54624,11 @@
|
|
|
54625
54624
|
" "
|
|
54626
54625
|
],
|
|
54627
54626
|
[
|
|
54628
|
-
|
|
54627
|
+
p,
|
|
54629
54628
|
R
|
|
54630
54629
|
],
|
|
54631
54630
|
[
|
|
54632
|
-
|
|
54631
|
+
f,
|
|
54633
54632
|
b
|
|
54634
54633
|
]
|
|
54635
54634
|
],
|
|
@@ -54644,11 +54643,11 @@
|
|
|
54644
54643
|
" "
|
|
54645
54644
|
],
|
|
54646
54645
|
[
|
|
54647
|
-
|
|
54646
|
+
p,
|
|
54648
54647
|
R
|
|
54649
54648
|
],
|
|
54650
54649
|
[
|
|
54651
|
-
|
|
54650
|
+
f,
|
|
54652
54651
|
v
|
|
54653
54652
|
]
|
|
54654
54653
|
],
|
|
@@ -54659,11 +54658,11 @@
|
|
|
54659
54658
|
[
|
|
54660
54659
|
d,
|
|
54661
54660
|
[
|
|
54662
|
-
|
|
54661
|
+
p,
|
|
54663
54662
|
"OPPO"
|
|
54664
54663
|
],
|
|
54665
54664
|
[
|
|
54666
|
-
|
|
54665
|
+
f,
|
|
54667
54666
|
b
|
|
54668
54667
|
]
|
|
54669
54668
|
],
|
|
@@ -54674,11 +54673,11 @@
|
|
|
54674
54673
|
[
|
|
54675
54674
|
d,
|
|
54676
54675
|
[
|
|
54677
|
-
|
|
54676
|
+
p,
|
|
54678
54677
|
"Vivo"
|
|
54679
54678
|
],
|
|
54680
54679
|
[
|
|
54681
|
-
|
|
54680
|
+
f,
|
|
54682
54681
|
b
|
|
54683
54682
|
]
|
|
54684
54683
|
],
|
|
@@ -54688,11 +54687,11 @@
|
|
|
54688
54687
|
[
|
|
54689
54688
|
d,
|
|
54690
54689
|
[
|
|
54691
|
-
|
|
54690
|
+
p,
|
|
54692
54691
|
"Realme"
|
|
54693
54692
|
],
|
|
54694
54693
|
[
|
|
54695
|
-
|
|
54694
|
+
f,
|
|
54696
54695
|
b
|
|
54697
54696
|
]
|
|
54698
54697
|
],
|
|
@@ -54704,11 +54703,11 @@
|
|
|
54704
54703
|
[
|
|
54705
54704
|
d,
|
|
54706
54705
|
[
|
|
54707
|
-
|
|
54706
|
+
p,
|
|
54708
54707
|
j
|
|
54709
54708
|
],
|
|
54710
54709
|
[
|
|
54711
|
-
|
|
54710
|
+
f,
|
|
54712
54711
|
b
|
|
54713
54712
|
]
|
|
54714
54713
|
],
|
|
@@ -54718,11 +54717,11 @@
|
|
|
54718
54717
|
[
|
|
54719
54718
|
d,
|
|
54720
54719
|
[
|
|
54721
|
-
|
|
54720
|
+
p,
|
|
54722
54721
|
j
|
|
54723
54722
|
],
|
|
54724
54723
|
[
|
|
54725
|
-
|
|
54724
|
+
f,
|
|
54726
54725
|
v
|
|
54727
54726
|
]
|
|
54728
54727
|
],
|
|
@@ -54732,11 +54731,11 @@
|
|
|
54732
54731
|
[
|
|
54733
54732
|
d,
|
|
54734
54733
|
[
|
|
54735
|
-
|
|
54734
|
+
p,
|
|
54736
54735
|
"LG"
|
|
54737
54736
|
],
|
|
54738
54737
|
[
|
|
54739
|
-
|
|
54738
|
+
f,
|
|
54740
54739
|
v
|
|
54741
54740
|
]
|
|
54742
54741
|
],
|
|
@@ -54748,11 +54747,11 @@
|
|
|
54748
54747
|
[
|
|
54749
54748
|
d,
|
|
54750
54749
|
[
|
|
54751
|
-
|
|
54750
|
+
p,
|
|
54752
54751
|
"LG"
|
|
54753
54752
|
],
|
|
54754
54753
|
[
|
|
54755
|
-
|
|
54754
|
+
f,
|
|
54756
54755
|
b
|
|
54757
54756
|
]
|
|
54758
54757
|
],
|
|
@@ -54763,11 +54762,11 @@
|
|
|
54763
54762
|
[
|
|
54764
54763
|
d,
|
|
54765
54764
|
[
|
|
54766
|
-
|
|
54765
|
+
p,
|
|
54767
54766
|
"Lenovo"
|
|
54768
54767
|
],
|
|
54769
54768
|
[
|
|
54770
|
-
|
|
54769
|
+
f,
|
|
54771
54770
|
v
|
|
54772
54771
|
]
|
|
54773
54772
|
],
|
|
@@ -54782,11 +54781,11 @@
|
|
|
54782
54781
|
" "
|
|
54783
54782
|
],
|
|
54784
54783
|
[
|
|
54785
|
-
|
|
54784
|
+
p,
|
|
54786
54785
|
"Nokia"
|
|
54787
54786
|
],
|
|
54788
54787
|
[
|
|
54789
|
-
|
|
54788
|
+
f,
|
|
54790
54789
|
b
|
|
54791
54790
|
]
|
|
54792
54791
|
],
|
|
@@ -54796,11 +54795,11 @@
|
|
|
54796
54795
|
[
|
|
54797
54796
|
d,
|
|
54798
54797
|
[
|
|
54799
|
-
|
|
54798
|
+
p,
|
|
54800
54799
|
T
|
|
54801
54800
|
],
|
|
54802
54801
|
[
|
|
54803
|
-
|
|
54802
|
+
f,
|
|
54804
54803
|
v
|
|
54805
54804
|
]
|
|
54806
54805
|
],
|
|
@@ -54810,11 +54809,11 @@
|
|
|
54810
54809
|
[
|
|
54811
54810
|
d,
|
|
54812
54811
|
[
|
|
54813
|
-
|
|
54812
|
+
p,
|
|
54814
54813
|
T
|
|
54815
54814
|
],
|
|
54816
54815
|
[
|
|
54817
|
-
|
|
54816
|
+
f,
|
|
54818
54817
|
b
|
|
54819
54818
|
]
|
|
54820
54819
|
],
|
|
@@ -54824,11 +54823,11 @@
|
|
|
54824
54823
|
[
|
|
54825
54824
|
d,
|
|
54826
54825
|
[
|
|
54827
|
-
|
|
54826
|
+
p,
|
|
54828
54827
|
A
|
|
54829
54828
|
],
|
|
54830
54829
|
[
|
|
54831
|
-
|
|
54830
|
+
f,
|
|
54832
54831
|
b
|
|
54833
54832
|
]
|
|
54834
54833
|
],
|
|
@@ -54842,11 +54841,11 @@
|
|
|
54842
54841
|
"Xperia Tablet"
|
|
54843
54842
|
],
|
|
54844
54843
|
[
|
|
54845
|
-
|
|
54844
|
+
p,
|
|
54846
54845
|
A
|
|
54847
54846
|
],
|
|
54848
54847
|
[
|
|
54849
|
-
|
|
54848
|
+
f,
|
|
54850
54849
|
v
|
|
54851
54850
|
]
|
|
54852
54851
|
],
|
|
@@ -54857,11 +54856,11 @@
|
|
|
54857
54856
|
[
|
|
54858
54857
|
d,
|
|
54859
54858
|
[
|
|
54860
|
-
|
|
54859
|
+
p,
|
|
54861
54860
|
"OnePlus"
|
|
54862
54861
|
],
|
|
54863
54862
|
[
|
|
54864
|
-
|
|
54863
|
+
f,
|
|
54865
54864
|
b
|
|
54866
54865
|
]
|
|
54867
54866
|
],
|
|
@@ -54873,11 +54872,11 @@
|
|
|
54873
54872
|
[
|
|
54874
54873
|
d,
|
|
54875
54874
|
[
|
|
54876
|
-
|
|
54875
|
+
p,
|
|
54877
54876
|
C
|
|
54878
54877
|
],
|
|
54879
54878
|
[
|
|
54880
|
-
|
|
54879
|
+
f,
|
|
54881
54880
|
v
|
|
54882
54881
|
]
|
|
54883
54882
|
],
|
|
@@ -54891,11 +54890,11 @@
|
|
|
54891
54890
|
"Fire Phone $1"
|
|
54892
54891
|
],
|
|
54893
54892
|
[
|
|
54894
|
-
|
|
54893
|
+
p,
|
|
54895
54894
|
C
|
|
54896
54895
|
],
|
|
54897
54896
|
[
|
|
54898
|
-
|
|
54897
|
+
f,
|
|
54899
54898
|
b
|
|
54900
54899
|
]
|
|
54901
54900
|
],
|
|
@@ -54904,9 +54903,9 @@
|
|
|
54904
54903
|
],
|
|
54905
54904
|
[
|
|
54906
54905
|
d,
|
|
54907
|
-
|
|
54906
|
+
p,
|
|
54908
54907
|
[
|
|
54909
|
-
|
|
54908
|
+
f,
|
|
54910
54909
|
v
|
|
54911
54910
|
]
|
|
54912
54911
|
],
|
|
@@ -54917,11 +54916,11 @@
|
|
|
54917
54916
|
[
|
|
54918
54917
|
d,
|
|
54919
54918
|
[
|
|
54920
|
-
|
|
54919
|
+
p,
|
|
54921
54920
|
x
|
|
54922
54921
|
],
|
|
54923
54922
|
[
|
|
54924
|
-
|
|
54923
|
+
f,
|
|
54925
54924
|
b
|
|
54926
54925
|
]
|
|
54927
54926
|
],
|
|
@@ -54931,11 +54930,11 @@
|
|
|
54931
54930
|
[
|
|
54932
54931
|
d,
|
|
54933
54932
|
[
|
|
54934
|
-
|
|
54933
|
+
p,
|
|
54935
54934
|
_
|
|
54936
54935
|
],
|
|
54937
54936
|
[
|
|
54938
|
-
|
|
54937
|
+
f,
|
|
54939
54938
|
v
|
|
54940
54939
|
]
|
|
54941
54940
|
],
|
|
@@ -54945,11 +54944,11 @@
|
|
|
54945
54944
|
[
|
|
54946
54945
|
d,
|
|
54947
54946
|
[
|
|
54948
|
-
|
|
54947
|
+
p,
|
|
54949
54948
|
_
|
|
54950
54949
|
],
|
|
54951
54950
|
[
|
|
54952
|
-
|
|
54951
|
+
f,
|
|
54953
54952
|
b
|
|
54954
54953
|
]
|
|
54955
54954
|
],
|
|
@@ -54959,11 +54958,11 @@
|
|
|
54959
54958
|
[
|
|
54960
54959
|
d,
|
|
54961
54960
|
[
|
|
54962
|
-
|
|
54961
|
+
p,
|
|
54963
54962
|
"HTC"
|
|
54964
54963
|
],
|
|
54965
54964
|
[
|
|
54966
|
-
|
|
54965
|
+
f,
|
|
54967
54966
|
v
|
|
54968
54967
|
]
|
|
54969
54968
|
],
|
|
@@ -54973,14 +54972,14 @@
|
|
|
54973
54972
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
54974
54973
|
],
|
|
54975
54974
|
[
|
|
54976
|
-
|
|
54975
|
+
p,
|
|
54977
54976
|
[
|
|
54978
54977
|
d,
|
|
54979
54978
|
/_/g,
|
|
54980
54979
|
" "
|
|
54981
54980
|
],
|
|
54982
54981
|
[
|
|
54983
|
-
|
|
54982
|
+
f,
|
|
54984
54983
|
b
|
|
54985
54984
|
]
|
|
54986
54985
|
],
|
|
@@ -54990,11 +54989,11 @@
|
|
|
54990
54989
|
[
|
|
54991
54990
|
d,
|
|
54992
54991
|
[
|
|
54993
|
-
|
|
54992
|
+
p,
|
|
54994
54993
|
"Acer"
|
|
54995
54994
|
],
|
|
54996
54995
|
[
|
|
54997
|
-
|
|
54996
|
+
f,
|
|
54998
54997
|
v
|
|
54999
54998
|
]
|
|
55000
54999
|
],
|
|
@@ -55005,11 +55004,11 @@
|
|
|
55005
55004
|
[
|
|
55006
55005
|
d,
|
|
55007
55006
|
[
|
|
55008
|
-
|
|
55007
|
+
p,
|
|
55009
55008
|
"Meizu"
|
|
55010
55009
|
],
|
|
55011
55010
|
[
|
|
55012
|
-
|
|
55011
|
+
f,
|
|
55013
55012
|
b
|
|
55014
55013
|
]
|
|
55015
55014
|
],
|
|
@@ -55019,11 +55018,11 @@
|
|
|
55019
55018
|
[
|
|
55020
55019
|
d,
|
|
55021
55020
|
[
|
|
55022
|
-
|
|
55021
|
+
p,
|
|
55023
55022
|
"Ulefone"
|
|
55024
55023
|
],
|
|
55025
55024
|
[
|
|
55026
|
-
|
|
55025
|
+
f,
|
|
55027
55026
|
b
|
|
55028
55027
|
]
|
|
55029
55028
|
],
|
|
@@ -55037,10 +55036,10 @@
|
|
|
55037
55036
|
/(oppo) ?([\w ]+) bui/i
|
|
55038
55037
|
],
|
|
55039
55038
|
[
|
|
55040
|
-
|
|
55039
|
+
p,
|
|
55041
55040
|
d,
|
|
55042
55041
|
[
|
|
55043
|
-
|
|
55042
|
+
f,
|
|
55044
55043
|
b
|
|
55045
55044
|
]
|
|
55046
55045
|
],
|
|
@@ -55057,10 +55056,10 @@
|
|
|
55057
55056
|
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
55058
55057
|
],
|
|
55059
55058
|
[
|
|
55060
|
-
|
|
55059
|
+
p,
|
|
55061
55060
|
d,
|
|
55062
55061
|
[
|
|
55063
|
-
|
|
55062
|
+
f,
|
|
55064
55063
|
v
|
|
55065
55064
|
]
|
|
55066
55065
|
],
|
|
@@ -55070,11 +55069,11 @@
|
|
|
55070
55069
|
[
|
|
55071
55070
|
d,
|
|
55072
55071
|
[
|
|
55073
|
-
|
|
55072
|
+
p,
|
|
55074
55073
|
$
|
|
55075
55074
|
],
|
|
55076
55075
|
[
|
|
55077
|
-
|
|
55076
|
+
f,
|
|
55078
55077
|
v
|
|
55079
55078
|
]
|
|
55080
55079
|
],
|
|
@@ -55084,11 +55083,11 @@
|
|
|
55084
55083
|
[
|
|
55085
55084
|
d,
|
|
55086
55085
|
[
|
|
55087
|
-
|
|
55086
|
+
p,
|
|
55088
55087
|
"Fairphone"
|
|
55089
55088
|
],
|
|
55090
55089
|
[
|
|
55091
|
-
|
|
55090
|
+
f,
|
|
55092
55091
|
b
|
|
55093
55092
|
]
|
|
55094
55093
|
],
|
|
@@ -55098,11 +55097,11 @@
|
|
|
55098
55097
|
[
|
|
55099
55098
|
d,
|
|
55100
55099
|
[
|
|
55101
|
-
|
|
55100
|
+
p,
|
|
55102
55101
|
"AT&T"
|
|
55103
55102
|
],
|
|
55104
55103
|
[
|
|
55105
|
-
|
|
55104
|
+
f,
|
|
55106
55105
|
b
|
|
55107
55106
|
]
|
|
55108
55107
|
],
|
|
@@ -55112,11 +55111,11 @@
|
|
|
55112
55111
|
[
|
|
55113
55112
|
d,
|
|
55114
55113
|
[
|
|
55115
|
-
|
|
55114
|
+
p,
|
|
55116
55115
|
"Siemens"
|
|
55117
55116
|
],
|
|
55118
55117
|
[
|
|
55119
|
-
|
|
55118
|
+
f,
|
|
55120
55119
|
b
|
|
55121
55120
|
]
|
|
55122
55121
|
],
|
|
@@ -55126,11 +55125,11 @@
|
|
|
55126
55125
|
[
|
|
55127
55126
|
d,
|
|
55128
55127
|
[
|
|
55129
|
-
|
|
55128
|
+
p,
|
|
55130
55129
|
"RCA"
|
|
55131
55130
|
],
|
|
55132
55131
|
[
|
|
55133
|
-
|
|
55132
|
+
f,
|
|
55134
55133
|
v
|
|
55135
55134
|
]
|
|
55136
55135
|
],
|
|
@@ -55140,11 +55139,11 @@
|
|
|
55140
55139
|
[
|
|
55141
55140
|
d,
|
|
55142
55141
|
[
|
|
55143
|
-
|
|
55142
|
+
p,
|
|
55144
55143
|
"Dell"
|
|
55145
55144
|
],
|
|
55146
55145
|
[
|
|
55147
|
-
|
|
55146
|
+
f,
|
|
55148
55147
|
v
|
|
55149
55148
|
]
|
|
55150
55149
|
],
|
|
@@ -55154,11 +55153,11 @@
|
|
|
55154
55153
|
[
|
|
55155
55154
|
d,
|
|
55156
55155
|
[
|
|
55157
|
-
|
|
55156
|
+
p,
|
|
55158
55157
|
"Verizon"
|
|
55159
55158
|
],
|
|
55160
55159
|
[
|
|
55161
|
-
|
|
55160
|
+
f,
|
|
55162
55161
|
v
|
|
55163
55162
|
]
|
|
55164
55163
|
],
|
|
@@ -55168,11 +55167,11 @@
|
|
|
55168
55167
|
[
|
|
55169
55168
|
d,
|
|
55170
55169
|
[
|
|
55171
|
-
|
|
55170
|
+
p,
|
|
55172
55171
|
"Barnes & Noble"
|
|
55173
55172
|
],
|
|
55174
55173
|
[
|
|
55175
|
-
|
|
55174
|
+
f,
|
|
55176
55175
|
v
|
|
55177
55176
|
]
|
|
55178
55177
|
],
|
|
@@ -55182,11 +55181,11 @@
|
|
|
55182
55181
|
[
|
|
55183
55182
|
d,
|
|
55184
55183
|
[
|
|
55185
|
-
|
|
55184
|
+
p,
|
|
55186
55185
|
"NuVision"
|
|
55187
55186
|
],
|
|
55188
55187
|
[
|
|
55189
|
-
|
|
55188
|
+
f,
|
|
55190
55189
|
v
|
|
55191
55190
|
]
|
|
55192
55191
|
],
|
|
@@ -55196,11 +55195,11 @@
|
|
|
55196
55195
|
[
|
|
55197
55196
|
d,
|
|
55198
55197
|
[
|
|
55199
|
-
|
|
55198
|
+
p,
|
|
55200
55199
|
"ZTE"
|
|
55201
55200
|
],
|
|
55202
55201
|
[
|
|
55203
|
-
|
|
55202
|
+
f,
|
|
55204
55203
|
v
|
|
55205
55204
|
]
|
|
55206
55205
|
],
|
|
@@ -55210,11 +55209,11 @@
|
|
|
55210
55209
|
[
|
|
55211
55210
|
d,
|
|
55212
55211
|
[
|
|
55213
|
-
|
|
55212
|
+
p,
|
|
55214
55213
|
"ZTE"
|
|
55215
55214
|
],
|
|
55216
55215
|
[
|
|
55217
|
-
|
|
55216
|
+
f,
|
|
55218
55217
|
b
|
|
55219
55218
|
]
|
|
55220
55219
|
],
|
|
@@ -55224,11 +55223,11 @@
|
|
|
55224
55223
|
[
|
|
55225
55224
|
d,
|
|
55226
55225
|
[
|
|
55227
|
-
|
|
55226
|
+
p,
|
|
55228
55227
|
"Swiss"
|
|
55229
55228
|
],
|
|
55230
55229
|
[
|
|
55231
|
-
|
|
55230
|
+
f,
|
|
55232
55231
|
b
|
|
55233
55232
|
]
|
|
55234
55233
|
],
|
|
@@ -55238,11 +55237,11 @@
|
|
|
55238
55237
|
[
|
|
55239
55238
|
d,
|
|
55240
55239
|
[
|
|
55241
|
-
|
|
55240
|
+
p,
|
|
55242
55241
|
"Swiss"
|
|
55243
55242
|
],
|
|
55244
55243
|
[
|
|
55245
|
-
|
|
55244
|
+
f,
|
|
55246
55245
|
v
|
|
55247
55246
|
]
|
|
55248
55247
|
],
|
|
@@ -55252,11 +55251,11 @@
|
|
|
55252
55251
|
[
|
|
55253
55252
|
d,
|
|
55254
55253
|
[
|
|
55255
|
-
|
|
55254
|
+
p,
|
|
55256
55255
|
"Zeki"
|
|
55257
55256
|
],
|
|
55258
55257
|
[
|
|
55259
|
-
|
|
55258
|
+
f,
|
|
55260
55259
|
v
|
|
55261
55260
|
]
|
|
55262
55261
|
],
|
|
@@ -55266,12 +55265,12 @@
|
|
|
55266
55265
|
],
|
|
55267
55266
|
[
|
|
55268
55267
|
[
|
|
55269
|
-
|
|
55268
|
+
p,
|
|
55270
55269
|
"Dragon Touch"
|
|
55271
55270
|
],
|
|
55272
55271
|
d,
|
|
55273
55272
|
[
|
|
55274
|
-
|
|
55273
|
+
f,
|
|
55275
55274
|
v
|
|
55276
55275
|
]
|
|
55277
55276
|
],
|
|
@@ -55281,11 +55280,11 @@
|
|
|
55281
55280
|
[
|
|
55282
55281
|
d,
|
|
55283
55282
|
[
|
|
55284
|
-
|
|
55283
|
+
p,
|
|
55285
55284
|
"Insignia"
|
|
55286
55285
|
],
|
|
55287
55286
|
[
|
|
55288
|
-
|
|
55287
|
+
f,
|
|
55289
55288
|
v
|
|
55290
55289
|
]
|
|
55291
55290
|
],
|
|
@@ -55295,11 +55294,11 @@
|
|
|
55295
55294
|
[
|
|
55296
55295
|
d,
|
|
55297
55296
|
[
|
|
55298
|
-
|
|
55297
|
+
p,
|
|
55299
55298
|
"NextBook"
|
|
55300
55299
|
],
|
|
55301
55300
|
[
|
|
55302
|
-
|
|
55301
|
+
f,
|
|
55303
55302
|
v
|
|
55304
55303
|
]
|
|
55305
55304
|
],
|
|
@@ -55308,12 +55307,12 @@
|
|
|
55308
55307
|
],
|
|
55309
55308
|
[
|
|
55310
55309
|
[
|
|
55311
|
-
|
|
55310
|
+
p,
|
|
55312
55311
|
"Voice"
|
|
55313
55312
|
],
|
|
55314
55313
|
d,
|
|
55315
55314
|
[
|
|
55316
|
-
|
|
55315
|
+
f,
|
|
55317
55316
|
b
|
|
55318
55317
|
]
|
|
55319
55318
|
],
|
|
@@ -55322,12 +55321,12 @@
|
|
|
55322
55321
|
],
|
|
55323
55322
|
[
|
|
55324
55323
|
[
|
|
55325
|
-
|
|
55324
|
+
p,
|
|
55326
55325
|
"LvTel"
|
|
55327
55326
|
],
|
|
55328
55327
|
d,
|
|
55329
55328
|
[
|
|
55330
|
-
|
|
55329
|
+
f,
|
|
55331
55330
|
b
|
|
55332
55331
|
]
|
|
55333
55332
|
],
|
|
@@ -55337,11 +55336,11 @@
|
|
|
55337
55336
|
[
|
|
55338
55337
|
d,
|
|
55339
55338
|
[
|
|
55340
|
-
|
|
55339
|
+
p,
|
|
55341
55340
|
"Essential"
|
|
55342
55341
|
],
|
|
55343
55342
|
[
|
|
55344
|
-
|
|
55343
|
+
f,
|
|
55345
55344
|
b
|
|
55346
55345
|
]
|
|
55347
55346
|
],
|
|
@@ -55351,11 +55350,11 @@
|
|
|
55351
55350
|
[
|
|
55352
55351
|
d,
|
|
55353
55352
|
[
|
|
55354
|
-
|
|
55353
|
+
p,
|
|
55355
55354
|
"Envizen"
|
|
55356
55355
|
],
|
|
55357
55356
|
[
|
|
55358
|
-
|
|
55357
|
+
f,
|
|
55359
55358
|
v
|
|
55360
55359
|
]
|
|
55361
55360
|
],
|
|
@@ -55365,11 +55364,11 @@
|
|
|
55365
55364
|
[
|
|
55366
55365
|
d,
|
|
55367
55366
|
[
|
|
55368
|
-
|
|
55367
|
+
p,
|
|
55369
55368
|
"MachSpeed"
|
|
55370
55369
|
],
|
|
55371
55370
|
[
|
|
55372
|
-
|
|
55371
|
+
f,
|
|
55373
55372
|
v
|
|
55374
55373
|
]
|
|
55375
55374
|
],
|
|
@@ -55379,11 +55378,11 @@
|
|
|
55379
55378
|
[
|
|
55380
55379
|
d,
|
|
55381
55380
|
[
|
|
55382
|
-
|
|
55381
|
+
p,
|
|
55383
55382
|
"Rotor"
|
|
55384
55383
|
],
|
|
55385
55384
|
[
|
|
55386
|
-
|
|
55385
|
+
f,
|
|
55387
55386
|
v
|
|
55388
55387
|
]
|
|
55389
55388
|
],
|
|
@@ -55393,11 +55392,11 @@
|
|
|
55393
55392
|
[
|
|
55394
55393
|
d,
|
|
55395
55394
|
[
|
|
55396
|
-
|
|
55395
|
+
p,
|
|
55397
55396
|
"Nvidia"
|
|
55398
55397
|
],
|
|
55399
55398
|
[
|
|
55400
|
-
|
|
55399
|
+
f,
|
|
55401
55400
|
v
|
|
55402
55401
|
]
|
|
55403
55402
|
],
|
|
@@ -55405,10 +55404,10 @@
|
|
|
55405
55404
|
/(sprint) (\w+)/i
|
|
55406
55405
|
],
|
|
55407
55406
|
[
|
|
55408
|
-
|
|
55407
|
+
p,
|
|
55409
55408
|
d,
|
|
55410
55409
|
[
|
|
55411
|
-
|
|
55410
|
+
f,
|
|
55412
55411
|
b
|
|
55413
55412
|
]
|
|
55414
55413
|
],
|
|
@@ -55422,11 +55421,11 @@
|
|
|
55422
55421
|
" "
|
|
55423
55422
|
],
|
|
55424
55423
|
[
|
|
55425
|
-
|
|
55424
|
+
p,
|
|
55426
55425
|
$
|
|
55427
55426
|
],
|
|
55428
55427
|
[
|
|
55429
|
-
|
|
55428
|
+
f,
|
|
55430
55429
|
b
|
|
55431
55430
|
]
|
|
55432
55431
|
],
|
|
@@ -55436,11 +55435,11 @@
|
|
|
55436
55435
|
[
|
|
55437
55436
|
d,
|
|
55438
55437
|
[
|
|
55439
|
-
|
|
55438
|
+
p,
|
|
55440
55439
|
L
|
|
55441
55440
|
],
|
|
55442
55441
|
[
|
|
55443
|
-
|
|
55442
|
+
f,
|
|
55444
55443
|
v
|
|
55445
55444
|
]
|
|
55446
55445
|
],
|
|
@@ -55450,11 +55449,11 @@
|
|
|
55450
55449
|
[
|
|
55451
55450
|
d,
|
|
55452
55451
|
[
|
|
55453
|
-
|
|
55452
|
+
p,
|
|
55454
55453
|
L
|
|
55455
55454
|
],
|
|
55456
55455
|
[
|
|
55457
|
-
|
|
55456
|
+
f,
|
|
55458
55457
|
b
|
|
55459
55458
|
]
|
|
55460
55459
|
],
|
|
@@ -55462,9 +55461,9 @@
|
|
|
55462
55461
|
/smart-tv.+(samsung)/i
|
|
55463
55462
|
],
|
|
55464
55463
|
[
|
|
55465
|
-
|
|
55464
|
+
p,
|
|
55466
55465
|
[
|
|
55467
|
-
|
|
55466
|
+
f,
|
|
55468
55467
|
w
|
|
55469
55468
|
]
|
|
55470
55469
|
],
|
|
@@ -55478,11 +55477,11 @@
|
|
|
55478
55477
|
"SmartTV"
|
|
55479
55478
|
],
|
|
55480
55479
|
[
|
|
55481
|
-
|
|
55480
|
+
p,
|
|
55482
55481
|
O
|
|
55483
55482
|
],
|
|
55484
55483
|
[
|
|
55485
|
-
|
|
55484
|
+
f,
|
|
55486
55485
|
w
|
|
55487
55486
|
]
|
|
55488
55487
|
],
|
|
@@ -55491,11 +55490,11 @@
|
|
|
55491
55490
|
],
|
|
55492
55491
|
[
|
|
55493
55492
|
[
|
|
55494
|
-
|
|
55493
|
+
p,
|
|
55495
55494
|
"LG"
|
|
55496
55495
|
],
|
|
55497
55496
|
[
|
|
55498
|
-
|
|
55497
|
+
f,
|
|
55499
55498
|
w
|
|
55500
55499
|
]
|
|
55501
55500
|
],
|
|
@@ -55503,13 +55502,13 @@
|
|
|
55503
55502
|
/(apple) ?tv/i
|
|
55504
55503
|
],
|
|
55505
55504
|
[
|
|
55506
|
-
|
|
55505
|
+
p,
|
|
55507
55506
|
[
|
|
55508
55507
|
d,
|
|
55509
55508
|
B + " TV"
|
|
55510
55509
|
],
|
|
55511
55510
|
[
|
|
55512
|
-
|
|
55511
|
+
f,
|
|
55513
55512
|
w
|
|
55514
55513
|
]
|
|
55515
55514
|
],
|
|
@@ -55522,11 +55521,11 @@
|
|
|
55522
55521
|
S + "cast"
|
|
55523
55522
|
],
|
|
55524
55523
|
[
|
|
55525
|
-
|
|
55524
|
+
p,
|
|
55526
55525
|
T
|
|
55527
55526
|
],
|
|
55528
55527
|
[
|
|
55529
|
-
|
|
55528
|
+
f,
|
|
55530
55529
|
w
|
|
55531
55530
|
]
|
|
55532
55531
|
],
|
|
@@ -55536,11 +55535,11 @@
|
|
|
55536
55535
|
[
|
|
55537
55536
|
d,
|
|
55538
55537
|
[
|
|
55539
|
-
|
|
55538
|
+
p,
|
|
55540
55539
|
C
|
|
55541
55540
|
],
|
|
55542
55541
|
[
|
|
55543
|
-
|
|
55542
|
+
f,
|
|
55544
55543
|
w
|
|
55545
55544
|
]
|
|
55546
55545
|
],
|
|
@@ -55551,11 +55550,11 @@
|
|
|
55551
55550
|
[
|
|
55552
55551
|
d,
|
|
55553
55552
|
[
|
|
55554
|
-
|
|
55553
|
+
p,
|
|
55555
55554
|
M
|
|
55556
55555
|
],
|
|
55557
55556
|
[
|
|
55558
|
-
|
|
55557
|
+
f,
|
|
55559
55558
|
w
|
|
55560
55559
|
]
|
|
55561
55560
|
],
|
|
@@ -55565,11 +55564,11 @@
|
|
|
55565
55564
|
[
|
|
55566
55565
|
d,
|
|
55567
55566
|
[
|
|
55568
|
-
|
|
55567
|
+
p,
|
|
55569
55568
|
A
|
|
55570
55569
|
],
|
|
55571
55570
|
[
|
|
55572
|
-
|
|
55571
|
+
f,
|
|
55573
55572
|
w
|
|
55574
55573
|
]
|
|
55575
55574
|
],
|
|
@@ -55579,11 +55578,11 @@
|
|
|
55579
55578
|
[
|
|
55580
55579
|
d,
|
|
55581
55580
|
[
|
|
55582
|
-
|
|
55581
|
+
p,
|
|
55583
55582
|
R
|
|
55584
55583
|
],
|
|
55585
55584
|
[
|
|
55586
|
-
|
|
55585
|
+
f,
|
|
55587
55586
|
w
|
|
55588
55587
|
]
|
|
55589
55588
|
],
|
|
@@ -55591,10 +55590,10 @@
|
|
|
55591
55590
|
/Hbbtv.*(technisat) (.*);/i
|
|
55592
55591
|
],
|
|
55593
55592
|
[
|
|
55594
|
-
|
|
55593
|
+
p,
|
|
55595
55594
|
d,
|
|
55596
55595
|
[
|
|
55597
|
-
|
|
55596
|
+
f,
|
|
55598
55597
|
w
|
|
55599
55598
|
]
|
|
55600
55599
|
],
|
|
@@ -55604,7 +55603,7 @@
|
|
|
55604
55603
|
],
|
|
55605
55604
|
[
|
|
55606
55605
|
[
|
|
55607
|
-
|
|
55606
|
+
p,
|
|
55608
55607
|
Q
|
|
55609
55608
|
],
|
|
55610
55609
|
[
|
|
@@ -55612,7 +55611,7 @@
|
|
|
55612
55611
|
Q
|
|
55613
55612
|
],
|
|
55614
55613
|
[
|
|
55615
|
-
|
|
55614
|
+
f,
|
|
55616
55615
|
w
|
|
55617
55616
|
]
|
|
55618
55617
|
],
|
|
@@ -55621,7 +55620,7 @@
|
|
|
55621
55620
|
],
|
|
55622
55621
|
[
|
|
55623
55622
|
[
|
|
55624
|
-
|
|
55623
|
+
f,
|
|
55625
55624
|
w
|
|
55626
55625
|
]
|
|
55627
55626
|
],
|
|
@@ -55630,10 +55629,10 @@
|
|
|
55630
55629
|
/(nintendo) ([wids3utch]+)/i
|
|
55631
55630
|
],
|
|
55632
55631
|
[
|
|
55633
|
-
|
|
55632
|
+
p,
|
|
55634
55633
|
d,
|
|
55635
55634
|
[
|
|
55636
|
-
|
|
55635
|
+
f,
|
|
55637
55636
|
g
|
|
55638
55637
|
]
|
|
55639
55638
|
],
|
|
@@ -55643,11 +55642,11 @@
|
|
|
55643
55642
|
[
|
|
55644
55643
|
d,
|
|
55645
55644
|
[
|
|
55646
|
-
|
|
55645
|
+
p,
|
|
55647
55646
|
"Nvidia"
|
|
55648
55647
|
],
|
|
55649
55648
|
[
|
|
55650
|
-
|
|
55649
|
+
f,
|
|
55651
55650
|
g
|
|
55652
55651
|
]
|
|
55653
55652
|
],
|
|
@@ -55657,11 +55656,11 @@
|
|
|
55657
55656
|
[
|
|
55658
55657
|
d,
|
|
55659
55658
|
[
|
|
55660
|
-
|
|
55659
|
+
p,
|
|
55661
55660
|
A
|
|
55662
55661
|
],
|
|
55663
55662
|
[
|
|
55664
|
-
|
|
55663
|
+
f,
|
|
55665
55664
|
g
|
|
55666
55665
|
]
|
|
55667
55666
|
],
|
|
@@ -55671,11 +55670,11 @@
|
|
|
55671
55670
|
[
|
|
55672
55671
|
d,
|
|
55673
55672
|
[
|
|
55674
|
-
|
|
55673
|
+
p,
|
|
55675
55674
|
$
|
|
55676
55675
|
],
|
|
55677
55676
|
[
|
|
55678
|
-
|
|
55677
|
+
f,
|
|
55679
55678
|
g
|
|
55680
55679
|
]
|
|
55681
55680
|
],
|
|
@@ -55683,10 +55682,10 @@
|
|
|
55683
55682
|
/((pebble))app/i
|
|
55684
55683
|
],
|
|
55685
55684
|
[
|
|
55686
|
-
|
|
55685
|
+
p,
|
|
55687
55686
|
d,
|
|
55688
55687
|
[
|
|
55689
|
-
|
|
55688
|
+
f,
|
|
55690
55689
|
k
|
|
55691
55690
|
]
|
|
55692
55691
|
],
|
|
@@ -55696,11 +55695,11 @@
|
|
|
55696
55695
|
[
|
|
55697
55696
|
d,
|
|
55698
55697
|
[
|
|
55699
|
-
|
|
55698
|
+
p,
|
|
55700
55699
|
B
|
|
55701
55700
|
],
|
|
55702
55701
|
[
|
|
55703
|
-
|
|
55702
|
+
f,
|
|
55704
55703
|
k
|
|
55705
55704
|
]
|
|
55706
55705
|
],
|
|
@@ -55710,11 +55709,11 @@
|
|
|
55710
55709
|
[
|
|
55711
55710
|
d,
|
|
55712
55711
|
[
|
|
55713
|
-
|
|
55712
|
+
p,
|
|
55714
55713
|
T
|
|
55715
55714
|
],
|
|
55716
55715
|
[
|
|
55717
|
-
|
|
55716
|
+
f,
|
|
55718
55717
|
k
|
|
55719
55718
|
]
|
|
55720
55719
|
],
|
|
@@ -55724,11 +55723,11 @@
|
|
|
55724
55723
|
[
|
|
55725
55724
|
d,
|
|
55726
55725
|
[
|
|
55727
|
-
|
|
55726
|
+
p,
|
|
55728
55727
|
L
|
|
55729
55728
|
],
|
|
55730
55729
|
[
|
|
55731
|
-
|
|
55730
|
+
f,
|
|
55732
55731
|
k
|
|
55733
55732
|
]
|
|
55734
55733
|
],
|
|
@@ -55738,11 +55737,11 @@
|
|
|
55738
55737
|
[
|
|
55739
55738
|
d,
|
|
55740
55739
|
[
|
|
55741
|
-
|
|
55740
|
+
p,
|
|
55742
55741
|
F
|
|
55743
55742
|
],
|
|
55744
55743
|
[
|
|
55745
|
-
|
|
55744
|
+
f,
|
|
55746
55745
|
k
|
|
55747
55746
|
]
|
|
55748
55747
|
],
|
|
@@ -55750,9 +55749,9 @@
|
|
|
55750
55749
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
55751
55750
|
],
|
|
55752
55751
|
[
|
|
55753
|
-
|
|
55752
|
+
p,
|
|
55754
55753
|
[
|
|
55755
|
-
|
|
55754
|
+
f,
|
|
55756
55755
|
y
|
|
55757
55756
|
]
|
|
55758
55757
|
],
|
|
@@ -55762,11 +55761,11 @@
|
|
|
55762
55761
|
[
|
|
55763
55762
|
d,
|
|
55764
55763
|
[
|
|
55765
|
-
|
|
55764
|
+
p,
|
|
55766
55765
|
C
|
|
55767
55766
|
],
|
|
55768
55767
|
[
|
|
55769
|
-
|
|
55768
|
+
f,
|
|
55770
55769
|
y
|
|
55771
55770
|
]
|
|
55772
55771
|
],
|
|
@@ -55776,7 +55775,7 @@
|
|
|
55776
55775
|
[
|
|
55777
55776
|
d,
|
|
55778
55777
|
[
|
|
55779
|
-
|
|
55778
|
+
f,
|
|
55780
55779
|
b
|
|
55781
55780
|
]
|
|
55782
55781
|
],
|
|
@@ -55786,7 +55785,7 @@
|
|
|
55786
55785
|
[
|
|
55787
55786
|
d,
|
|
55788
55787
|
[
|
|
55789
|
-
|
|
55788
|
+
f,
|
|
55790
55789
|
v
|
|
55791
55790
|
]
|
|
55792
55791
|
],
|
|
@@ -55795,7 +55794,7 @@
|
|
|
55795
55794
|
],
|
|
55796
55795
|
[
|
|
55797
55796
|
[
|
|
55798
|
-
|
|
55797
|
+
f,
|
|
55799
55798
|
v
|
|
55800
55799
|
]
|
|
55801
55800
|
],
|
|
@@ -55804,7 +55803,7 @@
|
|
|
55804
55803
|
],
|
|
55805
55804
|
[
|
|
55806
55805
|
[
|
|
55807
|
-
|
|
55806
|
+
f,
|
|
55808
55807
|
b
|
|
55809
55808
|
]
|
|
55810
55809
|
],
|
|
@@ -55814,7 +55813,7 @@
|
|
|
55814
55813
|
[
|
|
55815
55814
|
d,
|
|
55816
55815
|
[
|
|
55817
|
-
|
|
55816
|
+
p,
|
|
55818
55817
|
"Generic"
|
|
55819
55818
|
]
|
|
55820
55819
|
]
|
|
@@ -56065,7 +56064,7 @@
|
|
|
56065
56064
|
return t[m] = void 0, X.call(t, g, k.cpu), t;
|
|
56066
56065
|
}, this.getDevice = function() {
|
|
56067
56066
|
var t = {};
|
|
56068
|
-
return t[
|
|
56067
|
+
return t[p] = void 0, t[d] = void 0, t[f] = void 0, X.call(t, g, k.device), y && !t[f] && w && w.mobile && (t[f] = b), y && "Macintosh" == t[d] && n && typeof n.standalone !== a && n.maxTouchPoints && n.maxTouchPoints > 2 && (t[d] = "iPad", t[f] = v), t;
|
|
56069
56068
|
}, this.getEngine = function() {
|
|
56070
56069
|
var t = {};
|
|
56071
56070
|
return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
|
|
@@ -56095,8 +56094,8 @@
|
|
|
56095
56094
|
m
|
|
56096
56095
|
]), K.DEVICE = W([
|
|
56097
56096
|
d,
|
|
56098
|
-
f,
|
|
56099
56097
|
p,
|
|
56098
|
+
f,
|
|
56100
56099
|
g,
|
|
56101
56100
|
b,
|
|
56102
56101
|
w,
|
|
@@ -56119,9 +56118,9 @@
|
|
|
56119
56118
|
};
|
|
56120
56119
|
}
|
|
56121
56120
|
}("object" == typeof window ? window : nE), nS.exports;
|
|
56122
|
-
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(),
|
|
56121
|
+
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), f = function(t) {
|
|
56123
56122
|
return i.setUA(t);
|
|
56124
|
-
},
|
|
56123
|
+
}, p = function(t) {
|
|
56125
56124
|
if (!t) return void console.error("No userAgent string was provided");
|
|
56126
56125
|
var r = new n(t);
|
|
56127
56126
|
return {
|
|
@@ -56144,8 +56143,8 @@
|
|
|
56144
56143
|
engine: l,
|
|
56145
56144
|
os: d,
|
|
56146
56145
|
ua: u,
|
|
56147
|
-
setUa:
|
|
56148
|
-
parseUserAgent:
|
|
56146
|
+
setUa: f,
|
|
56147
|
+
parseUserAgent: p
|
|
56149
56148
|
});
|
|
56150
56149
|
function m(t, r) {
|
|
56151
56150
|
var o = Object.keys(t);
|
|
@@ -56364,9 +56363,9 @@
|
|
|
56364
56363
|
}, eu = function(t) {
|
|
56365
56364
|
var r = t.name;
|
|
56366
56365
|
return r === $.InternetExplorer || r === $.Ie;
|
|
56367
|
-
}, ep = function(t) {
|
|
56368
|
-
return t.name === $.MIUI;
|
|
56369
56366
|
}, ef = function(t) {
|
|
56367
|
+
return t.name === $.MIUI;
|
|
56368
|
+
}, ep = function(t) {
|
|
56370
56369
|
return t.name === $.SamsungBrowser;
|
|
56371
56370
|
}, eh = function(t) {
|
|
56372
56371
|
return M(t.version);
|
|
@@ -56439,13 +56438,13 @@
|
|
|
56439
56438
|
isLegacyEdge: ea(n) && !ek(s),
|
|
56440
56439
|
isWindows: K(i),
|
|
56441
56440
|
isMacOs: Y(i),
|
|
56442
|
-
isMIUI:
|
|
56443
|
-
isSamsungBrowser:
|
|
56441
|
+
isMIUI: ef(n),
|
|
56442
|
+
isSamsungBrowser: ep(n)
|
|
56444
56443
|
};
|
|
56445
56444
|
}
|
|
56446
|
-
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn =
|
|
56445
|
+
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn = ef(a), ti = ep(a);
|
|
56447
56446
|
function ta(t) {
|
|
56448
|
-
return
|
|
56447
|
+
return p(t || window.navigator.userAgent);
|
|
56449
56448
|
}
|
|
56450
56449
|
return nP.AndroidView = function(r) {
|
|
56451
56450
|
var n = r.renderWithFragment, i = r.children, a = y(r, [
|
|
@@ -56529,7 +56528,7 @@
|
|
|
56529
56528
|
]);
|
|
56530
56529
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
56531
56530
|
}, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
|
|
56532
|
-
var r, o, n, i, a, s, c, l, d, u,
|
|
56531
|
+
var r, o, n, i, a, s, c, l, d, u, f, m, g, b, v, w, k, y, C, B, _, x, P = t ? p(t) : h, S = P.device, E = P.browser, T = P.engine, D = P.os, $ = P.ua, j = O(S.type), I = j.isBrowser, A = j.isMobile, R = j.isTablet, F = j.isSmartTV, N = j.isConsole, z = j.isWearable, V = j.isEmbedded;
|
|
56533
56532
|
if (I) {
|
|
56534
56533
|
return r = I, o = E, n = T, i = D, a = $, {
|
|
56535
56534
|
isBrowser: r,
|
|
@@ -56554,10 +56553,10 @@
|
|
|
56554
56553
|
};
|
|
56555
56554
|
}
|
|
56556
56555
|
if (N) {
|
|
56557
|
-
return u = N,
|
|
56556
|
+
return u = N, f = T, m = D, g = $, {
|
|
56558
56557
|
isConsole: u,
|
|
56559
|
-
engineName: M(
|
|
56560
|
-
engineVersion: M(
|
|
56558
|
+
engineName: M(f.name),
|
|
56559
|
+
engineVersion: M(f.version),
|
|
56561
56560
|
osName: M(m.name),
|
|
56562
56561
|
osVersion: M(m.version),
|
|
56563
56562
|
userAgent: M(g)
|
|
@@ -56588,7 +56587,7 @@
|
|
|
56588
56587
|
}
|
|
56589
56588
|
}, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
|
|
56590
56589
|
if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
|
|
56591
|
-
var r =
|
|
56590
|
+
var r = p(t);
|
|
56592
56591
|
return eP({
|
|
56593
56592
|
device: r.device,
|
|
56594
56593
|
browser: r.browser,
|
|
@@ -56596,8 +56595,8 @@
|
|
|
56596
56595
|
engine: r.engine,
|
|
56597
56596
|
ua: r.ua
|
|
56598
56597
|
});
|
|
56599
|
-
}, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent =
|
|
56600
|
-
return
|
|
56598
|
+
}, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent = p, nP.setUserAgent = function(t) {
|
|
56599
|
+
return f(t);
|
|
56601
56600
|
}, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
|
|
56602
56601
|
var r = ta(t || window.navigator.userAgent);
|
|
56603
56602
|
return [
|
|
@@ -56803,7 +56802,7 @@
|
|
|
56803
56802
|
var nM = oX(function() {
|
|
56804
56803
|
if (tW) return tV;
|
|
56805
56804
|
tW = 1;
|
|
56806
|
-
var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max,
|
|
56805
|
+
var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max, f = Math.min, p = function() {
|
|
56807
56806
|
return l.Date.now();
|
|
56808
56807
|
};
|
|
56809
56808
|
function h(t) {
|
|
@@ -56819,8 +56818,8 @@
|
|
|
56819
56818
|
}
|
|
56820
56819
|
if ("string" != typeof s) return 0 === s ? s : +s;
|
|
56821
56820
|
s = s.replace(r, "");
|
|
56822
|
-
var
|
|
56823
|
-
return
|
|
56821
|
+
var f = n.test(s);
|
|
56822
|
+
return f || i.test(s) ? a(s.slice(2), f ? 2 : 8) : o.test(s) ? t : +s;
|
|
56824
56823
|
}
|
|
56825
56824
|
return tV = function(t, r, o) {
|
|
56826
56825
|
var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
|
|
@@ -56835,15 +56834,15 @@
|
|
|
56835
56834
|
return void 0 === l || o >= r || o < 0 || b && n >= a;
|
|
56836
56835
|
}
|
|
56837
56836
|
function y() {
|
|
56838
|
-
var t, o, n, i, s =
|
|
56837
|
+
var t, o, n, i, s = p();
|
|
56839
56838
|
if (k(s)) return C(s);
|
|
56840
|
-
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ?
|
|
56839
|
+
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? f(i, a - n) : i));
|
|
56841
56840
|
}
|
|
56842
56841
|
function C(t) {
|
|
56843
56842
|
return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
|
|
56844
56843
|
}
|
|
56845
56844
|
function B() {
|
|
56846
|
-
var t, o =
|
|
56845
|
+
var t, o = p(), a = k(o);
|
|
56847
56846
|
if (n = arguments, i = this, l = o, a) {
|
|
56848
56847
|
if (void 0 === c) {
|
|
56849
56848
|
return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
|
|
@@ -56855,7 +56854,7 @@
|
|
|
56855
56854
|
return B.cancel = function() {
|
|
56856
56855
|
void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
|
|
56857
56856
|
}, B.flush = function() {
|
|
56858
|
-
return void 0 === c ? s : C(
|
|
56857
|
+
return void 0 === c ? s : C(p());
|
|
56859
56858
|
}, B;
|
|
56860
56859
|
};
|
|
56861
56860
|
}()), nA = {
|
|
@@ -56866,11 +56865,11 @@
|
|
|
56866
56865
|
var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
|
|
56867
56866
|
if (tU) return nR;
|
|
56868
56867
|
tU = 1;
|
|
56869
|
-
var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112,
|
|
56868
|
+
var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
56870
56869
|
function k(t) {
|
|
56871
56870
|
if ("object" == typeof t && null !== t) {
|
|
56872
|
-
var
|
|
56873
|
-
switch(
|
|
56871
|
+
var p = t.$$typeof;
|
|
56872
|
+
switch(p){
|
|
56874
56873
|
case r:
|
|
56875
56874
|
switch(t = t.type){
|
|
56876
56875
|
case l:
|
|
@@ -56878,7 +56877,7 @@
|
|
|
56878
56877
|
case n:
|
|
56879
56878
|
case a:
|
|
56880
56879
|
case i:
|
|
56881
|
-
case
|
|
56880
|
+
case f:
|
|
56882
56881
|
return t;
|
|
56883
56882
|
default:
|
|
56884
56883
|
switch(t = t && t.$$typeof){
|
|
@@ -56889,18 +56888,18 @@
|
|
|
56889
56888
|
case s:
|
|
56890
56889
|
return t;
|
|
56891
56890
|
default:
|
|
56892
|
-
return
|
|
56891
|
+
return p;
|
|
56893
56892
|
}
|
|
56894
56893
|
}
|
|
56895
56894
|
case o:
|
|
56896
|
-
return
|
|
56895
|
+
return p;
|
|
56897
56896
|
}
|
|
56898
56897
|
}
|
|
56899
56898
|
}
|
|
56900
56899
|
function y(t) {
|
|
56901
56900
|
return k(t) === d;
|
|
56902
56901
|
}
|
|
56903
|
-
return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense =
|
|
56902
|
+
return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense = f, nR.isAsyncMode = function(t) {
|
|
56904
56903
|
return y(t) || k(t) === l;
|
|
56905
56904
|
}, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
|
|
56906
56905
|
return k(t) === c;
|
|
@@ -56923,9 +56922,9 @@
|
|
|
56923
56922
|
}, nR.isStrictMode = function(t) {
|
|
56924
56923
|
return k(t) === i;
|
|
56925
56924
|
}, nR.isSuspense = function(t) {
|
|
56926
|
-
return k(t) ===
|
|
56925
|
+
return k(t) === f;
|
|
56927
56926
|
}, nR.isValidElementType = function(t) {
|
|
56928
|
-
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t ===
|
|
56927
|
+
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t === f || t === p || "object" == typeof t && null !== t && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === s || t.$$typeof === c || t.$$typeof === u || t.$$typeof === b || t.$$typeof === v || t.$$typeof === w || t.$$typeof === g);
|
|
56929
56928
|
}, nR.typeOf = k, nR;
|
|
56930
56929
|
}(), nA.exports), r = {
|
|
56931
56930
|
childContextTypes: !0,
|
|
@@ -56965,12 +56964,12 @@
|
|
|
56965
56964
|
displayName: !0,
|
|
56966
56965
|
propTypes: !0
|
|
56967
56966
|
}, i[t.Memo] = n;
|
|
56968
|
-
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf,
|
|
56967
|
+
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
|
|
56969
56968
|
return tQ = function t(r, n, i) {
|
|
56970
56969
|
if ("string" != typeof n) {
|
|
56971
|
-
if (
|
|
56972
|
-
var
|
|
56973
|
-
|
|
56970
|
+
if (f) {
|
|
56971
|
+
var p = u(n);
|
|
56972
|
+
p && p !== f && t(r, p, i);
|
|
56974
56973
|
}
|
|
56975
56974
|
var h = c(n);
|
|
56976
56975
|
l && (h = h.concat(l(n)));
|
|
@@ -57127,7 +57126,7 @@
|
|
|
57127
57126
|
else console.warn("Flashlight is not supported or not initialized.");
|
|
57128
57127
|
}, [
|
|
57129
57128
|
c
|
|
57130
|
-
]),
|
|
57129
|
+
]), f = reactExports.useCallback(async ()=>{
|
|
57131
57130
|
if (c && c.isSupported()) try {
|
|
57132
57131
|
await c.turnOff(), d.current = !1;
|
|
57133
57132
|
} catch (t) {
|
|
@@ -57135,15 +57134,15 @@
|
|
|
57135
57134
|
}
|
|
57136
57135
|
}, [
|
|
57137
57136
|
c
|
|
57138
|
-
]),
|
|
57137
|
+
]), p = React.useMemo(()=>({
|
|
57139
57138
|
turnOnFlashlight: u,
|
|
57140
|
-
turnOffFlashlight:
|
|
57139
|
+
turnOffFlashlight: f
|
|
57141
57140
|
}), [
|
|
57142
57141
|
u,
|
|
57143
|
-
|
|
57142
|
+
f
|
|
57144
57143
|
]);
|
|
57145
57144
|
return oZ.jsx(nU.Provider, {
|
|
57146
|
-
value:
|
|
57145
|
+
value: p,
|
|
57147
57146
|
children: s
|
|
57148
57147
|
});
|
|
57149
57148
|
}, { Errors: nQ } = ra$1, nX = dt$1.div`
|
|
@@ -57189,7 +57188,7 @@
|
|
|
57189
57188
|
`;
|
|
57190
57189
|
function nJ(r) {
|
|
57191
57190
|
var s, c;
|
|
57192
|
-
let l, { checkCameraMode: d, frontCamera: u, onClose:
|
|
57191
|
+
let l, { checkCameraMode: d, frontCamera: u, onClose: f, children: p, onVideoPlayed: w, flipHorizontal: k, videoSettings: y, refVideo: C, onError: B, closeButton: _, videoClassName: x, scale: P, defaultCameraId: S, onWarning: E } = r, T = reactExports.useRef(), { lang: D } = no$1.useSDKSettings(), { sendEvent: $ } = iN$1.useSDKTracking(), j = nz("closeButton.src", "ic_close.svg"), [I, O] = reactExports.useState(""), M = reactExports.useRef(!1), A = reactExports.useRef(!1), R = reactExports.useRef(!1), L = reactExports.useRef(), F = reactExports.useRef([]), N = reactExports.useRef(""), z = gB(), V = reactExports.useCallback((t)=>{
|
|
57193
57192
|
B && B(t);
|
|
57194
57193
|
}, [
|
|
57195
57194
|
B
|
|
@@ -57265,8 +57264,8 @@
|
|
|
57265
57264
|
},
|
|
57266
57265
|
...o
|
|
57267
57266
|
}
|
|
57268
|
-
},
|
|
57269
|
-
if (await U(), q(), !
|
|
57267
|
+
}, f = await navigator.mediaDevices.getUserMedia(n);
|
|
57268
|
+
if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
|
|
57270
57269
|
a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
|
|
57271
57270
|
tag: "cam_permission",
|
|
57272
57271
|
event: "user_activity.cam",
|
|
@@ -57279,13 +57278,13 @@
|
|
|
57279
57278
|
log: {}
|
|
57280
57279
|
});
|
|
57281
57280
|
try {
|
|
57282
|
-
let t =
|
|
57283
|
-
if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof
|
|
57284
|
-
let t =
|
|
57281
|
+
let t = f.getVideoTracks()[0].getSettings();
|
|
57282
|
+
if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof f.getVideoTracks()[0].getCapabilities) {
|
|
57283
|
+
let t = f.getVideoTracks()[0].getCapabilities();
|
|
57285
57284
|
h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
|
|
57286
57285
|
}
|
|
57287
57286
|
} catch (t) {}
|
|
57288
|
-
return
|
|
57287
|
+
return f;
|
|
57289
57288
|
} catch (t) {
|
|
57290
57289
|
a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
|
|
57291
57290
|
tag: "cam_permission",
|
|
@@ -57396,13 +57395,13 @@
|
|
|
57396
57395
|
z
|
|
57397
57396
|
]);
|
|
57398
57397
|
let H = reactExports.useCallback(()=>{
|
|
57399
|
-
W(),
|
|
57398
|
+
W(), f && f(), $({
|
|
57400
57399
|
tag: "result",
|
|
57401
57400
|
event: "user_activity.cancel",
|
|
57402
57401
|
log: {}
|
|
57403
57402
|
});
|
|
57404
57403
|
}, [
|
|
57405
|
-
|
|
57404
|
+
f,
|
|
57406
57405
|
W,
|
|
57407
57406
|
$
|
|
57408
57407
|
]);
|
|
@@ -57465,7 +57464,7 @@
|
|
|
57465
57464
|
className: x,
|
|
57466
57465
|
scale: P
|
|
57467
57466
|
}),
|
|
57468
|
-
|
|
57467
|
+
p,
|
|
57469
57468
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
57470
57469
|
onClick: H,
|
|
57471
57470
|
"data-testid": "close-camera"
|
|
@@ -57665,32 +57664,32 @@
|
|
|
57665
57664
|
"left center",
|
|
57666
57665
|
"left bottom"
|
|
57667
57666
|
], io = function(t, r, o, n, i) {
|
|
57668
|
-
var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2,
|
|
57667
|
+
var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2, f = r.height, p = r.width, h = d - f / 2, m = u - p / 2, g = "", b = "0%", v = "0%";
|
|
57669
57668
|
switch(l[0]){
|
|
57670
57669
|
case "top":
|
|
57671
|
-
h -=
|
|
57670
|
+
h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
|
|
57672
57671
|
break;
|
|
57673
57672
|
case "bottom":
|
|
57674
|
-
h +=
|
|
57673
|
+
h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
|
|
57675
57674
|
break;
|
|
57676
57675
|
case "left":
|
|
57677
|
-
m -=
|
|
57676
|
+
m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
|
|
57678
57677
|
break;
|
|
57679
57678
|
case "right":
|
|
57680
|
-
m +=
|
|
57679
|
+
m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
|
|
57681
57680
|
}
|
|
57682
57681
|
switch(l[1]){
|
|
57683
57682
|
case "top":
|
|
57684
57683
|
h = t.top, b = t.height / 2 + "px";
|
|
57685
57684
|
break;
|
|
57686
57685
|
case "bottom":
|
|
57687
|
-
h = t.top -
|
|
57686
|
+
h = t.top - f + t.height, b = f - t.height / 2 + "px";
|
|
57688
57687
|
break;
|
|
57689
57688
|
case "left":
|
|
57690
57689
|
m = t.left, v = t.width / 2 + "px";
|
|
57691
57690
|
break;
|
|
57692
57691
|
case "right":
|
|
57693
|
-
m = t.left -
|
|
57692
|
+
m = t.left - p + t.width, v = p - t.width / 2 + "px";
|
|
57694
57693
|
}
|
|
57695
57694
|
return h = "top" === l[0] ? h - s : h + s, {
|
|
57696
57695
|
top: h,
|
|
@@ -57718,12 +57717,12 @@
|
|
|
57718
57717
|
left: 0,
|
|
57719
57718
|
top: 0,
|
|
57720
57719
|
transform: "rotate(135deg)"
|
|
57721
|
-
}, d = 0, u = ii(a),
|
|
57720
|
+
}, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
|
|
57722
57721
|
o
|
|
57723
57722
|
];
|
|
57724
|
-
for((a || Array.isArray(o)) && (
|
|
57725
|
-
var
|
|
57726
|
-
top: (l = io(t, r,
|
|
57723
|
+
for((a || Array.isArray(o)) && (f = [].concat(f, ir)); d < f.length;){
|
|
57724
|
+
var p = {
|
|
57725
|
+
top: (l = io(t, r, f[d], n, {
|
|
57727
57726
|
offsetX: s,
|
|
57728
57727
|
offsetY: c
|
|
57729
57728
|
})).top,
|
|
@@ -57731,7 +57730,7 @@
|
|
|
57731
57730
|
width: r.width,
|
|
57732
57731
|
height: r.height
|
|
57733
57732
|
};
|
|
57734
|
-
if (
|
|
57733
|
+
if (p.top <= u.top || p.left <= u.left || p.top + p.height >= u.top + u.height || p.left + p.width >= u.left + u.width) d++;
|
|
57735
57734
|
else break;
|
|
57736
57735
|
}
|
|
57737
57736
|
return l;
|
|
@@ -57739,7 +57738,7 @@
|
|
|
57739
57738
|
var t = document.getElementById("popup-root");
|
|
57740
57739
|
return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
|
|
57741
57740
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
57742
|
-
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l,
|
|
57741
|
+
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l, f = r.onClose, p = void 0 === f ? function() {} : f, h = r.defaultOpen, m = r.open, g = void 0 === m ? void 0 : m, b = r.disabled, v = void 0 !== b && b, w = r.nested, k = void 0 !== w && w, y = r.closeOnDocumentClick, C = void 0 === y || y, B = r.repositionOnResize, _ = r.closeOnEscape, x = r.on, P = void 0 === x ? [
|
|
57743
57742
|
"click"
|
|
57744
57743
|
] : x, S = r.contentStyle, E = void 0 === S ? {} : S, T = r.arrowStyle, D = void 0 === T ? {} : T, $ = r.overlayStyle, j = r.className, I = void 0 === j ? "" : j, O = r.position, M = void 0 === O ? "bottom center" : O, A = r.modal, R = void 0 !== A && A, L = r.lockScroll, F = void 0 !== L && L, N = r.arrow, z = void 0 === N || N, V = r.offsetX, W = void 0 === V ? 0 : V, U = r.offsetY, q = void 0 === U ? 0 : U, Q = r.mouseEnterDelay, X = void 0 === Q ? 100 : Q, H = r.mouseLeaveDelay, Z = void 0 === H ? 100 : H, K = r.keepTooltipInside, Y = void 0 !== K && K, J = r.children, ee = reactExports.useState(g || void 0 !== h && h), et = ee[0], er = ee[1], eo = reactExports.useRef(null), en = reactExports.useRef(null), ei = reactExports.useRef(null), ea = reactExports.useRef(null), es = reactExports.useRef("popup-" + ++is), ec = !!R || !c, el = reactExports.useRef(0);
|
|
57745
57744
|
n7(function() {
|
|
@@ -57761,16 +57760,16 @@
|
|
|
57761
57760
|
}, eu = function(t) {
|
|
57762
57761
|
var r;
|
|
57763
57762
|
et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
|
|
57764
|
-
return
|
|
57763
|
+
return p(t);
|
|
57765
57764
|
}, 0));
|
|
57766
|
-
}, ep = function(t) {
|
|
57767
|
-
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57768
57765
|
}, ef = function(t) {
|
|
57766
|
+
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57767
|
+
}, ep = function(t) {
|
|
57769
57768
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57770
57769
|
return ed(t);
|
|
57771
57770
|
}, X);
|
|
57772
57771
|
}, eh = function(t) {
|
|
57773
|
-
null == t || t.preventDefault(),
|
|
57772
|
+
null == t || t.preventDefault(), ef();
|
|
57774
57773
|
}, em = function(t) {
|
|
57775
57774
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57776
57775
|
return eu(t);
|
|
@@ -57792,7 +57791,7 @@
|
|
|
57792
57791
|
eu();
|
|
57793
57792
|
},
|
|
57794
57793
|
toggle: function() {
|
|
57795
|
-
|
|
57794
|
+
ef();
|
|
57796
57795
|
}
|
|
57797
57796
|
};
|
|
57798
57797
|
});
|
|
@@ -57826,7 +57825,7 @@
|
|
|
57826
57825
|
t.stopPropagation();
|
|
57827
57826
|
}
|
|
57828
57827
|
};
|
|
57829
|
-
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter =
|
|
57828
|
+
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
|
|
57830
57829
|
}, ey = function() {
|
|
57831
57830
|
return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
|
|
57832
57831
|
key: "C",
|
|
@@ -57873,16 +57872,16 @@
|
|
|
57873
57872
|
P
|
|
57874
57873
|
], n = 0, i = o.length; n < i; n++)switch(o[n]){
|
|
57875
57874
|
case "click":
|
|
57876
|
-
r.onClick =
|
|
57875
|
+
r.onClick = ef;
|
|
57877
57876
|
break;
|
|
57878
57877
|
case "right-click":
|
|
57879
57878
|
r.onContextMenu = eh;
|
|
57880
57879
|
break;
|
|
57881
57880
|
case "hover":
|
|
57882
|
-
r.onMouseEnter =
|
|
57881
|
+
r.onMouseEnter = ep, r.onMouseLeave = em;
|
|
57883
57882
|
break;
|
|
57884
57883
|
case "focus":
|
|
57885
|
-
r.onFocus =
|
|
57884
|
+
r.onFocus = ep, r.onBlur = em;
|
|
57886
57885
|
}
|
|
57887
57886
|
if ("function" == typeof c) {
|
|
57888
57887
|
var a = c(et);
|
|
@@ -58149,7 +58148,7 @@
|
|
|
58149
58148
|
}
|
|
58150
58149
|
}, im = "default", ig = "error";
|
|
58151
58150
|
function ib({ className: t, width: r, height: o, type: n, strokeStyles: i, strokeWidth: a, radius: s, paddingStyle: c, defaultRectStyles: l, errorRectStyles: d, paddingCornerMultiplier: u = 1.5 }) {
|
|
58152
|
-
let
|
|
58151
|
+
let p = reactExports.useMemo(()=>({
|
|
58153
58152
|
[im]: l,
|
|
58154
58153
|
[ig]: d,
|
|
58155
58154
|
...i
|
|
@@ -58157,7 +58156,7 @@
|
|
|
58157
58156
|
l,
|
|
58158
58157
|
d,
|
|
58159
58158
|
i
|
|
58160
|
-
]), h = s + a * u, m =
|
|
58159
|
+
]), h = s + a * u, m = p[n];
|
|
58161
58160
|
return oZ.jsxs("svg", {
|
|
58162
58161
|
width: r,
|
|
58163
58162
|
height: o,
|
|
@@ -58376,8 +58375,8 @@
|
|
|
58376
58375
|
if (o && !a || !o && !s) return null;
|
|
58377
58376
|
let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
|
|
58378
58377
|
d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
|
|
58379
|
-
let
|
|
58380
|
-
|
|
58378
|
+
let f = d.getContext("2d"), p = u.getContext("2d");
|
|
58379
|
+
f.drawImage(r, 0, 0, c / 2, l, 0, 0, c / 2, l), p.drawImage(r, c / 2, 0, c / 2, l, 0, 0, c / 2, l);
|
|
58381
58380
|
let [h, m] = await Promise.all([
|
|
58382
58381
|
fb.getModelPredictions({
|
|
58383
58382
|
model: t,
|
|
@@ -58418,13 +58417,13 @@
|
|
|
58418
58417
|
return i;
|
|
58419
58418
|
}, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
|
|
58420
58419
|
if (null === t) return !0;
|
|
58421
|
-
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large,
|
|
58422
|
-
return (!c || !(
|
|
58420
|
+
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, f = r?.small, p = r?.large;
|
|
58421
|
+
return (!c || !(f < s) && !(p < a)) && (Math.abs(f - d) > Number.EPSILON ? f > d : Math.abs(p - u) > Number.EPSILON ? p > u : !!(l && Math.abs(n - o) > Number.EPSILON) && n > o);
|
|
58423
58422
|
};
|
|
58424
58423
|
function iW(t, r, o, n, i) {
|
|
58425
58424
|
o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
|
|
58426
|
-
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n,
|
|
58427
|
-
o.strokeRect(l, d, u - l,
|
|
58425
|
+
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n, f = (c + i.y) * n;
|
|
58426
|
+
o.strokeRect(l, d, u - l, f - d);
|
|
58428
58427
|
}));
|
|
58429
58428
|
}
|
|
58430
58429
|
function iU(t) {
|
|
@@ -59230,14 +59229,14 @@
|
|
|
59230
59229
|
_drawToCanvas(t, r, o, n, i, a) {
|
|
59231
59230
|
if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
|
|
59232
59231
|
this._lastFrameTime = 0;
|
|
59233
|
-
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i,
|
|
59232
|
+
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
|
|
59234
59233
|
if (this._stopDrawing) {
|
|
59235
59234
|
this._animationFrameId = null;
|
|
59236
59235
|
return;
|
|
59237
59236
|
}
|
|
59238
|
-
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(
|
|
59237
|
+
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
|
|
59239
59238
|
};
|
|
59240
|
-
this._animationFrameId = requestAnimationFrame(
|
|
59239
|
+
this._animationFrameId = requestAnimationFrame(f);
|
|
59241
59240
|
}
|
|
59242
59241
|
stopDrawing() {
|
|
59243
59242
|
this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
|
|
@@ -59247,10 +59246,10 @@
|
|
|
59247
59246
|
this.clearVideoChunks(), this._stopDrawing = !1;
|
|
59248
59247
|
let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
|
|
59249
59248
|
aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
|
|
59250
|
-
let
|
|
59251
|
-
|
|
59252
|
-
let
|
|
59253
|
-
if (!
|
|
59249
|
+
let f = document.createElement("canvas");
|
|
59250
|
+
f.width = n, f.height = i;
|
|
59251
|
+
let p = f.getContext("2d");
|
|
59252
|
+
if (!p) return console.error("Could not get canvas context."), {
|
|
59254
59253
|
mediaRecorder: null
|
|
59255
59254
|
};
|
|
59256
59255
|
try {
|
|
@@ -59258,7 +59257,7 @@
|
|
|
59258
59257
|
mimeType: "video/webm",
|
|
59259
59258
|
videoBitsPerSecond: c
|
|
59260
59259
|
}, i = nT.isIOS ? "video/mp4" : "video/webm";
|
|
59261
|
-
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(
|
|
59260
|
+
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(p, t, n, n / u, d, r), this._stream = f.captureStream(), o = {
|
|
59262
59261
|
mimeType: i,
|
|
59263
59262
|
videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
|
|
59264
59263
|
}), !this._stream) throw Error("Failed to create a media stream for recording.");
|
|
@@ -59313,7 +59312,7 @@
|
|
|
59313
59312
|
}
|
|
59314
59313
|
}, [
|
|
59315
59314
|
i
|
|
59316
|
-
]),
|
|
59315
|
+
]), p = reactExports.useCallback(()=>{
|
|
59317
59316
|
if (s.current && r.current) try {
|
|
59318
59317
|
s.current.discardRecording(), r.current = !1;
|
|
59319
59318
|
} catch (t) {
|
|
@@ -59322,19 +59321,19 @@
|
|
|
59322
59321
|
}, []);
|
|
59323
59322
|
return reactExports.useEffect(()=>{
|
|
59324
59323
|
let t = ()=>{
|
|
59325
|
-
"hidden" === document.visibilityState ?
|
|
59324
|
+
"hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
|
|
59326
59325
|
};
|
|
59327
59326
|
return document.addEventListener("visibilitychange", t), ()=>{
|
|
59328
59327
|
document.removeEventListener("visibilitychange", t);
|
|
59329
59328
|
};
|
|
59330
59329
|
}, [
|
|
59331
59330
|
l,
|
|
59332
|
-
|
|
59331
|
+
p
|
|
59333
59332
|
]), {
|
|
59334
59333
|
startRecording: l,
|
|
59335
59334
|
stopRecording: d,
|
|
59336
59335
|
resetRecording: u,
|
|
59337
|
-
discardRecording:
|
|
59336
|
+
discardRecording: p
|
|
59338
59337
|
};
|
|
59339
59338
|
}, { Errors: a$ } = ra$1, aj = ()=>({
|
|
59340
59339
|
imageBlob: null,
|
|
@@ -59547,22 +59546,22 @@
|
|
|
59547
59546
|
});
|
|
59548
59547
|
}
|
|
59549
59548
|
let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
59550
|
-
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo:
|
|
59549
|
+
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: p, frontSide: k, allowedCardTypes: y, settings: C, onCaptureDone: B, onUISpacingChange: x, outputEncryptionSettings: S, isShowingSpinner: E } = t, T = nt$2(), [D, F] = reactExports.useState({}), { yMessage: N, yCaptureButton: z, yToggleButton: V, yInstruction: U, yCountdown: q } = D, Q = nz("IDCapturing.captureIcon.src", "ic_camera.svg"), X = nz("IDCapturing.captureIcon.disabled.src", "ic_camera.svg"), H = nN("IDCapturing.countdown.color")({
|
|
59551
59550
|
theme: T
|
|
59552
|
-
}), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}),
|
|
59551
|
+
}), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}), ef = reactExports.useCallback((t)=>{
|
|
59553
59552
|
null === t ? er("") : er(Y(t?.code, {
|
|
59554
59553
|
side: k ? Y("front") : Y("back")
|
|
59555
59554
|
}));
|
|
59556
59555
|
}, [
|
|
59557
59556
|
Y,
|
|
59558
59557
|
k
|
|
59559
|
-
]),
|
|
59558
|
+
]), ep = reactExports.useCallback(()=>{
|
|
59560
59559
|
ee(""), eu.current();
|
|
59561
59560
|
}, []), eh = reactExports.useCallback((...t)=>{
|
|
59562
59561
|
ee(""), B(...t);
|
|
59563
59562
|
}, [
|
|
59564
59563
|
B
|
|
59565
|
-
]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange:
|
|
59564
|
+
]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange: p, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: C, quality: B })=>{
|
|
59566
59565
|
let x = reactExports.useRef(!1), [S, E] = reactExports.useState(!1), T = reactExports.useRef(()=>{}), { sendEvent: D } = iN$1.useSDKTracking(), L = reactExports.useRef(), F = reactExports.useRef(), N = reactExports.useRef(), z = reactExports.useContext(aO), { enableAntiDebug: V } = no$1.useSDKSettings(), { onErrorCallback: W } = aS(), { playVoice: U } = iJ$1.useVoicePlayer(), [q, Q] = reactExports.useState(nn(l, "enableAutoCapture")), X = reactExports.useCallback(()=>{
|
|
59567
59566
|
Q((t)=>!t);
|
|
59568
59567
|
}, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
|
|
@@ -59603,30 +59602,30 @@
|
|
|
59603
59602
|
l.blurLargeThresholdAuto,
|
|
59604
59603
|
l.blurLargeThresholdManual,
|
|
59605
59604
|
l.enableAutoCapture
|
|
59606
|
-
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState:
|
|
59605
|
+
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState: ef, resetRecordVideo: ep } = function({ isAutoCapture: t, blurSmallThreshold: r, blurLargeThreshold: s, refVideo: l, shouldStart: d, cropArea: u, settings: p, onError: m, frontSide: g, onAutoCaptureSuccess: b, quality: k, debug: y }) {
|
|
59607
59606
|
let C = reactExports.useRef(null);
|
|
59608
59607
|
null === C.current && (C.current = document.createElement("canvas"));
|
|
59609
|
-
let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } =
|
|
59610
|
-
videoFrameWidth:
|
|
59611
|
-
videoFrameHeight:
|
|
59612
|
-
videoBitrate:
|
|
59613
|
-
fps:
|
|
59608
|
+
let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } = p, K = reactExports.useRef(null), [Y, J] = reactExports.useState(!1), ee = reactExports.useRef(!1), et = reactExports.useMemo(()=>({
|
|
59609
|
+
videoFrameWidth: p.recordVideoFrameWidth,
|
|
59610
|
+
videoFrameHeight: p.recordVideoFrameHeight,
|
|
59611
|
+
videoBitrate: p.recordVideoBitrate,
|
|
59612
|
+
fps: p.recordVideoFps
|
|
59614
59613
|
}), [
|
|
59615
|
-
|
|
59616
|
-
|
|
59617
|
-
|
|
59618
|
-
|
|
59614
|
+
p.recordVideoBitrate,
|
|
59615
|
+
p.recordVideoFps,
|
|
59616
|
+
p.recordVideoFrameHeight,
|
|
59617
|
+
p.recordVideoFrameWidth
|
|
59619
59618
|
]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
|
|
59620
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59619
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
|
|
59621
59620
|
g,
|
|
59622
|
-
|
|
59623
|
-
|
|
59621
|
+
p.enableRecordCapturingBack,
|
|
59622
|
+
p.enableRecordCapturingFront
|
|
59624
59623
|
])
|
|
59625
59624
|
}), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
|
|
59626
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59625
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
|
|
59627
59626
|
g,
|
|
59628
|
-
|
|
59629
|
-
|
|
59627
|
+
p.enableRecordFullSessionBack,
|
|
59628
|
+
p.enableRecordFullSessionFront
|
|
59630
59629
|
])
|
|
59631
59630
|
}), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
|
|
59632
59631
|
let t = reactExports.useContext(nU);
|
|
@@ -59640,8 +59639,8 @@
|
|
|
59640
59639
|
]), reactExports.useEffect(()=>{
|
|
59641
59640
|
let t = !1;
|
|
59642
59641
|
return async function r() {
|
|
59643
|
-
if (
|
|
59644
|
-
if (
|
|
59642
|
+
if (p && !I) {
|
|
59643
|
+
if (p.enableIdDetection) {
|
|
59645
59644
|
let t = ((t, r)=>{
|
|
59646
59645
|
if (0 === t.length) return {
|
|
59647
59646
|
isValid: !1
|
|
@@ -59662,7 +59661,7 @@
|
|
|
59662
59661
|
} : {
|
|
59663
59662
|
isValid: !1
|
|
59664
59663
|
};
|
|
59665
|
-
})(Z.map((t)=>t.code),
|
|
59664
|
+
})(Z.map((t)=>t.code), p?.cardTypeModelMapping);
|
|
59666
59665
|
if (!t.isValid) {
|
|
59667
59666
|
U(a$.invalid_card_type_config), Q(!1), O(!0);
|
|
59668
59667
|
return;
|
|
@@ -59671,7 +59670,7 @@
|
|
|
59671
59670
|
V.current = await a_({
|
|
59672
59671
|
...W,
|
|
59673
59672
|
idCardModelUrl: r
|
|
59674
|
-
}, t.cardModel), await fY.initTensorFlow(), N.current =
|
|
59673
|
+
}, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
|
|
59675
59674
|
} else Q(!1), N.current = !1;
|
|
59676
59675
|
t || O(!0);
|
|
59677
59676
|
}
|
|
@@ -59680,7 +59679,7 @@
|
|
|
59680
59679
|
};
|
|
59681
59680
|
}, [
|
|
59682
59681
|
I,
|
|
59683
|
-
|
|
59682
|
+
p,
|
|
59684
59683
|
W,
|
|
59685
59684
|
Z,
|
|
59686
59685
|
U
|
|
@@ -59697,13 +59696,13 @@
|
|
|
59697
59696
|
});
|
|
59698
59697
|
}, [
|
|
59699
59698
|
k
|
|
59700
|
-
]),
|
|
59699
|
+
]), ef = reactExports.useCallback(()=>{
|
|
59701
59700
|
Y || (en(), es());
|
|
59702
59701
|
}, [
|
|
59703
59702
|
Y,
|
|
59704
59703
|
en,
|
|
59705
59704
|
es
|
|
59706
|
-
]),
|
|
59705
|
+
]), ep = reactExports.useCallback(async ()=>{
|
|
59707
59706
|
let t = {
|
|
59708
59707
|
capturingVideo: {
|
|
59709
59708
|
blob: null
|
|
@@ -59718,18 +59717,18 @@
|
|
|
59718
59717
|
}, [
|
|
59719
59718
|
eo,
|
|
59720
59719
|
ea
|
|
59721
|
-
]), eh = reactExports.useMemo(()=>g ?
|
|
59720
|
+
]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
|
|
59722
59721
|
g,
|
|
59723
|
-
|
|
59724
|
-
|
|
59725
|
-
]), em = reactExports.useMemo(()=>g ?
|
|
59722
|
+
p.enableFlashlightBack,
|
|
59723
|
+
p.enableFlashlightFront
|
|
59724
|
+
]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
|
|
59726
59725
|
g,
|
|
59727
|
-
|
|
59728
|
-
|
|
59729
|
-
]), eg = reactExports.useMemo(()=>g ?
|
|
59726
|
+
p.flashlightActivationDelayBack,
|
|
59727
|
+
p.flashlightActivationDelayFront
|
|
59728
|
+
]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
|
|
59730
59729
|
g,
|
|
59731
|
-
|
|
59732
|
-
|
|
59730
|
+
p.flashlightDurationBack,
|
|
59731
|
+
p.flashlightDurationFront
|
|
59733
59732
|
]), eb = reactExports.useCallback(()=>{
|
|
59734
59733
|
!ed.current && eh && (ed.current = !0, setTimeout(()=>{
|
|
59735
59734
|
ec(eg);
|
|
@@ -59746,9 +59745,9 @@
|
|
|
59746
59745
|
]), ew = reactExports.useCallback(()=>{
|
|
59747
59746
|
!0 === T.current && (T.current = !1);
|
|
59748
59747
|
}, []), ek = reactExports.useCallback(()=>{
|
|
59749
|
-
|
|
59748
|
+
ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
|
|
59750
59749
|
}, [
|
|
59751
|
-
|
|
59750
|
+
ef
|
|
59752
59751
|
]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59753
59752
|
await er({
|
|
59754
59753
|
videoEl: l.current,
|
|
@@ -59761,7 +59760,7 @@
|
|
|
59761
59760
|
incomingFrameBlurScore: t,
|
|
59762
59761
|
currentFrameGlareScore: i.glareScore,
|
|
59763
59762
|
incomingFrameGlareScore: n,
|
|
59764
|
-
settings:
|
|
59763
|
+
settings: p,
|
|
59765
59764
|
blurLargeThreshold: s,
|
|
59766
59765
|
blurSmallThreshold: r
|
|
59767
59766
|
})) {
|
|
@@ -59779,25 +59778,25 @@
|
|
|
59779
59778
|
}
|
|
59780
59779
|
i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
|
|
59781
59780
|
}
|
|
59782
|
-
|
|
59781
|
+
p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
|
|
59783
59782
|
}, [
|
|
59784
59783
|
er,
|
|
59785
59784
|
l,
|
|
59786
59785
|
et,
|
|
59787
59786
|
eb,
|
|
59788
|
-
|
|
59787
|
+
p,
|
|
59789
59788
|
s,
|
|
59790
59789
|
r,
|
|
59791
59790
|
k
|
|
59792
59791
|
]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59793
59792
|
F.current = !0;
|
|
59794
59793
|
let i = A.current;
|
|
59795
|
-
if (
|
|
59794
|
+
if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
|
|
59796
59795
|
currentFrameBlurScore: i.blurScore,
|
|
59797
59796
|
currentFrameGlareScore: i.glareScore,
|
|
59798
59797
|
incomingFrameBlurScore: t,
|
|
59799
59798
|
incomingFrameGlareScore: n,
|
|
59800
|
-
settings:
|
|
59799
|
+
settings: p,
|
|
59801
59800
|
blurLargeThreshold: s,
|
|
59802
59801
|
blurSmallThreshold: r
|
|
59803
59802
|
})) {
|
|
@@ -59816,19 +59815,19 @@
|
|
|
59816
59815
|
s,
|
|
59817
59816
|
r,
|
|
59818
59817
|
k,
|
|
59819
|
-
|
|
59818
|
+
p
|
|
59820
59819
|
]), eB = reactExports.useCallback(async ()=>{
|
|
59821
|
-
let { autoCaptureWaitForBestImageTimeMs: t } =
|
|
59820
|
+
let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
|
|
59822
59821
|
if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
|
|
59823
|
-
let t = await
|
|
59822
|
+
let t = await ep();
|
|
59824
59823
|
await ev(), await b({
|
|
59825
59824
|
...r,
|
|
59826
59825
|
...t
|
|
59827
59826
|
}), J(!1), R.current = null;
|
|
59828
59827
|
}
|
|
59829
59828
|
}, [
|
|
59830
|
-
|
|
59831
|
-
|
|
59829
|
+
p,
|
|
59830
|
+
ep,
|
|
59832
59831
|
ev,
|
|
59833
59832
|
b
|
|
59834
59833
|
]), e_ = reactExports.useCallback(()=>{
|
|
@@ -59843,7 +59842,7 @@
|
|
|
59843
59842
|
resultAnalyzeVideoAndWindowSizes: D.current,
|
|
59844
59843
|
recordVideoSettings: et
|
|
59845
59844
|
}), eb(), new Promise((t)=>{
|
|
59846
|
-
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } =
|
|
59845
|
+
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
|
|
59847
59846
|
if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
|
|
59848
59847
|
ex().then(async ()=>{
|
|
59849
59848
|
await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
|
|
@@ -59858,7 +59857,7 @@
|
|
|
59858
59857
|
quality: k
|
|
59859
59858
|
}).then(async (n)=>{
|
|
59860
59859
|
i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
|
|
59861
|
-
let a = await
|
|
59860
|
+
let a = await ep();
|
|
59862
59861
|
t({
|
|
59863
59862
|
...i,
|
|
59864
59863
|
...a
|
|
@@ -59866,7 +59865,7 @@
|
|
|
59866
59865
|
});
|
|
59867
59866
|
} else {
|
|
59868
59867
|
o && await eu(i.detectedCard);
|
|
59869
|
-
let r = await
|
|
59868
|
+
let r = await ep();
|
|
59870
59869
|
t({
|
|
59871
59870
|
...i,
|
|
59872
59871
|
...r
|
|
@@ -59893,10 +59892,10 @@
|
|
|
59893
59892
|
l,
|
|
59894
59893
|
et,
|
|
59895
59894
|
eb,
|
|
59896
|
-
|
|
59895
|
+
p,
|
|
59897
59896
|
e_,
|
|
59898
59897
|
ex,
|
|
59899
|
-
|
|
59898
|
+
ep,
|
|
59900
59899
|
ev,
|
|
59901
59900
|
r,
|
|
59902
59901
|
s,
|
|
@@ -59930,10 +59929,10 @@
|
|
|
59930
59929
|
portraitTopLeft: c,
|
|
59931
59930
|
portraitBottomRight: l
|
|
59932
59931
|
};
|
|
59933
|
-
}(t,
|
|
59932
|
+
}(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
|
|
59934
59933
|
let { cv: o } = window;
|
|
59935
59934
|
if (!o) throw Error("Opencv not found!");
|
|
59936
|
-
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t,
|
|
59935
|
+
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t, f = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59937
59936
|
n.x,
|
|
59938
59937
|
n.y,
|
|
59939
59938
|
i.x,
|
|
@@ -59942,7 +59941,7 @@
|
|
|
59942
59941
|
a.y,
|
|
59943
59942
|
s.x,
|
|
59944
59943
|
s.y
|
|
59945
|
-
]),
|
|
59944
|
+
]), p = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59946
59945
|
0,
|
|
59947
59946
|
0,
|
|
59948
59947
|
c - 1,
|
|
@@ -59951,7 +59950,7 @@
|
|
|
59951
59950
|
l - 1,
|
|
59952
59951
|
0,
|
|
59953
59952
|
l - 1
|
|
59954
|
-
]), h = o.getPerspectiveTransform(
|
|
59953
|
+
]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
|
|
59955
59954
|
let r = o.matFromArray(1, 1, o.CV_32FC2, [
|
|
59956
59955
|
t[0],
|
|
59957
59956
|
t[1]
|
|
@@ -59965,7 +59964,7 @@
|
|
|
59965
59964
|
Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
|
|
59966
59965
|
];
|
|
59967
59966
|
}, g = m(d), b = m(u);
|
|
59968
|
-
return
|
|
59967
|
+
return f.delete(), p.delete(), h.delete(), [
|
|
59969
59968
|
parseInt(g[0], 10),
|
|
59970
59969
|
parseInt(g[1], 10),
|
|
59971
59970
|
parseInt(b[0], 10),
|
|
@@ -60043,9 +60042,9 @@
|
|
|
60043
60042
|
};
|
|
60044
60043
|
}
|
|
60045
60044
|
}, [
|
|
60046
|
-
|
|
60045
|
+
p
|
|
60047
60046
|
]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
|
|
60048
|
-
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding:
|
|
60047
|
+
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding: f, cropHeightWithoutPadding: h } = D.current, { enableBlurCheck: m, enableGlareCheck: b, glareThreshold: v, isVietnameseCardFlow: k, hasFrontFace: C, hasBackFace: B, genericEnableCheckFrontFace: x, genericEnableCheckBackFace: P } = p, { blazefaceModel: S, blurDetector: E } = V.current, T = {
|
|
60049
60048
|
error: null
|
|
60050
60049
|
};
|
|
60051
60050
|
try {
|
|
@@ -60062,12 +60061,12 @@
|
|
|
60062
60061
|
area: c.width * c.height
|
|
60063
60062
|
},
|
|
60064
60063
|
big: {
|
|
60065
|
-
area:
|
|
60064
|
+
area: f * h
|
|
60066
60065
|
}
|
|
60067
60066
|
});
|
|
60068
60067
|
if (l < .5) throw Error("id_detector_card_too_small");
|
|
60069
60068
|
if (l > .95) throw Error("id_detector_error_incomplete");
|
|
60070
|
-
if (k && nn(
|
|
60069
|
+
if (k && nn(p, "enableCardTypeCheck")) {
|
|
60071
60070
|
let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
|
|
60072
60071
|
let o = t.split(".")?.[0];
|
|
60073
60072
|
if (o !== r[0].split(".")?.[0]) return {
|
|
@@ -60141,8 +60140,8 @@
|
|
|
60141
60140
|
smallThreshold: r,
|
|
60142
60141
|
largeThreshold: s
|
|
60143
60142
|
}), u = {
|
|
60144
|
-
small: iz(d?.[0],
|
|
60145
|
-
large: iz(d?.[1],
|
|
60143
|
+
small: iz(d?.[0], p.blurSmallDecimal),
|
|
60144
|
+
large: iz(d?.[1], p.blurLargeDecimal)
|
|
60146
60145
|
};
|
|
60147
60146
|
if (eT.current = {
|
|
60148
60147
|
...eT.current,
|
|
@@ -60158,10 +60157,10 @@
|
|
|
60158
60157
|
}
|
|
60159
60158
|
if (y) {
|
|
60160
60159
|
var I, O, M, A, R, L, F, N;
|
|
60161
|
-
let r, s,
|
|
60160
|
+
let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
|
|
60162
60161
|
eT.current = {
|
|
60163
60162
|
...eT.current,
|
|
60164
|
-
label:
|
|
60163
|
+
label: p,
|
|
60165
60164
|
corner_size: h?.length
|
|
60166
60165
|
}, p_.drawDebugCanvas(eE.current, eT.current);
|
|
60167
60166
|
let m = i$ / o.width, g = eS.current.getContext("2d");
|
|
@@ -60173,7 +60172,7 @@
|
|
|
60173
60172
|
o.strokeRect(s, c, l - s, d - c);
|
|
60174
60173
|
}(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
|
|
60175
60174
|
iW(t.bboxes, "blue", I, R, r);
|
|
60176
|
-
}),
|
|
60175
|
+
}), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
|
|
60177
60176
|
iW(t.bboxes, "green", I, R, r);
|
|
60178
60177
|
}), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
|
|
60179
60178
|
let r = t.x * N, o = t.y * N;
|
|
@@ -60182,7 +60181,7 @@
|
|
|
60182
60181
|
}
|
|
60183
60182
|
return T;
|
|
60184
60183
|
}, [
|
|
60185
|
-
|
|
60184
|
+
p,
|
|
60186
60185
|
y,
|
|
60187
60186
|
l,
|
|
60188
60187
|
Z,
|
|
@@ -60191,13 +60190,13 @@
|
|
|
60191
60190
|
s,
|
|
60192
60191
|
eD
|
|
60193
60192
|
]), ej = reactExports.useCallback(async ()=>{
|
|
60194
|
-
if (!
|
|
60193
|
+
if (!p || !I || T.current) return;
|
|
60195
60194
|
M.current = aj(), A.current = aI();
|
|
60196
|
-
let { enableVirtualCamHashes: t } =
|
|
60195
|
+
let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
|
|
60197
60196
|
T.current = !0;
|
|
60198
60197
|
let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
|
|
60199
60198
|
u.width = c, u.height = d;
|
|
60200
|
-
let
|
|
60199
|
+
let f = u.getContext("2d"), h = async ()=>{
|
|
60201
60200
|
if (!1 === T.current) return;
|
|
60202
60201
|
await ei({
|
|
60203
60202
|
videoEl: l.current,
|
|
@@ -60205,11 +60204,11 @@
|
|
|
60205
60204
|
recordVideoSettings: et
|
|
60206
60205
|
});
|
|
60207
60206
|
let n = K.current;
|
|
60208
|
-
|
|
60207
|
+
f.drawImage(i, a, s, c, d, 0, 0, c, d);
|
|
60209
60208
|
let g = performance.now();
|
|
60210
60209
|
if (z.current = !1, q && o) {
|
|
60211
60210
|
let o = await r.predict(u);
|
|
60212
|
-
!
|
|
60211
|
+
!p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
|
|
60213
60212
|
let r = nn(t, "card.corners");
|
|
60214
60213
|
if (r && Array.isArray(r) && r.length > 0) {
|
|
60215
60214
|
let { x: t, y: o } = nn(r, "[0].location");
|
|
@@ -60238,7 +60237,7 @@
|
|
|
60238
60237
|
};
|
|
60239
60238
|
K.current = window.requestAnimationFrame(h);
|
|
60240
60239
|
}, [
|
|
60241
|
-
|
|
60240
|
+
p,
|
|
60242
60241
|
I,
|
|
60243
60242
|
l,
|
|
60244
60243
|
ei,
|
|
@@ -60291,7 +60290,7 @@
|
|
|
60291
60290
|
refBlurScores: X,
|
|
60292
60291
|
refGlareScores: H,
|
|
60293
60292
|
resetState: ek,
|
|
60294
|
-
resetRecordVideo:
|
|
60293
|
+
resetRecordVideo: ef
|
|
60295
60294
|
};
|
|
60296
60295
|
}({
|
|
60297
60296
|
isAutoCapture: q,
|
|
@@ -60309,17 +60308,17 @@
|
|
|
60309
60308
|
});
|
|
60310
60309
|
reactExports.useContext(aO);
|
|
60311
60310
|
let eh = reactExports.useCallback(()=>{
|
|
60312
|
-
|
|
60311
|
+
ep(), eo(), k();
|
|
60313
60312
|
}, [
|
|
60314
60313
|
eo,
|
|
60315
|
-
|
|
60314
|
+
ep,
|
|
60316
60315
|
k
|
|
60317
60316
|
]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
|
|
60318
|
-
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t,
|
|
60317
|
+
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, f = reactExports.useRef(new pT({
|
|
60319
60318
|
totalTime: i,
|
|
60320
60319
|
interruptible: r
|
|
60321
60320
|
}));
|
|
60322
|
-
reactExports.useEffect(()=>
|
|
60321
|
+
reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
|
|
60323
60322
|
t >= 0 && t <= i / 3 && "function" == typeof c && c({
|
|
60324
60323
|
curTimeLeft: t
|
|
60325
60324
|
});
|
|
@@ -60328,24 +60327,24 @@
|
|
|
60328
60327
|
c,
|
|
60329
60328
|
i,
|
|
60330
60329
|
r
|
|
60331
|
-
]), reactExports.useEffect(()=>
|
|
60332
|
-
r &&
|
|
60330
|
+
]), reactExports.useEffect(()=>f.current.on("reset", ({ attemptCount: t })=>{
|
|
60331
|
+
r && f.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
|
|
60333
60332
|
}), [
|
|
60334
60333
|
l,
|
|
60335
60334
|
u,
|
|
60336
60335
|
s?.enable,
|
|
60337
60336
|
s?.total,
|
|
60338
60337
|
r
|
|
60339
|
-
]), reactExports.useEffect(()=>d ?
|
|
60338
|
+
]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
|
|
60340
60339
|
d
|
|
60341
60340
|
]);
|
|
60342
|
-
let
|
|
60343
|
-
|
|
60341
|
+
let p = reactExports.useCallback(()=>{
|
|
60342
|
+
f.current.resume();
|
|
60344
60343
|
}, []);
|
|
60345
60344
|
return {
|
|
60346
|
-
resumeTimer:
|
|
60345
|
+
resumeTimer: p,
|
|
60347
60346
|
pauseTimer: reactExports.useCallback(()=>{
|
|
60348
|
-
|
|
60347
|
+
f.current.pause();
|
|
60349
60348
|
}, [])
|
|
60350
60349
|
};
|
|
60351
60350
|
})({
|
|
@@ -60359,24 +60358,24 @@
|
|
|
60359
60358
|
}), eb = reactExports.useCallback(()=>{
|
|
60360
60359
|
x.current = !1;
|
|
60361
60360
|
}, []), ev = reactExports.useCallback(async ()=>{
|
|
60362
|
-
eb(), em(),
|
|
60361
|
+
eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
|
|
60363
60362
|
en()
|
|
60364
60363
|
]);
|
|
60365
60364
|
}, [
|
|
60366
60365
|
eb,
|
|
60367
|
-
|
|
60366
|
+
ef,
|
|
60368
60367
|
U,
|
|
60369
60368
|
u,
|
|
60370
60369
|
en,
|
|
60371
60370
|
em
|
|
60372
60371
|
]), ew = reactExports.useCallback(async (t = {})=>{
|
|
60373
|
-
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash:
|
|
60372
|
+
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash: f, blurScore: p, glareScore: h, fullVideo: m, capturingVideo: g } = t;
|
|
60374
60373
|
if (x.current) return;
|
|
60375
60374
|
x.current = !0, E(!0), eo(), eg(), Y(null);
|
|
60376
60375
|
let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
|
|
60377
|
-
if (v && null !==
|
|
60376
|
+
if (v && null !== f) {
|
|
60378
60377
|
let t = [
|
|
60379
|
-
|
|
60378
|
+
f,
|
|
60380
60379
|
...ec.current
|
|
60381
60380
|
];
|
|
60382
60381
|
t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
|
|
@@ -60385,7 +60384,7 @@
|
|
|
60385
60384
|
h7.addExifData("user_action", {
|
|
60386
60385
|
start_id_card: F.current,
|
|
60387
60386
|
end_id_card: Date.now()
|
|
60388
|
-
}), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score",
|
|
60387
|
+
}), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score", p), h7.addExifData("blur_score_frames", JSON.stringify(ed.current))), w && (h7.addExifData("model_score.glare_score", h), h7.addExifData("glare_score_frames", JSON.stringify(eu.current)));
|
|
60389
60388
|
let T = await h7.writeCurrentExif({
|
|
60390
60389
|
imageData: {
|
|
60391
60390
|
blob: o
|
|
@@ -60523,14 +60522,14 @@
|
|
|
60523
60522
|
};
|
|
60524
60523
|
})({
|
|
60525
60524
|
shouldStart: !0,
|
|
60526
|
-
refVideo:
|
|
60525
|
+
refVideo: p,
|
|
60527
60526
|
cropArea: eo,
|
|
60528
60527
|
settings: C,
|
|
60529
|
-
onModelErrorChange:
|
|
60528
|
+
onModelErrorChange: ef,
|
|
60530
60529
|
frontSide: k,
|
|
60531
60530
|
allowedCardTypes: y,
|
|
60532
60531
|
onDebugInfoChange: K,
|
|
60533
|
-
onSessionTimeout:
|
|
60532
|
+
onSessionTimeout: ep,
|
|
60534
60533
|
onCaptureDone: eh,
|
|
60535
60534
|
onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
|
|
60536
60535
|
ee(Y("remaining_time", {
|
|
@@ -60559,9 +60558,9 @@
|
|
|
60559
60558
|
}), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
|
|
60560
60559
|
reactExports.useEffect(()=>{
|
|
60561
60560
|
if (u) {
|
|
60562
|
-
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX:
|
|
60563
|
-
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 *
|
|
60564
|
-
x: Math.floor((c - i) / 2) +
|
|
60561
|
+
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: f, lostY: p, clientHeight: h } = u;
|
|
60562
|
+
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 * p - 80 - 100)), n = (t = (s = p + 140) - 70) + 30, o = eT ? s + a + 20 : s + a, r = s + a + 135, en({
|
|
60563
|
+
x: Math.floor((c - i) / 2) + f,
|
|
60565
60564
|
y: s,
|
|
60566
60565
|
width: i,
|
|
60567
60566
|
height: a,
|
|
@@ -61031,8 +61030,8 @@
|
|
|
61031
61030
|
Object.keys(l || {}).forEach(function(t) {
|
|
61032
61031
|
l[t] = i[t] || l[t];
|
|
61033
61032
|
});
|
|
61034
|
-
var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized,
|
|
61035
|
-
return
|
|
61033
|
+
var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized, f = d.inverted, p = c(s ? f : u);
|
|
61034
|
+
return p || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (p = c(s ? u : f)), p;
|
|
61036
61035
|
}
|
|
61037
61036
|
d.default = d, r.default = d;
|
|
61038
61037
|
},
|
|
@@ -61053,10 +61052,10 @@
|
|
|
61053
61052
|
r.binarize = function(t, r, o, a) {
|
|
61054
61053
|
if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
|
|
61055
61054
|
for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
|
|
61056
|
-
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1],
|
|
61057
|
-
s.set(c, l, .2126 * d + .7152 * u + .0722 *
|
|
61055
|
+
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], f = t[(l * r + c) * 4 + 2];
|
|
61056
|
+
s.set(c, l, .2126 * d + .7152 * u + .0722 * f);
|
|
61058
61057
|
}
|
|
61059
|
-
for(var
|
|
61058
|
+
for(var p = Math.ceil(r / 8), h = Math.ceil(o / 8), m = new i(p, h), g = 0; g < h; g++)for(var b = 0; b < p; b++){
|
|
61060
61059
|
for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
|
|
61061
61060
|
var y = s.get(8 * b + c, 8 * g + l);
|
|
61062
61061
|
v += y, w = Math.min(w, y), k = Math.max(k, y);
|
|
@@ -61070,8 +61069,8 @@
|
|
|
61070
61069
|
}
|
|
61071
61070
|
var _ = n.BitMatrix.createEmpty(r, o), x = null;
|
|
61072
61071
|
a && (x = n.BitMatrix.createEmpty(r, o));
|
|
61073
|
-
for(var g = 0; g < h; g++)for(var b = 0; b <
|
|
61074
|
-
for(var P, S, E, T, D = (P = b, S =
|
|
61072
|
+
for(var g = 0; g < h; g++)for(var b = 0; b < p; b++){
|
|
61073
|
+
for(var P, S, E, T, D = (P = b, S = p - 3, P < 2 ? 2 : P > S ? S : P), $ = (E = g, T = h - 3, E < 2 ? 2 : E > T ? T : E), v = 0, j = -2; j <= 2; j++)for(var I = -2; I <= 2; I++)v += m.get(D + j, $ + I);
|
|
61075
61074
|
for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
|
|
61076
61075
|
var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
|
|
61077
61076
|
_.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
|
|
@@ -61352,16 +61351,16 @@
|
|
|
61352
61351
|
for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
|
|
61353
61352
|
r = t.get(u, d), l = l << 1 | r;
|
|
61354
61353
|
}
|
|
61355
|
-
for(var
|
|
61356
|
-
o = t.get(u, d),
|
|
61354
|
+
for(var f = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
|
|
61355
|
+
o = t.get(u, d), f = f << 1 | o;
|
|
61357
61356
|
}
|
|
61358
|
-
for(var
|
|
61357
|
+
for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
|
|
61359
61358
|
var g = m[h];
|
|
61360
|
-
if (g.infoBits === l || g.infoBits ===
|
|
61359
|
+
if (g.infoBits === l || g.infoBits === f) return g;
|
|
61361
61360
|
var b = c(l, g.infoBits);
|
|
61362
|
-
b <
|
|
61361
|
+
b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
|
|
61363
61362
|
}
|
|
61364
|
-
if (
|
|
61363
|
+
if (p <= 3) return n;
|
|
61365
61364
|
}(t);
|
|
61366
61365
|
if (!r) return null;
|
|
61367
61366
|
var o = function(t) {
|
|
@@ -61371,19 +61370,19 @@
|
|
|
61371
61370
|
for(var d = 7; d >= 0; d--){
|
|
61372
61371
|
6 !== d && (o = t.get(8, d), a = a << 1 | o);
|
|
61373
61372
|
}
|
|
61374
|
-
for(var u = t.height,
|
|
61375
|
-
n = t.get(8, d),
|
|
61373
|
+
for(var u = t.height, f = 0, d = u - 1; d >= u - 7; d--){
|
|
61374
|
+
n = t.get(8, d), f = f << 1 | n;
|
|
61376
61375
|
}
|
|
61377
61376
|
for(var s = u - 8; s < u; s++){
|
|
61378
|
-
i = t.get(s, 8),
|
|
61377
|
+
i = t.get(s, 8), f = f << 1 | i;
|
|
61379
61378
|
}
|
|
61380
|
-
for(var
|
|
61379
|
+
for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
|
|
61381
61380
|
var g = l[m], b = g.bits, v = g.formatInfo;
|
|
61382
|
-
if (b === a || b ===
|
|
61381
|
+
if (b === a || b === f) return v;
|
|
61383
61382
|
var w = c(a, b);
|
|
61384
|
-
w <
|
|
61383
|
+
w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
|
|
61385
61384
|
}
|
|
61386
|
-
return
|
|
61385
|
+
return p <= 3 ? h : null;
|
|
61387
61386
|
}(t);
|
|
61388
61387
|
if (!o) return null;
|
|
61389
61388
|
var u = function(t, r, o) {
|
|
@@ -61400,10 +61399,10 @@
|
|
|
61400
61399
|
d.codewords.push(t.shift());
|
|
61401
61400
|
}
|
|
61402
61401
|
if (n.ecBlocks.length > 1) {
|
|
61403
|
-
for(var u = n.ecBlocks[0].numBlocks,
|
|
61402
|
+
for(var u = n.ecBlocks[0].numBlocks, f = n.ecBlocks[1].numBlocks, c = 0; c < f; c++)i[u + c].codewords.push(t.shift());
|
|
61404
61403
|
}
|
|
61405
|
-
for(; t.length > 0;)for(var
|
|
61406
|
-
var d = i[
|
|
61404
|
+
for(; t.length > 0;)for(var p = 0; p < i.length; p++){
|
|
61405
|
+
var d = i[p];
|
|
61407
61406
|
d.codewords.push(t.shift());
|
|
61408
61407
|
}
|
|
61409
61408
|
return i;
|
|
@@ -61418,11 +61417,11 @@
|
|
|
61418
61417
|
}
|
|
61419
61418
|
}
|
|
61420
61419
|
return o.setRegion(6, 9, 1, r - 17, !0), o.setRegion(9, 6, r - 17, 1, !0), t.versionNumber > 6 && (o.setRegion(r - 11, 0, 3, 6, !0), o.setRegion(0, r - 11, 6, 3, !0)), o;
|
|
61421
|
-
}(r), c = [], l = 0, u = 0,
|
|
61422
|
-
6 ===
|
|
61420
|
+
}(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
|
|
61421
|
+
6 === p && p--;
|
|
61423
61422
|
for(var h = 0; h < a; h++){
|
|
61424
|
-
for(var m =
|
|
61425
|
-
var b =
|
|
61423
|
+
for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
|
|
61424
|
+
var b = p - g;
|
|
61426
61425
|
if (!s.get(b, m)) {
|
|
61427
61426
|
u++;
|
|
61428
61427
|
var v = t.get(b, m);
|
|
@@ -61433,20 +61432,20 @@
|
|
|
61433
61432
|
}
|
|
61434
61433
|
}
|
|
61435
61434
|
}
|
|
61436
|
-
|
|
61435
|
+
f = !f;
|
|
61437
61436
|
}
|
|
61438
61437
|
return c;
|
|
61439
61438
|
}(t, r, o), r, o.errorCorrectionLevel);
|
|
61440
61439
|
if (!u) return null;
|
|
61441
|
-
for(var
|
|
61440
|
+
for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
|
|
61442
61441
|
return t + r.numDataCodewords;
|
|
61443
|
-
}, 0)),
|
|
61442
|
+
}, 0)), p = 0, h = 0; h < u.length; h++){
|
|
61444
61443
|
var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
|
|
61445
61444
|
if (!g) return null;
|
|
61446
|
-
for(var b = 0; b < m.numDataCodewords; b++)p
|
|
61445
|
+
for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
|
|
61447
61446
|
}
|
|
61448
61447
|
try {
|
|
61449
|
-
return i.decode(
|
|
61448
|
+
return i.decode(f, r.versionNumber);
|
|
61450
61449
|
} catch (t) {
|
|
61451
61450
|
return null;
|
|
61452
61451
|
}
|
|
@@ -61513,23 +61512,23 @@
|
|
|
61513
61512
|
":"
|
|
61514
61513
|
];
|
|
61515
61514
|
r.decode = function(t, r) {
|
|
61516
|
-
for(var o, n, i, u,
|
|
61515
|
+
for(var o, n, i, u, f = new c.BitStream(t), p = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
|
|
61517
61516
|
text: "",
|
|
61518
61517
|
bytes: [],
|
|
61519
61518
|
chunks: [],
|
|
61520
61519
|
version: r
|
|
61521
|
-
};
|
|
61522
|
-
var m =
|
|
61520
|
+
}; f.available() >= 4;){
|
|
61521
|
+
var m = f.readBits(4);
|
|
61523
61522
|
if (m === s.Terminator) return h;
|
|
61524
|
-
if (m === s.ECI) 0 ===
|
|
61523
|
+
if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
|
|
61525
61524
|
type: a.ECI,
|
|
61526
|
-
assignmentNumber:
|
|
61527
|
-
}) : 0 ===
|
|
61525
|
+
assignmentNumber: f.readBits(7)
|
|
61526
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61528
61527
|
type: a.ECI,
|
|
61529
|
-
assignmentNumber:
|
|
61530
|
-
}) : 0 ===
|
|
61528
|
+
assignmentNumber: f.readBits(14)
|
|
61529
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61531
61530
|
type: a.ECI,
|
|
61532
|
-
assignmentNumber:
|
|
61531
|
+
assignmentNumber: f.readBits(21)
|
|
61533
61532
|
}) : h.chunks.push({
|
|
61534
61533
|
type: a.ECI,
|
|
61535
61534
|
assignmentNumber: -1
|
|
@@ -61560,7 +61559,7 @@
|
|
|
61560
61559
|
bytes: o,
|
|
61561
61560
|
text: n
|
|
61562
61561
|
};
|
|
61563
|
-
}(
|
|
61562
|
+
}(f, p);
|
|
61564
61563
|
h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
|
|
61565
61564
|
type: a.Numeric,
|
|
61566
61565
|
text: g.text
|
|
@@ -61583,7 +61582,7 @@
|
|
|
61583
61582
|
bytes: o,
|
|
61584
61583
|
text: n
|
|
61585
61584
|
};
|
|
61586
|
-
}(
|
|
61585
|
+
}(f, p);
|
|
61587
61586
|
h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
|
|
61588
61587
|
type: a.Alphanumeric,
|
|
61589
61588
|
text: b.text
|
|
@@ -61607,7 +61606,7 @@
|
|
|
61607
61606
|
bytes: o,
|
|
61608
61607
|
text: n
|
|
61609
61608
|
};
|
|
61610
|
-
}(
|
|
61609
|
+
}(f, p);
|
|
61611
61610
|
h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
|
|
61612
61611
|
type: a.Byte,
|
|
61613
61612
|
bytes: v.bytes,
|
|
@@ -61627,7 +61626,7 @@
|
|
|
61627
61626
|
bytes: o,
|
|
61628
61627
|
text: n
|
|
61629
61628
|
};
|
|
61630
|
-
}(
|
|
61629
|
+
}(f, p);
|
|
61631
61630
|
h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
|
|
61632
61631
|
type: a.Kanji,
|
|
61633
61632
|
bytes: w.bytes,
|
|
@@ -61635,7 +61634,7 @@
|
|
|
61635
61634
|
});
|
|
61636
61635
|
}
|
|
61637
61636
|
}
|
|
61638
|
-
if (0 ===
|
|
61637
|
+
if (0 === f.available() || 0 === f.readBits(f.available())) return h;
|
|
61639
61638
|
};
|
|
61640
61639
|
},
|
|
61641
61640
|
function(t, r, o) {
|
|
@@ -68721,7 +68720,7 @@
|
|
|
68721
68720
|
c[c.length - 1 - d] = u, 0 !== u && (l = !0);
|
|
68722
68721
|
}
|
|
68723
68722
|
if (!l) return o;
|
|
68724
|
-
var
|
|
68723
|
+
var f = new i.default(a, c), p = function(t, r, o, n) {
|
|
68725
68724
|
r.degree() < o.degree() && (r = (i = [
|
|
68726
68725
|
o,
|
|
68727
68726
|
r
|
|
@@ -68730,11 +68729,11 @@
|
|
|
68730
68729
|
var d = a, u = c;
|
|
68731
68730
|
if (a = s, c = l, a.isZero()) return null;
|
|
68732
68731
|
s = d;
|
|
68733
|
-
for(var
|
|
68732
|
+
for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
|
|
68734
68733
|
var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
|
|
68735
|
-
|
|
68734
|
+
f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
|
|
68736
68735
|
}
|
|
68737
|
-
if (l =
|
|
68736
|
+
if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
|
|
68738
68737
|
}
|
|
68739
68738
|
var b = l.getCoefficient(0);
|
|
68740
68739
|
if (0 === b) return null;
|
|
@@ -68743,8 +68742,8 @@
|
|
|
68743
68742
|
l.multiply(v),
|
|
68744
68743
|
s.multiply(v)
|
|
68745
68744
|
];
|
|
68746
|
-
}(a, a.buildMonomial(r, 1),
|
|
68747
|
-
if (null ===
|
|
68745
|
+
}(a, a.buildMonomial(r, 1), f, r);
|
|
68746
|
+
if (null === p) return null;
|
|
68748
68747
|
var h = function(t, r) {
|
|
68749
68748
|
var o = r.degree();
|
|
68750
68749
|
if (1 === o) return [
|
|
@@ -68752,7 +68751,7 @@
|
|
|
68752
68751
|
];
|
|
68753
68752
|
for(var n = Array(o), i = 0, a = 1; a < t.size && i < o; a++)0 === r.evaluateAt(a) && (n[i] = t.inverse(a), i++);
|
|
68754
68753
|
return i !== o ? null : n;
|
|
68755
|
-
}(a,
|
|
68754
|
+
}(a, p[0]);
|
|
68756
68755
|
if (null == h) return null;
|
|
68757
68756
|
for(var m = function(t, r, o) {
|
|
68758
68757
|
for(var i = o.length, a = Array(i), s = 0; s < i; s++){
|
|
@@ -68760,7 +68759,7 @@
|
|
|
68760
68759
|
a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
|
|
68761
68760
|
}
|
|
68762
68761
|
return a;
|
|
68763
|
-
}(a,
|
|
68762
|
+
}(a, p[1], h), g = 0; g < h.length; g++){
|
|
68764
68763
|
var b = o.length - 1 - a.log(h[g]);
|
|
68765
68764
|
if (b < 0) return null;
|
|
68766
68765
|
o[b] = n.addOrSubtractGF(o[b], m[g]);
|
|
@@ -71241,14 +71240,14 @@
|
|
|
71241
71240
|
a32: t.y,
|
|
71242
71241
|
a33: 1
|
|
71243
71242
|
};
|
|
71244
|
-
var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l,
|
|
71243
|
+
var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l, f = (i * d - c * a) / u, p = (s * a - i * l) / u;
|
|
71245
71244
|
return {
|
|
71246
|
-
a11: r.x - t.x +
|
|
71247
|
-
a12: r.y - t.y +
|
|
71248
|
-
a13:
|
|
71249
|
-
a21: n.x - t.x +
|
|
71250
|
-
a22: n.y - t.y +
|
|
71251
|
-
a23:
|
|
71245
|
+
a11: r.x - t.x + f * r.x,
|
|
71246
|
+
a12: r.y - t.y + f * r.y,
|
|
71247
|
+
a13: f,
|
|
71248
|
+
a21: n.x - t.x + p * n.x,
|
|
71249
|
+
a22: n.y - t.y + p * n.y,
|
|
71250
|
+
a23: p,
|
|
71252
71251
|
a31: t.x,
|
|
71253
71252
|
a32: t.y,
|
|
71254
71253
|
a33: 1
|
|
@@ -71277,7 +71276,7 @@
|
|
|
71277
71276
|
a31: c.a21 * c.a32 - c.a22 * c.a31,
|
|
71278
71277
|
a32: c.a12 * c.a31 - c.a11 * c.a32,
|
|
71279
71278
|
a33: c.a11 * c.a22 - c.a12 * c.a21
|
|
71280
|
-
}),
|
|
71279
|
+
}), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
|
|
71281
71280
|
a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
|
|
71282
71281
|
a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
|
|
71283
71282
|
a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
|
|
@@ -71287,18 +71286,18 @@
|
|
|
71287
71286
|
a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
|
|
71288
71287
|
a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
|
|
71289
71288
|
a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
|
|
71290
|
-
}),
|
|
71291
|
-
var o =
|
|
71289
|
+
}), p = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
|
|
71290
|
+
var o = f.a13 * t + f.a23 * r + f.a33;
|
|
71292
71291
|
return {
|
|
71293
|
-
x: (
|
|
71294
|
-
y: (
|
|
71292
|
+
x: (f.a11 * t + f.a21 * r + f.a31) / o,
|
|
71293
|
+
y: (f.a12 * t + f.a22 * r + f.a32) / o
|
|
71295
71294
|
};
|
|
71296
71295
|
}, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
|
|
71297
71296
|
var b = h(g + .5, m + .5);
|
|
71298
|
-
|
|
71297
|
+
p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
|
|
71299
71298
|
}
|
|
71300
71299
|
return {
|
|
71301
|
-
matrix:
|
|
71300
|
+
matrix: p,
|
|
71302
71301
|
mappingFunction: h
|
|
71303
71302
|
};
|
|
71304
71303
|
};
|
|
@@ -71323,15 +71322,15 @@
|
|
|
71323
71322
|
}
|
|
71324
71323
|
], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
|
|
71325
71324
|
u ? (a = Math.floor(t.y), s = Math.floor(t.x), c = Math.floor(r.y), l = Math.floor(r.x)) : (a = Math.floor(t.x), s = Math.floor(t.y), c = Math.floor(r.x), l = Math.floor(r.y));
|
|
71326
|
-
for(var
|
|
71325
|
+
for(var f = Math.abs(c - a), p = Math.abs(l - s), h = Math.floor(-f / 2), m = a < c ? 1 : -1, g = s < l ? 1 : -1, b = !0, v = a, w = s; v !== c + m; v += m){
|
|
71327
71326
|
var k = u ? w : v, y = u ? v : w;
|
|
71328
71327
|
if (o.get(k, y) !== b && (b = !b, d.push({
|
|
71329
71328
|
x: k,
|
|
71330
71329
|
y: y
|
|
71331
71330
|
}), d.length === i + 1)) break;
|
|
71332
|
-
if ((h +=
|
|
71331
|
+
if ((h += p) > 0) {
|
|
71333
71332
|
if (w === l) break;
|
|
71334
|
-
w += g, h -=
|
|
71333
|
+
w += g, h -= f;
|
|
71335
71334
|
}
|
|
71336
71335
|
}
|
|
71337
71336
|
for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
|
|
@@ -71367,7 +71366,7 @@
|
|
|
71367
71366
|
}, l = s(t, a, o, r.length), d = {
|
|
71368
71367
|
x: Math.min(o.width, t.x + t.y) + 1,
|
|
71369
71368
|
y: Math.min(o.height, t.y + t.x) + 1
|
|
71370
|
-
}, u = s(t, d, o, r.length),
|
|
71369
|
+
}, u = s(t, d, o, r.length), f = c(n, r), p = c(i, r), h = c(l, r), m = c(u, r), g = Math.sqrt(f.error * f.error + p.error * p.error + h.error * h.error + m.error * m.error), b = (f.averageSize + p.averageSize + h.averageSize + m.averageSize) / 4, v = (Math.pow(f.averageSize - b, 2) + Math.pow(p.averageSize - b, 2) + Math.pow(h.averageSize - b, 2) + Math.pow(m.averageSize - b, 2)) / b;
|
|
71371
71370
|
return g + v;
|
|
71372
71371
|
} catch (t) {
|
|
71373
71372
|
return 1 / 0;
|
|
@@ -71400,16 +71399,16 @@
|
|
|
71400
71399
|
dimension: l,
|
|
71401
71400
|
moduleSize: c
|
|
71402
71401
|
};
|
|
71403
|
-
}(a, o, c, t)).dimension,
|
|
71402
|
+
}(a, o, c, t)).dimension, f = d.moduleSize;
|
|
71404
71403
|
} catch (t) {
|
|
71405
71404
|
return null;
|
|
71406
71405
|
}
|
|
71407
|
-
var d, u,
|
|
71406
|
+
var d, u, f, p = {
|
|
71408
71407
|
x: o.x - a.x + c.x,
|
|
71409
71408
|
y: o.y - a.y + c.y
|
|
71410
|
-
}, h = (n(a, c) + n(a, o)) / 2 /
|
|
71411
|
-
x: a.x + m * (
|
|
71412
|
-
y: a.y + m * (
|
|
71409
|
+
}, h = (n(a, c) + n(a, o)) / 2 / f, m = 1 - 3 / h, g = {
|
|
71410
|
+
x: a.x + m * (p.x - a.x),
|
|
71411
|
+
y: a.y + m * (p.y - a.y)
|
|
71413
71412
|
}, b = r.map(function(r) {
|
|
71414
71413
|
var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
|
|
71415
71414
|
if (t.get(Math.floor(o), Math.floor(a))) {
|
|
@@ -71447,7 +71446,7 @@
|
|
|
71447
71446
|
};
|
|
71448
71447
|
}
|
|
71449
71448
|
r.locate = function(t) {
|
|
71450
|
-
for(var r, o, a, s, c,
|
|
71449
|
+
for(var r, o, a, s, c, f, p, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
|
|
71451
71450
|
for(var o = 0, n = !1, a = [
|
|
71452
71451
|
0,
|
|
71453
71452
|
0,
|
|
@@ -71465,21 +71464,21 @@
|
|
|
71465
71464
|
a[4],
|
|
71466
71465
|
o
|
|
71467
71466
|
], o = 1, n = c;
|
|
71468
|
-
var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3,
|
|
71467
|
+
var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3, f = Math.abs(a[2] - u) < u && Math.abs(a[3] - u) < u && Math.abs(a[4] - u) < u && c;
|
|
71469
71468
|
if (d) {
|
|
71470
|
-
var
|
|
71469
|
+
var p = s - a[3] - a[4], h = p - a[2], m = {
|
|
71471
71470
|
startX: h,
|
|
71472
|
-
endX:
|
|
71471
|
+
endX: p,
|
|
71473
71472
|
y: r
|
|
71474
71473
|
}, g = y.filter(function(t) {
|
|
71475
|
-
return h >= t.bottom.startX && h <= t.bottom.endX ||
|
|
71474
|
+
return h >= t.bottom.startX && h <= t.bottom.endX || p >= t.bottom.startX && h <= t.bottom.endX || h <= t.bottom.startX && p >= t.bottom.endX && a[2] / (t.bottom.endX - t.bottom.startX) < 1.5 && a[2] / (t.bottom.endX - t.bottom.startX) > .5;
|
|
71476
71475
|
});
|
|
71477
71476
|
g.length > 0 ? g[0].bottom = m : y.push({
|
|
71478
71477
|
top: m,
|
|
71479
71478
|
bottom: m
|
|
71480
71479
|
});
|
|
71481
71480
|
}
|
|
71482
|
-
if (
|
|
71481
|
+
if (f) {
|
|
71483
71482
|
var b = s - a[4], v = b - a[3], m = {
|
|
71484
71483
|
startX: v,
|
|
71485
71484
|
y: r,
|
|
@@ -71573,14 +71572,14 @@
|
|
|
71573
71572
|
r,
|
|
71574
71573
|
o,
|
|
71575
71574
|
a
|
|
71576
|
-
])[0], m = c[1], g = c[2]) : (h = (
|
|
71575
|
+
])[0], m = c[1], g = c[2]) : (h = (f = [
|
|
71577
71576
|
r,
|
|
71578
71577
|
a,
|
|
71579
71578
|
o
|
|
71580
|
-
])[0], m =
|
|
71579
|
+
])[0], m = f[1], g = f[2]), (g.x - m.x) * (h.y - m.y) - (g.y - m.y) * (h.x - m.x) < 0 && (h = (p = [
|
|
71581
71580
|
g,
|
|
71582
71581
|
h
|
|
71583
|
-
])[0], g =
|
|
71582
|
+
])[0], g = p[1]), {
|
|
71584
71583
|
bottomLeft: h,
|
|
71585
71584
|
topLeft: m,
|
|
71586
71585
|
topRight: g
|
|
@@ -71747,6 +71746,15 @@
|
|
|
71747
71746
|
text-align: center;
|
|
71748
71747
|
font-size: 20px;
|
|
71749
71748
|
font-weight: 600;
|
|
71749
|
+
`; dt$1.div`
|
|
71750
|
+
width: 100%;
|
|
71751
|
+
height: 100%;
|
|
71752
|
+
opacity: ${({ $showChildren: t })=>+!!t};
|
|
71753
|
+
`;
|
|
71754
|
+
dt$1.div`
|
|
71755
|
+
text-align: center;
|
|
71756
|
+
font-size: 20px;
|
|
71757
|
+
font-weight: 600;
|
|
71750
71758
|
`; dt$1.div`
|
|
71751
71759
|
width: 100%;
|
|
71752
71760
|
height: 100%;
|
|
@@ -71754,7 +71762,7 @@
|
|
|
71754
71762
|
`;
|
|
71755
71763
|
({
|
|
71756
71764
|
onOrientationChange: PropTypes.func,
|
|
71757
|
-
|
|
71765
|
+
unmountOnHidden: PropTypes.bool
|
|
71758
71766
|
});
|
|
71759
71767
|
({
|
|
71760
71768
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -71772,16 +71780,16 @@
|
|
|
71772
71780
|
scannerTypeCons: PropTypes.shape({}).isRequired,
|
|
71773
71781
|
customTexts: PropTypes.shape({})
|
|
71774
71782
|
});
|
|
71775
|
-
let { IDCardSide:
|
|
71776
|
-
iI.ID_CARD, ra$1.IDCardSide.FRONT,
|
|
71777
|
-
let
|
|
71783
|
+
let { IDCardSide: sU, IDCardType: sq, Errors: sQ } = ra$1;
|
|
71784
|
+
iI.ID_CARD, ra$1.IDCardSide.FRONT, sq.VN, iI.ID_CARD, ra$1.IDCardSide.BACK, sq.VN, iI.QR_CODE;
|
|
71785
|
+
let sX = [
|
|
71778
71786
|
{
|
|
71779
71787
|
scannerType: iI.ID_CARD,
|
|
71780
71788
|
title: "Chụp mặt trước",
|
|
71781
71789
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71782
71790
|
titleIcon: "id_card_front.svg",
|
|
71783
71791
|
cardSide: ra$1.IDCardSide.FRONT,
|
|
71784
|
-
cardType:
|
|
71792
|
+
cardType: sq.VN,
|
|
71785
71793
|
enableConfirmPopup: !1
|
|
71786
71794
|
},
|
|
71787
71795
|
{
|
|
@@ -71790,25 +71798,25 @@
|
|
|
71790
71798
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71791
71799
|
titleIcon: "id_card_back.svg",
|
|
71792
71800
|
cardSide: ra$1.IDCardSide.BACK,
|
|
71793
|
-
cardType:
|
|
71801
|
+
cardType: sq.VN,
|
|
71794
71802
|
enableConfirmPopup: !1
|
|
71795
71803
|
}
|
|
71796
71804
|
];
|
|
71797
|
-
function
|
|
71798
|
-
if (rh) return
|
|
71805
|
+
function sH() {
|
|
71806
|
+
if (rh) return rp;
|
|
71799
71807
|
rh = 1;
|
|
71800
71808
|
var t = o9();
|
|
71801
|
-
return
|
|
71809
|
+
return rp = function() {
|
|
71802
71810
|
try {
|
|
71803
71811
|
var r = t(Object, "defineProperty");
|
|
71804
71812
|
return r({}, "", {}), r;
|
|
71805
71813
|
} catch (t) {}
|
|
71806
71814
|
}();
|
|
71807
71815
|
}
|
|
71808
|
-
function
|
|
71816
|
+
function sG() {
|
|
71809
71817
|
if (rg) return rm;
|
|
71810
71818
|
rg = 1;
|
|
71811
|
-
var t =
|
|
71819
|
+
var t = sH();
|
|
71812
71820
|
return rm = function(r, o, n) {
|
|
71813
71821
|
"__proto__" == o && t ? t(r, o, {
|
|
71814
71822
|
configurable: !0,
|
|
@@ -71818,26 +71826,26 @@
|
|
|
71818
71826
|
}) : r[o] = n;
|
|
71819
71827
|
};
|
|
71820
71828
|
}
|
|
71821
|
-
function
|
|
71829
|
+
function sZ() {
|
|
71822
71830
|
if (rv) return rb;
|
|
71823
71831
|
rv = 1;
|
|
71824
|
-
var t =
|
|
71832
|
+
var t = sG(), r = o7();
|
|
71825
71833
|
return rb = function(o, n, i) {
|
|
71826
71834
|
(void 0 === i || r(o[n], i)) && (void 0 !== i || n in o) || t(o, n, i);
|
|
71827
71835
|
};
|
|
71828
71836
|
}
|
|
71829
|
-
var
|
|
71837
|
+
var sK = {
|
|
71830
71838
|
exports: {}
|
|
71831
71839
|
};
|
|
71832
|
-
|
|
71833
|
-
function
|
|
71840
|
+
sK.exports;
|
|
71841
|
+
function sY() {
|
|
71834
71842
|
return rR ? rA : (rR = 1, rA = (rM ? rO : (rM = 1, rO = function(t, r) {
|
|
71835
71843
|
return function(o) {
|
|
71836
71844
|
return t(r(o));
|
|
71837
71845
|
};
|
|
71838
71846
|
}))(Object.getPrototypeOf, Object));
|
|
71839
71847
|
}
|
|
71840
|
-
function
|
|
71848
|
+
function sJ() {
|
|
71841
71849
|
if (rF) return rL;
|
|
71842
71850
|
rF = 1;
|
|
71843
71851
|
var t = Object.prototype;
|
|
@@ -71846,7 +71854,7 @@
|
|
|
71846
71854
|
return r === ("function" == typeof o && o.prototype || t);
|
|
71847
71855
|
};
|
|
71848
71856
|
}
|
|
71849
|
-
function
|
|
71857
|
+
function s3() {
|
|
71850
71858
|
if (rq) return rU;
|
|
71851
71859
|
rq = 1;
|
|
71852
71860
|
var t = function() {
|
|
@@ -71863,41 +71871,41 @@
|
|
|
71863
71871
|
return r(t) && n.call(t, "callee") && !i.call(t, "callee");
|
|
71864
71872
|
};
|
|
71865
71873
|
}
|
|
71866
|
-
function
|
|
71874
|
+
function s2() {
|
|
71867
71875
|
return rX ? rQ : (rX = 1, rQ = function(t) {
|
|
71868
71876
|
return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 0x1fffffffffffff;
|
|
71869
71877
|
});
|
|
71870
71878
|
}
|
|
71871
|
-
function
|
|
71879
|
+
function s5() {
|
|
71872
71880
|
if (rG) return rH;
|
|
71873
71881
|
rG = 1;
|
|
71874
|
-
var t = o8(), r =
|
|
71882
|
+
var t = o8(), r = s2();
|
|
71875
71883
|
return rH = function(o) {
|
|
71876
71884
|
return null != o && r(o.length) && !t(o);
|
|
71877
71885
|
};
|
|
71878
71886
|
}
|
|
71879
|
-
var
|
|
71887
|
+
var s0 = {
|
|
71880
71888
|
exports: {}
|
|
71881
71889
|
};
|
|
71882
|
-
function
|
|
71890
|
+
function s1() {
|
|
71883
71891
|
var t, r, o, n, i, a, s, c;
|
|
71884
|
-
if (r3) return
|
|
71885
|
-
return r3 = 1, t =
|
|
71892
|
+
if (r3) return s0.exports;
|
|
71893
|
+
return r3 = 1, t = s0, r = s0.exports, o = oJ(), n = rJ ? rY : (rJ = 1, rY = function() {
|
|
71886
71894
|
return !1;
|
|
71887
|
-
}), c = (s = (a = (i = r && !r.nodeType && r) && t && !t.nodeType && t) && a.exports === i ? o.Buffer : void 0) ? s.isBuffer : void 0, t.exports = c || n,
|
|
71895
|
+
}), c = (s = (a = (i = r && !r.nodeType && r) && t && !t.nodeType && t) && a.exports === i ? o.Buffer : void 0) ? s.isBuffer : void 0, t.exports = c || n, s0.exports;
|
|
71888
71896
|
}
|
|
71889
|
-
|
|
71890
|
-
var
|
|
71897
|
+
s0.exports;
|
|
71898
|
+
var s8 = {
|
|
71891
71899
|
exports: {}
|
|
71892
71900
|
};
|
|
71893
|
-
|
|
71894
|
-
function
|
|
71901
|
+
s8.exports;
|
|
71902
|
+
function s9() {
|
|
71895
71903
|
if (r6) return r7;
|
|
71896
71904
|
r6 = 1;
|
|
71897
71905
|
var t = function() {
|
|
71898
71906
|
if (r1) return r0;
|
|
71899
71907
|
r1 = 1;
|
|
71900
|
-
var t = o2(), r =
|
|
71908
|
+
var t = o2(), r = s2(), o = o5(), n = {};
|
|
71901
71909
|
return n["[object Float32Array]"] = n["[object Float64Array]"] = n["[object Int8Array]"] = n["[object Int16Array]"] = n["[object Int32Array]"] = n["[object Uint8Array]"] = n["[object Uint8ClampedArray]"] = n["[object Uint16Array]"] = n["[object Uint32Array]"] = !0, n["[object Arguments]"] = n["[object Array]"] = n["[object ArrayBuffer]"] = n["[object Boolean]"] = n["[object DataView]"] = n["[object Date]"] = n["[object Error]"] = n["[object Function]"] = n["[object Map]"] = n["[object Number]"] = n["[object Object]"] = n["[object RegExp]"] = n["[object Set]"] = n["[object String]"] = n["[object WeakMap]"] = !1, r0 = function(i) {
|
|
71902
71910
|
return o(i) && r(i.length) && !!n[t(i)];
|
|
71903
71911
|
};
|
|
@@ -71907,25 +71915,25 @@
|
|
|
71907
71915
|
};
|
|
71908
71916
|
}), o = function() {
|
|
71909
71917
|
var t, r, o, n, i, a;
|
|
71910
|
-
if (r4) return
|
|
71911
|
-
return r4 = 1, t =
|
|
71918
|
+
if (r4) return s8.exports;
|
|
71919
|
+
return r4 = 1, t = s8, r = s8.exports, o = oY(), a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n && o.process, t.exports = function() {
|
|
71912
71920
|
try {
|
|
71913
71921
|
var t = i && i.require && i.require("util").types;
|
|
71914
71922
|
if (t) return t;
|
|
71915
71923
|
return a && a.binding && a.binding("util");
|
|
71916
71924
|
} catch (t) {}
|
|
71917
|
-
}(),
|
|
71925
|
+
}(), s8.exports;
|
|
71918
71926
|
}(), n = o && o.isTypedArray;
|
|
71919
71927
|
return r7 = n ? r(n) : t;
|
|
71920
71928
|
}
|
|
71921
|
-
function
|
|
71929
|
+
function s4() {
|
|
71922
71930
|
return ot ? oe : (ot = 1, oe = function(t, r) {
|
|
71923
71931
|
if ("constructor" !== r || "function" != typeof t[r]) {
|
|
71924
71932
|
if ("__proto__" != r) return t[r];
|
|
71925
71933
|
}
|
|
71926
71934
|
});
|
|
71927
71935
|
}
|
|
71928
|
-
function
|
|
71936
|
+
function s7() {
|
|
71929
71937
|
if (ol) return oc;
|
|
71930
71938
|
ol = 1;
|
|
71931
71939
|
var t = /^(?:0|[1-9]\d*)$/;
|
|
@@ -71934,7 +71942,7 @@
|
|
|
71934
71942
|
return !!(o = null == o ? 0x1fffffffffffff : o) && ("number" == n || "symbol" != n && t.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
71935
71943
|
};
|
|
71936
71944
|
}
|
|
71937
|
-
function
|
|
71945
|
+
function s6() {
|
|
71938
71946
|
if (ob) return og;
|
|
71939
71947
|
ob = 1;
|
|
71940
71948
|
var t = function() {
|
|
@@ -71943,16 +71951,16 @@
|
|
|
71943
71951
|
var t = os ? oa : (os = 1, oa = function(t, r) {
|
|
71944
71952
|
for(var o = -1, n = Array(t); ++o < t;)n[o] = r(o);
|
|
71945
71953
|
return n;
|
|
71946
|
-
}), r =
|
|
71954
|
+
}), r = s3(), o = oK(), n = s1(), i = s7(), a = s9(), s = Object.prototype.hasOwnProperty;
|
|
71947
71955
|
return od = function(c, l) {
|
|
71948
|
-
var d = o(c), u = !d && r(c),
|
|
71949
|
-
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b ||
|
|
71956
|
+
var d = o(c), u = !d && r(c), f = !d && !u && n(c), p = !d && !u && !f && a(c), h = d || u || f || p, m = h ? t(c.length, String) : [], g = m.length;
|
|
71957
|
+
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b || f && ("offset" == b || "parent" == b) || p && ("buffer" == b || "byteLength" == b || "byteOffset" == b) || i(b, g))) && m.push(b);
|
|
71950
71958
|
return m;
|
|
71951
71959
|
};
|
|
71952
71960
|
}(), r = function() {
|
|
71953
71961
|
if (om) return oh;
|
|
71954
71962
|
om = 1;
|
|
71955
|
-
var t = o1(), r =
|
|
71963
|
+
var t = o1(), r = sJ(), o = op ? of : (op = 1, of = function(t) {
|
|
71956
71964
|
var r = [];
|
|
71957
71965
|
if (null != t) for(var o in Object(t))r.push(o);
|
|
71958
71966
|
return r;
|
|
@@ -71963,12 +71971,12 @@
|
|
|
71963
71971
|
for(var c in i)"constructor" == c && (a || !n.call(i, c)) || s.push(c);
|
|
71964
71972
|
return s;
|
|
71965
71973
|
};
|
|
71966
|
-
}(), o =
|
|
71974
|
+
}(), o = s5();
|
|
71967
71975
|
return og = function(n) {
|
|
71968
71976
|
return o(n) ? t(n, !0) : r(n);
|
|
71969
71977
|
};
|
|
71970
71978
|
}
|
|
71971
|
-
function
|
|
71979
|
+
function ce() {
|
|
71972
71980
|
return ox ? o_ : (ox = 1, o_ = function(t) {
|
|
71973
71981
|
return t;
|
|
71974
71982
|
});
|
|
@@ -71980,8 +71988,8 @@
|
|
|
71980
71988
|
if (oB) return oC;
|
|
71981
71989
|
oB = 1;
|
|
71982
71990
|
var t = function() {
|
|
71983
|
-
if (
|
|
71984
|
-
|
|
71991
|
+
if (rf) return ru;
|
|
71992
|
+
rf = 1;
|
|
71985
71993
|
var t = ne(), r = function() {
|
|
71986
71994
|
if (rr) return rt;
|
|
71987
71995
|
rr = 1;
|
|
@@ -72018,7 +72026,7 @@
|
|
|
72018
72026
|
this.size = o.size;
|
|
72019
72027
|
}
|
|
72020
72028
|
return s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = n, s.prototype.has = i, s.prototype.set = a, ru = s;
|
|
72021
|
-
}(), r =
|
|
72029
|
+
}(), r = sZ(), o = rC ? ry : (rC = 1, ry = (rk ? rw : (rk = 1, rw = function(t) {
|
|
72022
72030
|
return function(r, o, n) {
|
|
72023
72031
|
for(var i = -1, a = Object(r), s = n(r), c = s.length; c--;){
|
|
72024
72032
|
var l = s[t ? c : ++i];
|
|
@@ -72029,14 +72037,14 @@
|
|
|
72029
72037
|
}))()), n = function() {
|
|
72030
72038
|
if (oy) return ok;
|
|
72031
72039
|
oy = 1;
|
|
72032
|
-
var t =
|
|
72040
|
+
var t = sZ(), r = function() {
|
|
72033
72041
|
var t, r, o, n, i, a, s;
|
|
72034
|
-
if (rB) return
|
|
72035
|
-
return rB = 1, t =
|
|
72042
|
+
if (rB) return sK.exports;
|
|
72043
|
+
return rB = 1, t = sK, r = sK.exports, o = oJ(), s = (a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n ? o.Buffer : void 0) ? a.allocUnsafe : void 0, t.exports = function(t, r) {
|
|
72036
72044
|
if (r) return t.slice();
|
|
72037
72045
|
var o = t.length, n = s ? s(o) : new t.constructor(o);
|
|
72038
72046
|
return t.copy(n), n;
|
|
72039
|
-
},
|
|
72047
|
+
}, sK.exports;
|
|
72040
72048
|
}(), o = function() {
|
|
72041
72049
|
if (rT) return rE;
|
|
72042
72050
|
rT = 1;
|
|
@@ -72074,21 +72082,21 @@
|
|
|
72074
72082
|
return o.prototype = void 0, i;
|
|
72075
72083
|
};
|
|
72076
72084
|
}();
|
|
72077
|
-
}(), r =
|
|
72085
|
+
}(), r = sY(), o = sJ();
|
|
72078
72086
|
return rN = function(n) {
|
|
72079
72087
|
return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
|
|
72080
72088
|
};
|
|
72081
|
-
}(), a =
|
|
72089
|
+
}(), a = s3(), s = oK(), c = function() {
|
|
72082
72090
|
if (rK) return rZ;
|
|
72083
72091
|
rK = 1;
|
|
72084
|
-
var t =
|
|
72092
|
+
var t = s5(), r = o5();
|
|
72085
72093
|
return rZ = function(o) {
|
|
72086
72094
|
return r(o) && t(o);
|
|
72087
72095
|
};
|
|
72088
|
-
}(), l =
|
|
72096
|
+
}(), l = s1(), d = o8(), u = o1(), f = function() {
|
|
72089
72097
|
if (r5) return r2;
|
|
72090
72098
|
r5 = 1;
|
|
72091
|
-
var t = o2(), r =
|
|
72099
|
+
var t = o2(), r = sY(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
|
|
72092
72100
|
return r2 = function(n) {
|
|
72093
72101
|
if (!o(n) || "[object Object]" != t(n)) return !1;
|
|
72094
72102
|
var c = r(n);
|
|
@@ -72096,7 +72104,7 @@
|
|
|
72096
72104
|
var l = a.call(c, "constructor") && c.constructor;
|
|
72097
72105
|
return "function" == typeof l && l instanceof l && i.call(l) == s;
|
|
72098
72106
|
};
|
|
72099
|
-
}(),
|
|
72107
|
+
}(), p = s9(), h = s4(), m = function() {
|
|
72100
72108
|
if (ow) return ov;
|
|
72101
72109
|
ow = 1;
|
|
72102
72110
|
var t = function() {
|
|
@@ -72105,12 +72113,12 @@
|
|
|
72105
72113
|
var t = function() {
|
|
72106
72114
|
if (oo) return or;
|
|
72107
72115
|
oo = 1;
|
|
72108
|
-
var t =
|
|
72116
|
+
var t = sG(), r = o7(), o = Object.prototype.hasOwnProperty;
|
|
72109
72117
|
return or = function(n, i, a) {
|
|
72110
72118
|
var s = n[i];
|
|
72111
72119
|
o.call(n, i) && r(s, a) && (void 0 !== a || i in n) || t(n, i, a);
|
|
72112
72120
|
};
|
|
72113
|
-
}(), r =
|
|
72121
|
+
}(), r = sG();
|
|
72114
72122
|
return on = function(o, n, i, a) {
|
|
72115
72123
|
var s = !i;
|
|
72116
72124
|
i || (i = {});
|
|
@@ -72120,7 +72128,7 @@
|
|
|
72120
72128
|
}
|
|
72121
72129
|
return i;
|
|
72122
72130
|
};
|
|
72123
|
-
}(), r =
|
|
72131
|
+
}(), r = s6();
|
|
72124
72132
|
return ov = function(o) {
|
|
72125
72133
|
return t(o, r(o));
|
|
72126
72134
|
};
|
|
@@ -72130,17 +72138,17 @@
|
|
|
72130
72138
|
if (x) return void t(g, v, x);
|
|
72131
72139
|
var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
|
|
72132
72140
|
if (S) {
|
|
72133
|
-
var E = s(_), T = !E && l(_), D = !E && !T &&
|
|
72134
|
-
P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] :
|
|
72141
|
+
var E = s(_), T = !E && l(_), D = !E && !T && p(_);
|
|
72142
|
+
P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] : f(_) || a(_) ? (P = B, a(B) ? P = m(B) : (!u(B) || d(B)) && (P = i(_))) : S = !1;
|
|
72135
72143
|
}
|
|
72136
72144
|
S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
|
|
72137
72145
|
};
|
|
72138
|
-
}(), i = o1(), a =
|
|
72139
|
-
return oC = function c(l, d, u,
|
|
72146
|
+
}(), i = o1(), a = s6(), s = s4();
|
|
72147
|
+
return oC = function c(l, d, u, f, p) {
|
|
72140
72148
|
l !== d && o(d, function(o, a) {
|
|
72141
|
-
if (
|
|
72149
|
+
if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
|
|
72142
72150
|
else {
|
|
72143
|
-
var h =
|
|
72151
|
+
var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
|
|
72144
72152
|
void 0 === h && (h = o), r(l, a, h);
|
|
72145
72153
|
}
|
|
72146
72154
|
}, a);
|
|
@@ -72152,7 +72160,7 @@
|
|
|
72152
72160
|
var t = function() {
|
|
72153
72161
|
if (oF) return oL;
|
|
72154
72162
|
oF = 1;
|
|
72155
|
-
var t =
|
|
72163
|
+
var t = ce(), r = function() {
|
|
72156
72164
|
if (oT) return oE;
|
|
72157
72165
|
oT = 1;
|
|
72158
72166
|
var t = oS ? oP : (oS = 1, oP = function(t, r, o) {
|
|
@@ -72186,7 +72194,7 @@
|
|
|
72186
72194
|
return function() {
|
|
72187
72195
|
return t;
|
|
72188
72196
|
};
|
|
72189
|
-
}), r =
|
|
72197
|
+
}), r = sH(), o = ce();
|
|
72190
72198
|
return oj = r ? function(o, n) {
|
|
72191
72199
|
return r(o, "toString", {
|
|
72192
72200
|
configurable: !0,
|
|
@@ -72218,7 +72226,7 @@
|
|
|
72218
72226
|
}(), r = function() {
|
|
72219
72227
|
if (oz) return oN;
|
|
72220
72228
|
oz = 1;
|
|
72221
|
-
var t = o7(), r =
|
|
72229
|
+
var t = o7(), r = s5(), o = s7(), n = o1();
|
|
72222
72230
|
return oN = function(i, a, s) {
|
|
72223
72231
|
if (!n(s)) return !1;
|
|
72224
72232
|
var c = typeof a;
|
|
@@ -72239,7 +72247,7 @@
|
|
|
72239
72247
|
t(r, o, n);
|
|
72240
72248
|
});
|
|
72241
72249
|
}();
|
|
72242
|
-
let
|
|
72250
|
+
let ct = {
|
|
72243
72251
|
data: {
|
|
72244
72252
|
country: "vn",
|
|
72245
72253
|
settings: {
|
|
@@ -72390,12 +72398,12 @@
|
|
|
72390
72398
|
}
|
|
72391
72399
|
}
|
|
72392
72400
|
};
|
|
72393
|
-
let { DesignToken:
|
|
72394
|
-
|
|
72395
|
-
let { DesignToken:
|
|
72396
|
-
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary,
|
|
72397
|
-
let { DesignToken:
|
|
72398
|
-
|
|
72401
|
+
let { DesignToken: cr } = ra$1;
|
|
72402
|
+
cr.Color.separators.secondary, cr.Color.semantic.error[400], cr.Color.content.primary, cr.Typography.h5.fontSize, cr.Typography.h5.fontWeight, cr.Typography.h5.lineHeight, cr.Color.content.primary, cr.Typography.h6.fontSize, cr.FontWeight["semi-bold"], cr.Color.background.secondary, cr.BorderWidth.base, cr.Color.separators.tertiary, cr.Color.content.primary, cr.Typography.h6.fontSize, cr.FontWeight["semi-bold"], cr.Color.background.secondary, cr.BorderWidth.base, cr.Color.separators.tertiary, cr.Color.content["on-bg-color"], cr.Typography.label.fontSize, cr.Typography.label.fontWeight, cr.Color.blue[900], cr.Color.content["on-bg-color"], cr.Typography.label.fontSize, cr.Typography.label.fontWeight, cr.Color.semantic.error[400], cr.Typography.body.fontSize, cr.Typography.body.fontWeight, cr.Color.blue[900], cr.Color.blue[100], cr.Color.blue[900], cr.Typography.body.fontSize, cr.FontWeight["semi-bold"];
|
|
72403
|
+
let { DesignToken: co } = ra$1;
|
|
72404
|
+
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary, co.Color.semantic.error[400], co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.semantic.error[400], co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.blue[900], co.Color.neutral[300], co.Color.semantic.error[400], co.Color.content.primary, co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.blue[900], co.Color.separators.tertiary;
|
|
72405
|
+
let { DesignToken: cn } = ra$1;
|
|
72406
|
+
cn.Color.content["on-bg-color"], cn.Typography.label.fontSize, cn.Typography.label.fontWeight, ra$1.DesignToken.Spacing.base, ra$1.DesignToken.Spacing.base, ra$1.DesignToken.Color.base.white, ra$1.DesignToken.CornerRadius.sm, ra$1.DesignToken.Color.mask[70], ra$1.DesignToken.Typography.h6, ra$1.DesignToken.FontWeight["semi-bold"], ra$1.DesignToken.Color.content.primary, ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.content.secondary, ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.base.white, ra$1.DesignToken.Color.base.blue, ra$1.DesignToken.CornerRadius.xs, ra$1.DesignToken.Height["3xl"], ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.content.primary, ra$1.DesignToken.Color.background.tertiary, ra$1.DesignToken.CornerRadius.xs, ra$1.DesignToken.Height["3xl"], PropTypes.shape({}), PropTypes.shape({}), PropTypes.func, PropTypes.shape({}), PropTypes.func, PropTypes.func, PropTypes.func, PropTypes.arrayOf(PropTypes.shape({
|
|
72399
72407
|
scannerType: PropTypes.string
|
|
72400
72408
|
})), PropTypes.func, PropTypes.shape({}), PropTypes.string, PropTypes.bool, PropTypes.arrayOf(PropTypes.string), PropTypes.shape({});
|
|
72401
72409
|
|
|
@@ -86885,7 +86893,7 @@
|
|
|
86885
86893
|
table-layout: auto;
|
|
86886
86894
|
border-collapse: collapse;
|
|
86887
86895
|
`;
|
|
86888
|
-
const ChildrenWrapper$
|
|
86896
|
+
const ChildrenWrapper$2 = dt$1.div`
|
|
86889
86897
|
position: relative;
|
|
86890
86898
|
`;
|
|
86891
86899
|
const rows = Array.from(Array(3).keys());
|
|
@@ -86917,7 +86925,7 @@
|
|
|
86917
86925
|
height: isCenteredCell ? height : 'auto',
|
|
86918
86926
|
...!isCenteredCell ? surroundStyle : {}
|
|
86919
86927
|
},
|
|
86920
|
-
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$
|
|
86928
|
+
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$2, {
|
|
86921
86929
|
style: {
|
|
86922
86930
|
width: cellWidth,
|
|
86923
86931
|
height
|
|
@@ -88737,6 +88745,97 @@
|
|
|
88737
88745
|
};
|
|
88738
88746
|
};
|
|
88739
88747
|
|
|
88748
|
+
/**
|
|
88749
|
+
* Custom hook to delay rendering when transitioning from hidden to visible state.
|
|
88750
|
+
* Useful for waiting for browser dimension updates after orientation changes.
|
|
88751
|
+
*
|
|
88752
|
+
* @param params - Hook parameters
|
|
88753
|
+
* @param params.isVisible - Whether the component is currently visible
|
|
88754
|
+
* @param params.enableDelay - Whether to apply delay logic for show transitions
|
|
88755
|
+
* @param params.delayMs - Delay in milliseconds before showing (default: 500)
|
|
88756
|
+
* @returns Delayed visibility state
|
|
88757
|
+
*/ function useDelayedRender({ isVisible, enableDelay, delayMs = 500 }) {
|
|
88758
|
+
const [isVisibleDelayed, setIsVisibleDelayed] = reactExports.useState(isVisible);
|
|
88759
|
+
const prevIsVisibleRef = reactExports.useRef(isVisible);
|
|
88760
|
+
const timeoutRef = reactExports.useRef(null);
|
|
88761
|
+
reactExports.useEffect(()=>{
|
|
88762
|
+
const prevIsVisible = prevIsVisibleRef.current;
|
|
88763
|
+
// When delay is disabled, always sync immediately
|
|
88764
|
+
if (!enableDelay) {
|
|
88765
|
+
setIsVisibleDelayed(isVisible);
|
|
88766
|
+
prevIsVisibleRef.current = isVisible;
|
|
88767
|
+
return undefined;
|
|
88768
|
+
}
|
|
88769
|
+
// Handle transitions when delay is enabled
|
|
88770
|
+
const isTransitionToShow = !prevIsVisible && isVisible;
|
|
88771
|
+
const isTransitionToHide = prevIsVisible && !isVisible;
|
|
88772
|
+
if (isTransitionToShow) {
|
|
88773
|
+
// Delay showing when transitioning from hidden to visible
|
|
88774
|
+
timeoutRef.current = setTimeout(()=>{
|
|
88775
|
+
setIsVisibleDelayed(true);
|
|
88776
|
+
}, delayMs);
|
|
88777
|
+
} else if (isTransitionToHide) {
|
|
88778
|
+
// Immediately hide and cancel pending show
|
|
88779
|
+
if (timeoutRef.current) {
|
|
88780
|
+
clearTimeout(timeoutRef.current);
|
|
88781
|
+
timeoutRef.current = null;
|
|
88782
|
+
}
|
|
88783
|
+
setIsVisibleDelayed(false);
|
|
88784
|
+
}
|
|
88785
|
+
prevIsVisibleRef.current = isVisible;
|
|
88786
|
+
return ()=>{
|
|
88787
|
+
if (timeoutRef.current) {
|
|
88788
|
+
clearTimeout(timeoutRef.current);
|
|
88789
|
+
}
|
|
88790
|
+
};
|
|
88791
|
+
}, [
|
|
88792
|
+
isVisible,
|
|
88793
|
+
enableDelay,
|
|
88794
|
+
delayMs
|
|
88795
|
+
]);
|
|
88796
|
+
return isVisibleDelayed;
|
|
88797
|
+
}
|
|
88798
|
+
|
|
88799
|
+
const PopupContent$1 = dt$1.div`
|
|
88800
|
+
text-align: center;
|
|
88801
|
+
font-size: 20px;
|
|
88802
|
+
font-weight: 600;
|
|
88803
|
+
`;
|
|
88804
|
+
const ChildrenWrapper$1 = dt$1.div`
|
|
88805
|
+
width: 100%;
|
|
88806
|
+
height: 100%;
|
|
88807
|
+
opacity: ${({ $showChildren })=>$showChildren ? 1 : 0};
|
|
88808
|
+
`;
|
|
88809
|
+
const defaultPreferredOrientations = [
|
|
88810
|
+
MODE.PORTRAIT,
|
|
88811
|
+
MODE.DESKTOP
|
|
88812
|
+
];
|
|
88813
|
+
function OrientationDetectionV2({ onOrientationChange = noop$1, unmountOnHidden = false, remountDelayMs = 500, preferredOrientations = defaultPreferredOrientations, children }) {
|
|
88814
|
+
const t = gB();
|
|
88815
|
+
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88816
|
+
const hasCorrectOrientation = preferredOrientations.includes(curOrientation);
|
|
88817
|
+
const isVisible = useDelayedRender({
|
|
88818
|
+
isVisible: hasCorrectOrientation,
|
|
88819
|
+
enableDelay: unmountOnHidden,
|
|
88820
|
+
delayMs: remountDelayMs
|
|
88821
|
+
});
|
|
88822
|
+
const shouldMountChildrenOnDom = unmountOnHidden ? isVisible : true;
|
|
88823
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
88824
|
+
children: [
|
|
88825
|
+
!preferredOrientations.includes(curOrientation) && /*#__PURE__*/ jsxRuntimeExports.jsx(PopupComponent, {
|
|
88826
|
+
open: true,
|
|
88827
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(PopupContent$1, {
|
|
88828
|
+
children: t('wrong_orientation')
|
|
88829
|
+
})
|
|
88830
|
+
}),
|
|
88831
|
+
shouldMountChildrenOnDom && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$1, {
|
|
88832
|
+
$showChildren: hasCorrectOrientation,
|
|
88833
|
+
children: children
|
|
88834
|
+
})
|
|
88835
|
+
]
|
|
88836
|
+
});
|
|
88837
|
+
}
|
|
88838
|
+
|
|
88740
88839
|
const PopupContent = dt$1.div`
|
|
88741
88840
|
text-align: center;
|
|
88742
88841
|
font-size: 20px;
|
|
@@ -88748,7 +88847,7 @@
|
|
|
88748
88847
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88749
88848
|
`;
|
|
88750
88849
|
// eslint-disable-next-line react/require-default-props
|
|
88751
|
-
function
|
|
88850
|
+
function OrientationDetectionV1({ onOrientationChange, unmountOnHidden, children }) {
|
|
88752
88851
|
const t = gB();
|
|
88753
88852
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88754
88853
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88760,22 +88859,35 @@
|
|
|
88760
88859
|
children: t('wrong_orientation')
|
|
88761
88860
|
})
|
|
88762
88861
|
}),
|
|
88763
|
-
(
|
|
88862
|
+
(unmountOnHidden ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88764
88863
|
showChildren: shouldShowChildren,
|
|
88765
88864
|
children: children
|
|
88766
88865
|
})
|
|
88767
88866
|
]
|
|
88768
88867
|
});
|
|
88769
88868
|
}
|
|
88770
|
-
|
|
88869
|
+
OrientationDetectionV1.defaultProps = {
|
|
88771
88870
|
onOrientationChange: ()=>{},
|
|
88772
|
-
|
|
88871
|
+
unmountOnHidden: false
|
|
88773
88872
|
};
|
|
88774
|
-
|
|
88873
|
+
OrientationDetectionV1.propTypes = {
|
|
88775
88874
|
onOrientationChange: PropTypes.func,
|
|
88776
|
-
|
|
88875
|
+
unmountOnHidden: PropTypes.bool
|
|
88777
88876
|
};
|
|
88778
88877
|
|
|
88878
|
+
function OrientationDetection({ version = 'v1', children, ...rest }) {
|
|
88879
|
+
if (version === 'v2') {
|
|
88880
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV2, {
|
|
88881
|
+
...rest,
|
|
88882
|
+
children: children
|
|
88883
|
+
});
|
|
88884
|
+
}
|
|
88885
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV1, {
|
|
88886
|
+
...rest,
|
|
88887
|
+
children: children
|
|
88888
|
+
});
|
|
88889
|
+
}
|
|
88890
|
+
|
|
88779
88891
|
const useEkycSession = ()=>{
|
|
88780
88892
|
const [sessionId, setSessionId] = reactExports.useState(Date.now());
|
|
88781
88893
|
const updateSessionId = reactExports.useCallback(()=>{
|
|
@@ -88995,7 +89107,7 @@
|
|
|
88995
89107
|
width: 6px;
|
|
88996
89108
|
height: 6px;
|
|
88997
89109
|
border-radius: 50%;
|
|
88998
|
-
background-color: ${getTheme('FlashLiveness.progressBar.
|
|
89110
|
+
background-color: ${getTheme('FlashLiveness.progressBar.textColor')};
|
|
88999
89111
|
margin-right: 5px;
|
|
89000
89112
|
margin-bottom: 2px;
|
|
89001
89113
|
}
|
|
@@ -113497,7 +113609,7 @@
|
|
|
113497
113609
|
};
|
|
113498
113610
|
};
|
|
113499
113611
|
|
|
113500
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/5.34.
|
|
113612
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/5.34.3/assets";
|
|
113501
113613
|
class TVWebSDK extends gU {
|
|
113502
113614
|
constructor(props){
|
|
113503
113615
|
super({
|
|
@@ -113512,8 +113624,8 @@
|
|
|
113512
113624
|
exports.SDK = TVWebSDK;
|
|
113513
113625
|
exports.SDKAdapter = gV;
|
|
113514
113626
|
exports.ScannerType = iI;
|
|
113515
|
-
exports.defaultClientSettings =
|
|
113516
|
-
exports.defaultReadIDCardSteps =
|
|
113627
|
+
exports.defaultClientSettings = ct;
|
|
113628
|
+
exports.defaultReadIDCardSteps = sX;
|
|
113517
113629
|
exports.getSDKVersion = nB$1;
|
|
113518
113630
|
|
|
113519
113631
|
}));
|