@tsocial/tvweb-sdk.tcli 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.
- package/build/tvweb-sdk.cjs.min.js +124 -108
- package/build/tvweb-sdk.esm.min.js +124 -108
- package/build/tvweb-sdk.tcli.standalone.js +744 -631
- package/build/tvweb-sdk.tcli.standalone.min.js +124 -108
- package/package.json +5 -5
|
@@ -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);
|
|
@@ -45333,7 +45332,7 @@
|
|
|
45333
45332
|
return this.getKey().getPublicKey();
|
|
45334
45333
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45335
45334
|
return this.getKey().getPublicBaseKeyB64();
|
|
45336
|
-
}, e.version = "5.34.
|
|
45335
|
+
}, e.version = "5.34.2", e;
|
|
45337
45336
|
}();
|
|
45338
45337
|
let hO = [
|
|
45339
45338
|
"-",
|
|
@@ -53116,7 +53115,7 @@
|
|
|
53116
53115
|
});
|
|
53117
53116
|
};
|
|
53118
53117
|
|
|
53119
|
-
var Z, K, Y, J, ee, et, er, eo, en$1, ei, ea, es, ec, el, ed, eu,
|
|
53118
|
+
var Z, K, Y, J, ee, et, er, eo, en$1, 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 : {};
|
|
53120
53119
|
function oX(t) {
|
|
53121
53120
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
53122
53121
|
}
|
|
@@ -53195,7 +53194,7 @@
|
|
|
53195
53194
|
};
|
|
53196
53195
|
}
|
|
53197
53196
|
function o5() {
|
|
53198
|
-
return
|
|
53197
|
+
return ep ? ef : (ep = 1, ef = function(t) {
|
|
53199
53198
|
return null != t && "object" == typeof t;
|
|
53200
53199
|
});
|
|
53201
53200
|
}
|
|
@@ -53427,10 +53426,10 @@
|
|
|
53427
53426
|
return t(this, r).get(r);
|
|
53428
53427
|
};
|
|
53429
53428
|
}(), n = function() {
|
|
53430
|
-
if (
|
|
53431
|
-
|
|
53429
|
+
if (tp) return tf;
|
|
53430
|
+
tp = 1;
|
|
53432
53431
|
var t = nr();
|
|
53433
|
-
return
|
|
53432
|
+
return tf = function(r) {
|
|
53434
53433
|
return t(this, r).has(r);
|
|
53435
53434
|
};
|
|
53436
53435
|
}(), i = function() {
|
|
@@ -53573,16 +53572,16 @@
|
|
|
53573
53572
|
function nc(t, r) {
|
|
53574
53573
|
return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
53575
53574
|
}
|
|
53576
|
-
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted",
|
|
53575
|
+
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
|
|
53577
53576
|
function o(t, o) {
|
|
53578
53577
|
var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
|
|
53579
|
-
return i.appearStatus = null, t.in ? a ? (n =
|
|
53578
|
+
return i.appearStatus = null, t.in ? a ? (n = nf, i.appearStatus = np) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : nf, i.state = {
|
|
53580
53579
|
status: n
|
|
53581
53580
|
}, i.nextCallback = null, i;
|
|
53582
53581
|
}
|
|
53583
53582
|
ns(o, r), o.getDerivedStateFromProps = function(t, r) {
|
|
53584
53583
|
return t.in && r.status === nu ? {
|
|
53585
|
-
status:
|
|
53584
|
+
status: nf
|
|
53586
53585
|
} : null;
|
|
53587
53586
|
};
|
|
53588
53587
|
var n = o.prototype;
|
|
@@ -53592,7 +53591,7 @@
|
|
|
53592
53591
|
var r = null;
|
|
53593
53592
|
if (t !== this.props) {
|
|
53594
53593
|
var o = this.state.status;
|
|
53595
|
-
this.props.in ? o !==
|
|
53594
|
+
this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
|
|
53596
53595
|
}
|
|
53597
53596
|
this.updateStatus(!1, r);
|
|
53598
53597
|
}, n.componentWillUnmount = function() {
|
|
@@ -53605,7 +53604,7 @@
|
|
|
53605
53604
|
appear: o
|
|
53606
53605
|
};
|
|
53607
53606
|
}, n.updateStatus = function(t, r) {
|
|
53608
|
-
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r ===
|
|
53607
|
+
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({
|
|
53609
53608
|
status: nu
|
|
53610
53609
|
});
|
|
53611
53610
|
}, n.performEnter = function(t) {
|
|
@@ -53616,7 +53615,7 @@
|
|
|
53616
53615
|
n
|
|
53617
53616
|
], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
|
|
53618
53617
|
(t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
|
|
53619
|
-
status:
|
|
53618
|
+
status: np
|
|
53620
53619
|
}, function() {
|
|
53621
53620
|
r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
|
|
53622
53621
|
r.safeSetState({
|
|
@@ -53633,7 +53632,7 @@
|
|
|
53633
53632
|
}, n.performExit = function() {
|
|
53634
53633
|
var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
|
|
53635
53634
|
!r || nl ? this.safeSetState({
|
|
53636
|
-
status:
|
|
53635
|
+
status: nf
|
|
53637
53636
|
}, function() {
|
|
53638
53637
|
t.props.onExited(n);
|
|
53639
53638
|
}) : (this.props.onExit(n), this.safeSetState({
|
|
@@ -53641,7 +53640,7 @@
|
|
|
53641
53640
|
}, function() {
|
|
53642
53641
|
t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
|
|
53643
53642
|
t.safeSetState({
|
|
53644
|
-
status:
|
|
53643
|
+
status: nf
|
|
53645
53644
|
}, function() {
|
|
53646
53645
|
t.props.onExited(n);
|
|
53647
53646
|
});
|
|
@@ -53714,7 +53713,7 @@
|
|
|
53714
53713
|
onExit: nb,
|
|
53715
53714
|
onExiting: nb,
|
|
53716
53715
|
onExited: nb
|
|
53717
|
-
}, ng.UNMOUNTED = nu, ng.EXITED =
|
|
53716
|
+
}, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
|
|
53718
53717
|
var nv = function(t, r) {
|
|
53719
53718
|
return t && r && r.split(" ").forEach(function(r) {
|
|
53720
53719
|
var o, n;
|
|
@@ -53809,7 +53808,7 @@
|
|
|
53809
53808
|
return /*#__PURE__*/ React.cloneElement(o, {
|
|
53810
53809
|
in: !1,
|
|
53811
53810
|
onExited: nC(o, "onExited", function() {
|
|
53812
|
-
n(
|
|
53811
|
+
n(np, null);
|
|
53813
53812
|
})
|
|
53814
53813
|
});
|
|
53815
53814
|
}, tL[ny] = function(r) {
|
|
@@ -53819,7 +53818,7 @@
|
|
|
53819
53818
|
/*#__PURE__*/ React.cloneElement(i, {
|
|
53820
53819
|
in: !0,
|
|
53821
53820
|
onEntered: nC(i, "onEntered", function() {
|
|
53822
|
-
n(
|
|
53821
|
+
n(np);
|
|
53823
53822
|
})
|
|
53824
53823
|
})
|
|
53825
53824
|
];
|
|
@@ -53872,8 +53871,8 @@
|
|
|
53872
53871
|
if (null == r.children) return {
|
|
53873
53872
|
current: null
|
|
53874
53873
|
};
|
|
53875
|
-
if (o.status ===
|
|
53876
|
-
status:
|
|
53874
|
+
if (o.status === np && r.mode === ny) return {
|
|
53875
|
+
status: np
|
|
53877
53876
|
};
|
|
53878
53877
|
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) ? {
|
|
53879
53878
|
status: nm
|
|
@@ -53890,7 +53889,7 @@
|
|
|
53890
53889
|
status: s
|
|
53891
53890
|
};
|
|
53892
53891
|
switch(s){
|
|
53893
|
-
case
|
|
53892
|
+
case np:
|
|
53894
53893
|
r = n_[i](l);
|
|
53895
53894
|
break;
|
|
53896
53895
|
case nm:
|
|
@@ -53920,7 +53919,7 @@
|
|
|
53920
53919
|
var t, r;
|
|
53921
53920
|
if (tN) return nS.exports;
|
|
53922
53921
|
return tN = 1, t = nS, r = nS.exports, function(o, n) {
|
|
53923
|
-
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name",
|
|
53922
|
+
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) {
|
|
53924
53923
|
var o = {};
|
|
53925
53924
|
for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
|
|
53926
53925
|
return o;
|
|
@@ -53935,9 +53934,9 @@
|
|
|
53935
53934
|
if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
|
|
53936
53935
|
}, X = function(t, r) {
|
|
53937
53936
|
for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
|
|
53938
|
-
var
|
|
53939
|
-
for(o = n = 0; o <
|
|
53940
|
-
if (l =
|
|
53937
|
+
var f = r[u], p = r[u + 1];
|
|
53938
|
+
for(o = n = 0; o < f.length && !l && f[o];){
|
|
53939
|
+
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;
|
|
53941
53940
|
}
|
|
53942
53941
|
u += 2;
|
|
53943
53942
|
}
|
|
@@ -54521,11 +54520,11 @@
|
|
|
54521
54520
|
[
|
|
54522
54521
|
d,
|
|
54523
54522
|
[
|
|
54524
|
-
|
|
54523
|
+
p,
|
|
54525
54524
|
O
|
|
54526
54525
|
],
|
|
54527
54526
|
[
|
|
54528
|
-
|
|
54527
|
+
f,
|
|
54529
54528
|
v
|
|
54530
54529
|
]
|
|
54531
54530
|
],
|
|
@@ -54537,11 +54536,11 @@
|
|
|
54537
54536
|
[
|
|
54538
54537
|
d,
|
|
54539
54538
|
[
|
|
54540
|
-
|
|
54539
|
+
p,
|
|
54541
54540
|
O
|
|
54542
54541
|
],
|
|
54543
54542
|
[
|
|
54544
|
-
|
|
54543
|
+
f,
|
|
54545
54544
|
b
|
|
54546
54545
|
]
|
|
54547
54546
|
],
|
|
@@ -54551,11 +54550,11 @@
|
|
|
54551
54550
|
[
|
|
54552
54551
|
d,
|
|
54553
54552
|
[
|
|
54554
|
-
|
|
54553
|
+
p,
|
|
54555
54554
|
B
|
|
54556
54555
|
],
|
|
54557
54556
|
[
|
|
54558
|
-
|
|
54557
|
+
f,
|
|
54559
54558
|
b
|
|
54560
54559
|
]
|
|
54561
54560
|
],
|
|
@@ -54567,11 +54566,11 @@
|
|
|
54567
54566
|
[
|
|
54568
54567
|
d,
|
|
54569
54568
|
[
|
|
54570
|
-
|
|
54569
|
+
p,
|
|
54571
54570
|
B
|
|
54572
54571
|
],
|
|
54573
54572
|
[
|
|
54574
|
-
|
|
54573
|
+
f,
|
|
54575
54574
|
v
|
|
54576
54575
|
]
|
|
54577
54576
|
],
|
|
@@ -54581,7 +54580,7 @@
|
|
|
54581
54580
|
[
|
|
54582
54581
|
d,
|
|
54583
54582
|
[
|
|
54584
|
-
|
|
54583
|
+
p,
|
|
54585
54584
|
B
|
|
54586
54585
|
]
|
|
54587
54586
|
],
|
|
@@ -54591,11 +54590,11 @@
|
|
|
54591
54590
|
[
|
|
54592
54591
|
d,
|
|
54593
54592
|
[
|
|
54594
|
-
|
|
54593
|
+
p,
|
|
54595
54594
|
M
|
|
54596
54595
|
],
|
|
54597
54596
|
[
|
|
54598
|
-
|
|
54597
|
+
f,
|
|
54599
54598
|
b
|
|
54600
54599
|
]
|
|
54601
54600
|
],
|
|
@@ -54605,11 +54604,11 @@
|
|
|
54605
54604
|
[
|
|
54606
54605
|
d,
|
|
54607
54606
|
[
|
|
54608
|
-
|
|
54607
|
+
p,
|
|
54609
54608
|
D
|
|
54610
54609
|
],
|
|
54611
54610
|
[
|
|
54612
|
-
|
|
54611
|
+
f,
|
|
54613
54612
|
v
|
|
54614
54613
|
]
|
|
54615
54614
|
],
|
|
@@ -54620,11 +54619,11 @@
|
|
|
54620
54619
|
[
|
|
54621
54620
|
d,
|
|
54622
54621
|
[
|
|
54623
|
-
|
|
54622
|
+
p,
|
|
54624
54623
|
D
|
|
54625
54624
|
],
|
|
54626
54625
|
[
|
|
54627
|
-
|
|
54626
|
+
f,
|
|
54628
54627
|
b
|
|
54629
54628
|
]
|
|
54630
54629
|
],
|
|
@@ -54643,11 +54642,11 @@
|
|
|
54643
54642
|
" "
|
|
54644
54643
|
],
|
|
54645
54644
|
[
|
|
54646
|
-
|
|
54645
|
+
p,
|
|
54647
54646
|
R
|
|
54648
54647
|
],
|
|
54649
54648
|
[
|
|
54650
|
-
|
|
54649
|
+
f,
|
|
54651
54650
|
b
|
|
54652
54651
|
]
|
|
54653
54652
|
],
|
|
@@ -54662,11 +54661,11 @@
|
|
|
54662
54661
|
" "
|
|
54663
54662
|
],
|
|
54664
54663
|
[
|
|
54665
|
-
|
|
54664
|
+
p,
|
|
54666
54665
|
R
|
|
54667
54666
|
],
|
|
54668
54667
|
[
|
|
54669
|
-
|
|
54668
|
+
f,
|
|
54670
54669
|
v
|
|
54671
54670
|
]
|
|
54672
54671
|
],
|
|
@@ -54677,11 +54676,11 @@
|
|
|
54677
54676
|
[
|
|
54678
54677
|
d,
|
|
54679
54678
|
[
|
|
54680
|
-
|
|
54679
|
+
p,
|
|
54681
54680
|
"OPPO"
|
|
54682
54681
|
],
|
|
54683
54682
|
[
|
|
54684
|
-
|
|
54683
|
+
f,
|
|
54685
54684
|
b
|
|
54686
54685
|
]
|
|
54687
54686
|
],
|
|
@@ -54692,11 +54691,11 @@
|
|
|
54692
54691
|
[
|
|
54693
54692
|
d,
|
|
54694
54693
|
[
|
|
54695
|
-
|
|
54694
|
+
p,
|
|
54696
54695
|
"Vivo"
|
|
54697
54696
|
],
|
|
54698
54697
|
[
|
|
54699
|
-
|
|
54698
|
+
f,
|
|
54700
54699
|
b
|
|
54701
54700
|
]
|
|
54702
54701
|
],
|
|
@@ -54706,11 +54705,11 @@
|
|
|
54706
54705
|
[
|
|
54707
54706
|
d,
|
|
54708
54707
|
[
|
|
54709
|
-
|
|
54708
|
+
p,
|
|
54710
54709
|
"Realme"
|
|
54711
54710
|
],
|
|
54712
54711
|
[
|
|
54713
|
-
|
|
54712
|
+
f,
|
|
54714
54713
|
b
|
|
54715
54714
|
]
|
|
54716
54715
|
],
|
|
@@ -54722,11 +54721,11 @@
|
|
|
54722
54721
|
[
|
|
54723
54722
|
d,
|
|
54724
54723
|
[
|
|
54725
|
-
|
|
54724
|
+
p,
|
|
54726
54725
|
j
|
|
54727
54726
|
],
|
|
54728
54727
|
[
|
|
54729
|
-
|
|
54728
|
+
f,
|
|
54730
54729
|
b
|
|
54731
54730
|
]
|
|
54732
54731
|
],
|
|
@@ -54736,11 +54735,11 @@
|
|
|
54736
54735
|
[
|
|
54737
54736
|
d,
|
|
54738
54737
|
[
|
|
54739
|
-
|
|
54738
|
+
p,
|
|
54740
54739
|
j
|
|
54741
54740
|
],
|
|
54742
54741
|
[
|
|
54743
|
-
|
|
54742
|
+
f,
|
|
54744
54743
|
v
|
|
54745
54744
|
]
|
|
54746
54745
|
],
|
|
@@ -54750,11 +54749,11 @@
|
|
|
54750
54749
|
[
|
|
54751
54750
|
d,
|
|
54752
54751
|
[
|
|
54753
|
-
|
|
54752
|
+
p,
|
|
54754
54753
|
"LG"
|
|
54755
54754
|
],
|
|
54756
54755
|
[
|
|
54757
|
-
|
|
54756
|
+
f,
|
|
54758
54757
|
v
|
|
54759
54758
|
]
|
|
54760
54759
|
],
|
|
@@ -54766,11 +54765,11 @@
|
|
|
54766
54765
|
[
|
|
54767
54766
|
d,
|
|
54768
54767
|
[
|
|
54769
|
-
|
|
54768
|
+
p,
|
|
54770
54769
|
"LG"
|
|
54771
54770
|
],
|
|
54772
54771
|
[
|
|
54773
|
-
|
|
54772
|
+
f,
|
|
54774
54773
|
b
|
|
54775
54774
|
]
|
|
54776
54775
|
],
|
|
@@ -54781,11 +54780,11 @@
|
|
|
54781
54780
|
[
|
|
54782
54781
|
d,
|
|
54783
54782
|
[
|
|
54784
|
-
|
|
54783
|
+
p,
|
|
54785
54784
|
"Lenovo"
|
|
54786
54785
|
],
|
|
54787
54786
|
[
|
|
54788
|
-
|
|
54787
|
+
f,
|
|
54789
54788
|
v
|
|
54790
54789
|
]
|
|
54791
54790
|
],
|
|
@@ -54800,11 +54799,11 @@
|
|
|
54800
54799
|
" "
|
|
54801
54800
|
],
|
|
54802
54801
|
[
|
|
54803
|
-
|
|
54802
|
+
p,
|
|
54804
54803
|
"Nokia"
|
|
54805
54804
|
],
|
|
54806
54805
|
[
|
|
54807
|
-
|
|
54806
|
+
f,
|
|
54808
54807
|
b
|
|
54809
54808
|
]
|
|
54810
54809
|
],
|
|
@@ -54814,11 +54813,11 @@
|
|
|
54814
54813
|
[
|
|
54815
54814
|
d,
|
|
54816
54815
|
[
|
|
54817
|
-
|
|
54816
|
+
p,
|
|
54818
54817
|
T
|
|
54819
54818
|
],
|
|
54820
54819
|
[
|
|
54821
|
-
|
|
54820
|
+
f,
|
|
54822
54821
|
v
|
|
54823
54822
|
]
|
|
54824
54823
|
],
|
|
@@ -54828,11 +54827,11 @@
|
|
|
54828
54827
|
[
|
|
54829
54828
|
d,
|
|
54830
54829
|
[
|
|
54831
|
-
|
|
54830
|
+
p,
|
|
54832
54831
|
T
|
|
54833
54832
|
],
|
|
54834
54833
|
[
|
|
54835
|
-
|
|
54834
|
+
f,
|
|
54836
54835
|
b
|
|
54837
54836
|
]
|
|
54838
54837
|
],
|
|
@@ -54842,11 +54841,11 @@
|
|
|
54842
54841
|
[
|
|
54843
54842
|
d,
|
|
54844
54843
|
[
|
|
54845
|
-
|
|
54844
|
+
p,
|
|
54846
54845
|
A
|
|
54847
54846
|
],
|
|
54848
54847
|
[
|
|
54849
|
-
|
|
54848
|
+
f,
|
|
54850
54849
|
b
|
|
54851
54850
|
]
|
|
54852
54851
|
],
|
|
@@ -54860,11 +54859,11 @@
|
|
|
54860
54859
|
"Xperia Tablet"
|
|
54861
54860
|
],
|
|
54862
54861
|
[
|
|
54863
|
-
|
|
54862
|
+
p,
|
|
54864
54863
|
A
|
|
54865
54864
|
],
|
|
54866
54865
|
[
|
|
54867
|
-
|
|
54866
|
+
f,
|
|
54868
54867
|
v
|
|
54869
54868
|
]
|
|
54870
54869
|
],
|
|
@@ -54875,11 +54874,11 @@
|
|
|
54875
54874
|
[
|
|
54876
54875
|
d,
|
|
54877
54876
|
[
|
|
54878
|
-
|
|
54877
|
+
p,
|
|
54879
54878
|
"OnePlus"
|
|
54880
54879
|
],
|
|
54881
54880
|
[
|
|
54882
|
-
|
|
54881
|
+
f,
|
|
54883
54882
|
b
|
|
54884
54883
|
]
|
|
54885
54884
|
],
|
|
@@ -54891,11 +54890,11 @@
|
|
|
54891
54890
|
[
|
|
54892
54891
|
d,
|
|
54893
54892
|
[
|
|
54894
|
-
|
|
54893
|
+
p,
|
|
54895
54894
|
C
|
|
54896
54895
|
],
|
|
54897
54896
|
[
|
|
54898
|
-
|
|
54897
|
+
f,
|
|
54899
54898
|
v
|
|
54900
54899
|
]
|
|
54901
54900
|
],
|
|
@@ -54909,11 +54908,11 @@
|
|
|
54909
54908
|
"Fire Phone $1"
|
|
54910
54909
|
],
|
|
54911
54910
|
[
|
|
54912
|
-
|
|
54911
|
+
p,
|
|
54913
54912
|
C
|
|
54914
54913
|
],
|
|
54915
54914
|
[
|
|
54916
|
-
|
|
54915
|
+
f,
|
|
54917
54916
|
b
|
|
54918
54917
|
]
|
|
54919
54918
|
],
|
|
@@ -54922,9 +54921,9 @@
|
|
|
54922
54921
|
],
|
|
54923
54922
|
[
|
|
54924
54923
|
d,
|
|
54925
|
-
|
|
54924
|
+
p,
|
|
54926
54925
|
[
|
|
54927
|
-
|
|
54926
|
+
f,
|
|
54928
54927
|
v
|
|
54929
54928
|
]
|
|
54930
54929
|
],
|
|
@@ -54935,11 +54934,11 @@
|
|
|
54935
54934
|
[
|
|
54936
54935
|
d,
|
|
54937
54936
|
[
|
|
54938
|
-
|
|
54937
|
+
p,
|
|
54939
54938
|
x
|
|
54940
54939
|
],
|
|
54941
54940
|
[
|
|
54942
|
-
|
|
54941
|
+
f,
|
|
54943
54942
|
b
|
|
54944
54943
|
]
|
|
54945
54944
|
],
|
|
@@ -54949,11 +54948,11 @@
|
|
|
54949
54948
|
[
|
|
54950
54949
|
d,
|
|
54951
54950
|
[
|
|
54952
|
-
|
|
54951
|
+
p,
|
|
54953
54952
|
_
|
|
54954
54953
|
],
|
|
54955
54954
|
[
|
|
54956
|
-
|
|
54955
|
+
f,
|
|
54957
54956
|
v
|
|
54958
54957
|
]
|
|
54959
54958
|
],
|
|
@@ -54963,11 +54962,11 @@
|
|
|
54963
54962
|
[
|
|
54964
54963
|
d,
|
|
54965
54964
|
[
|
|
54966
|
-
|
|
54965
|
+
p,
|
|
54967
54966
|
_
|
|
54968
54967
|
],
|
|
54969
54968
|
[
|
|
54970
|
-
|
|
54969
|
+
f,
|
|
54971
54970
|
b
|
|
54972
54971
|
]
|
|
54973
54972
|
],
|
|
@@ -54977,11 +54976,11 @@
|
|
|
54977
54976
|
[
|
|
54978
54977
|
d,
|
|
54979
54978
|
[
|
|
54980
|
-
|
|
54979
|
+
p,
|
|
54981
54980
|
"HTC"
|
|
54982
54981
|
],
|
|
54983
54982
|
[
|
|
54984
|
-
|
|
54983
|
+
f,
|
|
54985
54984
|
v
|
|
54986
54985
|
]
|
|
54987
54986
|
],
|
|
@@ -54991,14 +54990,14 @@
|
|
|
54991
54990
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
54992
54991
|
],
|
|
54993
54992
|
[
|
|
54994
|
-
|
|
54993
|
+
p,
|
|
54995
54994
|
[
|
|
54996
54995
|
d,
|
|
54997
54996
|
/_/g,
|
|
54998
54997
|
" "
|
|
54999
54998
|
],
|
|
55000
54999
|
[
|
|
55001
|
-
|
|
55000
|
+
f,
|
|
55002
55001
|
b
|
|
55003
55002
|
]
|
|
55004
55003
|
],
|
|
@@ -55008,11 +55007,11 @@
|
|
|
55008
55007
|
[
|
|
55009
55008
|
d,
|
|
55010
55009
|
[
|
|
55011
|
-
|
|
55010
|
+
p,
|
|
55012
55011
|
"Acer"
|
|
55013
55012
|
],
|
|
55014
55013
|
[
|
|
55015
|
-
|
|
55014
|
+
f,
|
|
55016
55015
|
v
|
|
55017
55016
|
]
|
|
55018
55017
|
],
|
|
@@ -55023,11 +55022,11 @@
|
|
|
55023
55022
|
[
|
|
55024
55023
|
d,
|
|
55025
55024
|
[
|
|
55026
|
-
|
|
55025
|
+
p,
|
|
55027
55026
|
"Meizu"
|
|
55028
55027
|
],
|
|
55029
55028
|
[
|
|
55030
|
-
|
|
55029
|
+
f,
|
|
55031
55030
|
b
|
|
55032
55031
|
]
|
|
55033
55032
|
],
|
|
@@ -55037,11 +55036,11 @@
|
|
|
55037
55036
|
[
|
|
55038
55037
|
d,
|
|
55039
55038
|
[
|
|
55040
|
-
|
|
55039
|
+
p,
|
|
55041
55040
|
"Ulefone"
|
|
55042
55041
|
],
|
|
55043
55042
|
[
|
|
55044
|
-
|
|
55043
|
+
f,
|
|
55045
55044
|
b
|
|
55046
55045
|
]
|
|
55047
55046
|
],
|
|
@@ -55055,10 +55054,10 @@
|
|
|
55055
55054
|
/(oppo) ?([\w ]+) bui/i
|
|
55056
55055
|
],
|
|
55057
55056
|
[
|
|
55058
|
-
|
|
55057
|
+
p,
|
|
55059
55058
|
d,
|
|
55060
55059
|
[
|
|
55061
|
-
|
|
55060
|
+
f,
|
|
55062
55061
|
b
|
|
55063
55062
|
]
|
|
55064
55063
|
],
|
|
@@ -55075,10 +55074,10 @@
|
|
|
55075
55074
|
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
55076
55075
|
],
|
|
55077
55076
|
[
|
|
55078
|
-
|
|
55077
|
+
p,
|
|
55079
55078
|
d,
|
|
55080
55079
|
[
|
|
55081
|
-
|
|
55080
|
+
f,
|
|
55082
55081
|
v
|
|
55083
55082
|
]
|
|
55084
55083
|
],
|
|
@@ -55088,11 +55087,11 @@
|
|
|
55088
55087
|
[
|
|
55089
55088
|
d,
|
|
55090
55089
|
[
|
|
55091
|
-
|
|
55090
|
+
p,
|
|
55092
55091
|
$
|
|
55093
55092
|
],
|
|
55094
55093
|
[
|
|
55095
|
-
|
|
55094
|
+
f,
|
|
55096
55095
|
v
|
|
55097
55096
|
]
|
|
55098
55097
|
],
|
|
@@ -55102,11 +55101,11 @@
|
|
|
55102
55101
|
[
|
|
55103
55102
|
d,
|
|
55104
55103
|
[
|
|
55105
|
-
|
|
55104
|
+
p,
|
|
55106
55105
|
"Fairphone"
|
|
55107
55106
|
],
|
|
55108
55107
|
[
|
|
55109
|
-
|
|
55108
|
+
f,
|
|
55110
55109
|
b
|
|
55111
55110
|
]
|
|
55112
55111
|
],
|
|
@@ -55116,11 +55115,11 @@
|
|
|
55116
55115
|
[
|
|
55117
55116
|
d,
|
|
55118
55117
|
[
|
|
55119
|
-
|
|
55118
|
+
p,
|
|
55120
55119
|
"AT&T"
|
|
55121
55120
|
],
|
|
55122
55121
|
[
|
|
55123
|
-
|
|
55122
|
+
f,
|
|
55124
55123
|
b
|
|
55125
55124
|
]
|
|
55126
55125
|
],
|
|
@@ -55130,11 +55129,11 @@
|
|
|
55130
55129
|
[
|
|
55131
55130
|
d,
|
|
55132
55131
|
[
|
|
55133
|
-
|
|
55132
|
+
p,
|
|
55134
55133
|
"Siemens"
|
|
55135
55134
|
],
|
|
55136
55135
|
[
|
|
55137
|
-
|
|
55136
|
+
f,
|
|
55138
55137
|
b
|
|
55139
55138
|
]
|
|
55140
55139
|
],
|
|
@@ -55144,11 +55143,11 @@
|
|
|
55144
55143
|
[
|
|
55145
55144
|
d,
|
|
55146
55145
|
[
|
|
55147
|
-
|
|
55146
|
+
p,
|
|
55148
55147
|
"RCA"
|
|
55149
55148
|
],
|
|
55150
55149
|
[
|
|
55151
|
-
|
|
55150
|
+
f,
|
|
55152
55151
|
v
|
|
55153
55152
|
]
|
|
55154
55153
|
],
|
|
@@ -55158,11 +55157,11 @@
|
|
|
55158
55157
|
[
|
|
55159
55158
|
d,
|
|
55160
55159
|
[
|
|
55161
|
-
|
|
55160
|
+
p,
|
|
55162
55161
|
"Dell"
|
|
55163
55162
|
],
|
|
55164
55163
|
[
|
|
55165
|
-
|
|
55164
|
+
f,
|
|
55166
55165
|
v
|
|
55167
55166
|
]
|
|
55168
55167
|
],
|
|
@@ -55172,11 +55171,11 @@
|
|
|
55172
55171
|
[
|
|
55173
55172
|
d,
|
|
55174
55173
|
[
|
|
55175
|
-
|
|
55174
|
+
p,
|
|
55176
55175
|
"Verizon"
|
|
55177
55176
|
],
|
|
55178
55177
|
[
|
|
55179
|
-
|
|
55178
|
+
f,
|
|
55180
55179
|
v
|
|
55181
55180
|
]
|
|
55182
55181
|
],
|
|
@@ -55186,11 +55185,11 @@
|
|
|
55186
55185
|
[
|
|
55187
55186
|
d,
|
|
55188
55187
|
[
|
|
55189
|
-
|
|
55188
|
+
p,
|
|
55190
55189
|
"Barnes & Noble"
|
|
55191
55190
|
],
|
|
55192
55191
|
[
|
|
55193
|
-
|
|
55192
|
+
f,
|
|
55194
55193
|
v
|
|
55195
55194
|
]
|
|
55196
55195
|
],
|
|
@@ -55200,11 +55199,11 @@
|
|
|
55200
55199
|
[
|
|
55201
55200
|
d,
|
|
55202
55201
|
[
|
|
55203
|
-
|
|
55202
|
+
p,
|
|
55204
55203
|
"NuVision"
|
|
55205
55204
|
],
|
|
55206
55205
|
[
|
|
55207
|
-
|
|
55206
|
+
f,
|
|
55208
55207
|
v
|
|
55209
55208
|
]
|
|
55210
55209
|
],
|
|
@@ -55214,11 +55213,11 @@
|
|
|
55214
55213
|
[
|
|
55215
55214
|
d,
|
|
55216
55215
|
[
|
|
55217
|
-
|
|
55216
|
+
p,
|
|
55218
55217
|
"ZTE"
|
|
55219
55218
|
],
|
|
55220
55219
|
[
|
|
55221
|
-
|
|
55220
|
+
f,
|
|
55222
55221
|
v
|
|
55223
55222
|
]
|
|
55224
55223
|
],
|
|
@@ -55228,11 +55227,11 @@
|
|
|
55228
55227
|
[
|
|
55229
55228
|
d,
|
|
55230
55229
|
[
|
|
55231
|
-
|
|
55230
|
+
p,
|
|
55232
55231
|
"ZTE"
|
|
55233
55232
|
],
|
|
55234
55233
|
[
|
|
55235
|
-
|
|
55234
|
+
f,
|
|
55236
55235
|
b
|
|
55237
55236
|
]
|
|
55238
55237
|
],
|
|
@@ -55242,11 +55241,11 @@
|
|
|
55242
55241
|
[
|
|
55243
55242
|
d,
|
|
55244
55243
|
[
|
|
55245
|
-
|
|
55244
|
+
p,
|
|
55246
55245
|
"Swiss"
|
|
55247
55246
|
],
|
|
55248
55247
|
[
|
|
55249
|
-
|
|
55248
|
+
f,
|
|
55250
55249
|
b
|
|
55251
55250
|
]
|
|
55252
55251
|
],
|
|
@@ -55256,11 +55255,11 @@
|
|
|
55256
55255
|
[
|
|
55257
55256
|
d,
|
|
55258
55257
|
[
|
|
55259
|
-
|
|
55258
|
+
p,
|
|
55260
55259
|
"Swiss"
|
|
55261
55260
|
],
|
|
55262
55261
|
[
|
|
55263
|
-
|
|
55262
|
+
f,
|
|
55264
55263
|
v
|
|
55265
55264
|
]
|
|
55266
55265
|
],
|
|
@@ -55270,11 +55269,11 @@
|
|
|
55270
55269
|
[
|
|
55271
55270
|
d,
|
|
55272
55271
|
[
|
|
55273
|
-
|
|
55272
|
+
p,
|
|
55274
55273
|
"Zeki"
|
|
55275
55274
|
],
|
|
55276
55275
|
[
|
|
55277
|
-
|
|
55276
|
+
f,
|
|
55278
55277
|
v
|
|
55279
55278
|
]
|
|
55280
55279
|
],
|
|
@@ -55284,12 +55283,12 @@
|
|
|
55284
55283
|
],
|
|
55285
55284
|
[
|
|
55286
55285
|
[
|
|
55287
|
-
|
|
55286
|
+
p,
|
|
55288
55287
|
"Dragon Touch"
|
|
55289
55288
|
],
|
|
55290
55289
|
d,
|
|
55291
55290
|
[
|
|
55292
|
-
|
|
55291
|
+
f,
|
|
55293
55292
|
v
|
|
55294
55293
|
]
|
|
55295
55294
|
],
|
|
@@ -55299,11 +55298,11 @@
|
|
|
55299
55298
|
[
|
|
55300
55299
|
d,
|
|
55301
55300
|
[
|
|
55302
|
-
|
|
55301
|
+
p,
|
|
55303
55302
|
"Insignia"
|
|
55304
55303
|
],
|
|
55305
55304
|
[
|
|
55306
|
-
|
|
55305
|
+
f,
|
|
55307
55306
|
v
|
|
55308
55307
|
]
|
|
55309
55308
|
],
|
|
@@ -55313,11 +55312,11 @@
|
|
|
55313
55312
|
[
|
|
55314
55313
|
d,
|
|
55315
55314
|
[
|
|
55316
|
-
|
|
55315
|
+
p,
|
|
55317
55316
|
"NextBook"
|
|
55318
55317
|
],
|
|
55319
55318
|
[
|
|
55320
|
-
|
|
55319
|
+
f,
|
|
55321
55320
|
v
|
|
55322
55321
|
]
|
|
55323
55322
|
],
|
|
@@ -55326,12 +55325,12 @@
|
|
|
55326
55325
|
],
|
|
55327
55326
|
[
|
|
55328
55327
|
[
|
|
55329
|
-
|
|
55328
|
+
p,
|
|
55330
55329
|
"Voice"
|
|
55331
55330
|
],
|
|
55332
55331
|
d,
|
|
55333
55332
|
[
|
|
55334
|
-
|
|
55333
|
+
f,
|
|
55335
55334
|
b
|
|
55336
55335
|
]
|
|
55337
55336
|
],
|
|
@@ -55340,12 +55339,12 @@
|
|
|
55340
55339
|
],
|
|
55341
55340
|
[
|
|
55342
55341
|
[
|
|
55343
|
-
|
|
55342
|
+
p,
|
|
55344
55343
|
"LvTel"
|
|
55345
55344
|
],
|
|
55346
55345
|
d,
|
|
55347
55346
|
[
|
|
55348
|
-
|
|
55347
|
+
f,
|
|
55349
55348
|
b
|
|
55350
55349
|
]
|
|
55351
55350
|
],
|
|
@@ -55355,11 +55354,11 @@
|
|
|
55355
55354
|
[
|
|
55356
55355
|
d,
|
|
55357
55356
|
[
|
|
55358
|
-
|
|
55357
|
+
p,
|
|
55359
55358
|
"Essential"
|
|
55360
55359
|
],
|
|
55361
55360
|
[
|
|
55362
|
-
|
|
55361
|
+
f,
|
|
55363
55362
|
b
|
|
55364
55363
|
]
|
|
55365
55364
|
],
|
|
@@ -55369,11 +55368,11 @@
|
|
|
55369
55368
|
[
|
|
55370
55369
|
d,
|
|
55371
55370
|
[
|
|
55372
|
-
|
|
55371
|
+
p,
|
|
55373
55372
|
"Envizen"
|
|
55374
55373
|
],
|
|
55375
55374
|
[
|
|
55376
|
-
|
|
55375
|
+
f,
|
|
55377
55376
|
v
|
|
55378
55377
|
]
|
|
55379
55378
|
],
|
|
@@ -55383,11 +55382,11 @@
|
|
|
55383
55382
|
[
|
|
55384
55383
|
d,
|
|
55385
55384
|
[
|
|
55386
|
-
|
|
55385
|
+
p,
|
|
55387
55386
|
"MachSpeed"
|
|
55388
55387
|
],
|
|
55389
55388
|
[
|
|
55390
|
-
|
|
55389
|
+
f,
|
|
55391
55390
|
v
|
|
55392
55391
|
]
|
|
55393
55392
|
],
|
|
@@ -55397,11 +55396,11 @@
|
|
|
55397
55396
|
[
|
|
55398
55397
|
d,
|
|
55399
55398
|
[
|
|
55400
|
-
|
|
55399
|
+
p,
|
|
55401
55400
|
"Rotor"
|
|
55402
55401
|
],
|
|
55403
55402
|
[
|
|
55404
|
-
|
|
55403
|
+
f,
|
|
55405
55404
|
v
|
|
55406
55405
|
]
|
|
55407
55406
|
],
|
|
@@ -55411,11 +55410,11 @@
|
|
|
55411
55410
|
[
|
|
55412
55411
|
d,
|
|
55413
55412
|
[
|
|
55414
|
-
|
|
55413
|
+
p,
|
|
55415
55414
|
"Nvidia"
|
|
55416
55415
|
],
|
|
55417
55416
|
[
|
|
55418
|
-
|
|
55417
|
+
f,
|
|
55419
55418
|
v
|
|
55420
55419
|
]
|
|
55421
55420
|
],
|
|
@@ -55423,10 +55422,10 @@
|
|
|
55423
55422
|
/(sprint) (\w+)/i
|
|
55424
55423
|
],
|
|
55425
55424
|
[
|
|
55426
|
-
|
|
55425
|
+
p,
|
|
55427
55426
|
d,
|
|
55428
55427
|
[
|
|
55429
|
-
|
|
55428
|
+
f,
|
|
55430
55429
|
b
|
|
55431
55430
|
]
|
|
55432
55431
|
],
|
|
@@ -55440,11 +55439,11 @@
|
|
|
55440
55439
|
" "
|
|
55441
55440
|
],
|
|
55442
55441
|
[
|
|
55443
|
-
|
|
55442
|
+
p,
|
|
55444
55443
|
$
|
|
55445
55444
|
],
|
|
55446
55445
|
[
|
|
55447
|
-
|
|
55446
|
+
f,
|
|
55448
55447
|
b
|
|
55449
55448
|
]
|
|
55450
55449
|
],
|
|
@@ -55454,11 +55453,11 @@
|
|
|
55454
55453
|
[
|
|
55455
55454
|
d,
|
|
55456
55455
|
[
|
|
55457
|
-
|
|
55456
|
+
p,
|
|
55458
55457
|
L
|
|
55459
55458
|
],
|
|
55460
55459
|
[
|
|
55461
|
-
|
|
55460
|
+
f,
|
|
55462
55461
|
v
|
|
55463
55462
|
]
|
|
55464
55463
|
],
|
|
@@ -55468,11 +55467,11 @@
|
|
|
55468
55467
|
[
|
|
55469
55468
|
d,
|
|
55470
55469
|
[
|
|
55471
|
-
|
|
55470
|
+
p,
|
|
55472
55471
|
L
|
|
55473
55472
|
],
|
|
55474
55473
|
[
|
|
55475
|
-
|
|
55474
|
+
f,
|
|
55476
55475
|
b
|
|
55477
55476
|
]
|
|
55478
55477
|
],
|
|
@@ -55480,9 +55479,9 @@
|
|
|
55480
55479
|
/smart-tv.+(samsung)/i
|
|
55481
55480
|
],
|
|
55482
55481
|
[
|
|
55483
|
-
|
|
55482
|
+
p,
|
|
55484
55483
|
[
|
|
55485
|
-
|
|
55484
|
+
f,
|
|
55486
55485
|
w
|
|
55487
55486
|
]
|
|
55488
55487
|
],
|
|
@@ -55496,11 +55495,11 @@
|
|
|
55496
55495
|
"SmartTV"
|
|
55497
55496
|
],
|
|
55498
55497
|
[
|
|
55499
|
-
|
|
55498
|
+
p,
|
|
55500
55499
|
O
|
|
55501
55500
|
],
|
|
55502
55501
|
[
|
|
55503
|
-
|
|
55502
|
+
f,
|
|
55504
55503
|
w
|
|
55505
55504
|
]
|
|
55506
55505
|
],
|
|
@@ -55509,11 +55508,11 @@
|
|
|
55509
55508
|
],
|
|
55510
55509
|
[
|
|
55511
55510
|
[
|
|
55512
|
-
|
|
55511
|
+
p,
|
|
55513
55512
|
"LG"
|
|
55514
55513
|
],
|
|
55515
55514
|
[
|
|
55516
|
-
|
|
55515
|
+
f,
|
|
55517
55516
|
w
|
|
55518
55517
|
]
|
|
55519
55518
|
],
|
|
@@ -55521,13 +55520,13 @@
|
|
|
55521
55520
|
/(apple) ?tv/i
|
|
55522
55521
|
],
|
|
55523
55522
|
[
|
|
55524
|
-
|
|
55523
|
+
p,
|
|
55525
55524
|
[
|
|
55526
55525
|
d,
|
|
55527
55526
|
B + " TV"
|
|
55528
55527
|
],
|
|
55529
55528
|
[
|
|
55530
|
-
|
|
55529
|
+
f,
|
|
55531
55530
|
w
|
|
55532
55531
|
]
|
|
55533
55532
|
],
|
|
@@ -55540,11 +55539,11 @@
|
|
|
55540
55539
|
S + "cast"
|
|
55541
55540
|
],
|
|
55542
55541
|
[
|
|
55543
|
-
|
|
55542
|
+
p,
|
|
55544
55543
|
T
|
|
55545
55544
|
],
|
|
55546
55545
|
[
|
|
55547
|
-
|
|
55546
|
+
f,
|
|
55548
55547
|
w
|
|
55549
55548
|
]
|
|
55550
55549
|
],
|
|
@@ -55554,11 +55553,11 @@
|
|
|
55554
55553
|
[
|
|
55555
55554
|
d,
|
|
55556
55555
|
[
|
|
55557
|
-
|
|
55556
|
+
p,
|
|
55558
55557
|
C
|
|
55559
55558
|
],
|
|
55560
55559
|
[
|
|
55561
|
-
|
|
55560
|
+
f,
|
|
55562
55561
|
w
|
|
55563
55562
|
]
|
|
55564
55563
|
],
|
|
@@ -55569,11 +55568,11 @@
|
|
|
55569
55568
|
[
|
|
55570
55569
|
d,
|
|
55571
55570
|
[
|
|
55572
|
-
|
|
55571
|
+
p,
|
|
55573
55572
|
M
|
|
55574
55573
|
],
|
|
55575
55574
|
[
|
|
55576
|
-
|
|
55575
|
+
f,
|
|
55577
55576
|
w
|
|
55578
55577
|
]
|
|
55579
55578
|
],
|
|
@@ -55583,11 +55582,11 @@
|
|
|
55583
55582
|
[
|
|
55584
55583
|
d,
|
|
55585
55584
|
[
|
|
55586
|
-
|
|
55585
|
+
p,
|
|
55587
55586
|
A
|
|
55588
55587
|
],
|
|
55589
55588
|
[
|
|
55590
|
-
|
|
55589
|
+
f,
|
|
55591
55590
|
w
|
|
55592
55591
|
]
|
|
55593
55592
|
],
|
|
@@ -55597,11 +55596,11 @@
|
|
|
55597
55596
|
[
|
|
55598
55597
|
d,
|
|
55599
55598
|
[
|
|
55600
|
-
|
|
55599
|
+
p,
|
|
55601
55600
|
R
|
|
55602
55601
|
],
|
|
55603
55602
|
[
|
|
55604
|
-
|
|
55603
|
+
f,
|
|
55605
55604
|
w
|
|
55606
55605
|
]
|
|
55607
55606
|
],
|
|
@@ -55609,10 +55608,10 @@
|
|
|
55609
55608
|
/Hbbtv.*(technisat) (.*);/i
|
|
55610
55609
|
],
|
|
55611
55610
|
[
|
|
55612
|
-
|
|
55611
|
+
p,
|
|
55613
55612
|
d,
|
|
55614
55613
|
[
|
|
55615
|
-
|
|
55614
|
+
f,
|
|
55616
55615
|
w
|
|
55617
55616
|
]
|
|
55618
55617
|
],
|
|
@@ -55622,7 +55621,7 @@
|
|
|
55622
55621
|
],
|
|
55623
55622
|
[
|
|
55624
55623
|
[
|
|
55625
|
-
|
|
55624
|
+
p,
|
|
55626
55625
|
Q
|
|
55627
55626
|
],
|
|
55628
55627
|
[
|
|
@@ -55630,7 +55629,7 @@
|
|
|
55630
55629
|
Q
|
|
55631
55630
|
],
|
|
55632
55631
|
[
|
|
55633
|
-
|
|
55632
|
+
f,
|
|
55634
55633
|
w
|
|
55635
55634
|
]
|
|
55636
55635
|
],
|
|
@@ -55639,7 +55638,7 @@
|
|
|
55639
55638
|
],
|
|
55640
55639
|
[
|
|
55641
55640
|
[
|
|
55642
|
-
|
|
55641
|
+
f,
|
|
55643
55642
|
w
|
|
55644
55643
|
]
|
|
55645
55644
|
],
|
|
@@ -55648,10 +55647,10 @@
|
|
|
55648
55647
|
/(nintendo) ([wids3utch]+)/i
|
|
55649
55648
|
],
|
|
55650
55649
|
[
|
|
55651
|
-
|
|
55650
|
+
p,
|
|
55652
55651
|
d,
|
|
55653
55652
|
[
|
|
55654
|
-
|
|
55653
|
+
f,
|
|
55655
55654
|
g
|
|
55656
55655
|
]
|
|
55657
55656
|
],
|
|
@@ -55661,11 +55660,11 @@
|
|
|
55661
55660
|
[
|
|
55662
55661
|
d,
|
|
55663
55662
|
[
|
|
55664
|
-
|
|
55663
|
+
p,
|
|
55665
55664
|
"Nvidia"
|
|
55666
55665
|
],
|
|
55667
55666
|
[
|
|
55668
|
-
|
|
55667
|
+
f,
|
|
55669
55668
|
g
|
|
55670
55669
|
]
|
|
55671
55670
|
],
|
|
@@ -55675,11 +55674,11 @@
|
|
|
55675
55674
|
[
|
|
55676
55675
|
d,
|
|
55677
55676
|
[
|
|
55678
|
-
|
|
55677
|
+
p,
|
|
55679
55678
|
A
|
|
55680
55679
|
],
|
|
55681
55680
|
[
|
|
55682
|
-
|
|
55681
|
+
f,
|
|
55683
55682
|
g
|
|
55684
55683
|
]
|
|
55685
55684
|
],
|
|
@@ -55689,11 +55688,11 @@
|
|
|
55689
55688
|
[
|
|
55690
55689
|
d,
|
|
55691
55690
|
[
|
|
55692
|
-
|
|
55691
|
+
p,
|
|
55693
55692
|
$
|
|
55694
55693
|
],
|
|
55695
55694
|
[
|
|
55696
|
-
|
|
55695
|
+
f,
|
|
55697
55696
|
g
|
|
55698
55697
|
]
|
|
55699
55698
|
],
|
|
@@ -55701,10 +55700,10 @@
|
|
|
55701
55700
|
/((pebble))app/i
|
|
55702
55701
|
],
|
|
55703
55702
|
[
|
|
55704
|
-
|
|
55703
|
+
p,
|
|
55705
55704
|
d,
|
|
55706
55705
|
[
|
|
55707
|
-
|
|
55706
|
+
f,
|
|
55708
55707
|
k
|
|
55709
55708
|
]
|
|
55710
55709
|
],
|
|
@@ -55714,11 +55713,11 @@
|
|
|
55714
55713
|
[
|
|
55715
55714
|
d,
|
|
55716
55715
|
[
|
|
55717
|
-
|
|
55716
|
+
p,
|
|
55718
55717
|
B
|
|
55719
55718
|
],
|
|
55720
55719
|
[
|
|
55721
|
-
|
|
55720
|
+
f,
|
|
55722
55721
|
k
|
|
55723
55722
|
]
|
|
55724
55723
|
],
|
|
@@ -55728,11 +55727,11 @@
|
|
|
55728
55727
|
[
|
|
55729
55728
|
d,
|
|
55730
55729
|
[
|
|
55731
|
-
|
|
55730
|
+
p,
|
|
55732
55731
|
T
|
|
55733
55732
|
],
|
|
55734
55733
|
[
|
|
55735
|
-
|
|
55734
|
+
f,
|
|
55736
55735
|
k
|
|
55737
55736
|
]
|
|
55738
55737
|
],
|
|
@@ -55742,11 +55741,11 @@
|
|
|
55742
55741
|
[
|
|
55743
55742
|
d,
|
|
55744
55743
|
[
|
|
55745
|
-
|
|
55744
|
+
p,
|
|
55746
55745
|
L
|
|
55747
55746
|
],
|
|
55748
55747
|
[
|
|
55749
|
-
|
|
55748
|
+
f,
|
|
55750
55749
|
k
|
|
55751
55750
|
]
|
|
55752
55751
|
],
|
|
@@ -55756,11 +55755,11 @@
|
|
|
55756
55755
|
[
|
|
55757
55756
|
d,
|
|
55758
55757
|
[
|
|
55759
|
-
|
|
55758
|
+
p,
|
|
55760
55759
|
F
|
|
55761
55760
|
],
|
|
55762
55761
|
[
|
|
55763
|
-
|
|
55762
|
+
f,
|
|
55764
55763
|
k
|
|
55765
55764
|
]
|
|
55766
55765
|
],
|
|
@@ -55768,9 +55767,9 @@
|
|
|
55768
55767
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
55769
55768
|
],
|
|
55770
55769
|
[
|
|
55771
|
-
|
|
55770
|
+
p,
|
|
55772
55771
|
[
|
|
55773
|
-
|
|
55772
|
+
f,
|
|
55774
55773
|
y
|
|
55775
55774
|
]
|
|
55776
55775
|
],
|
|
@@ -55780,11 +55779,11 @@
|
|
|
55780
55779
|
[
|
|
55781
55780
|
d,
|
|
55782
55781
|
[
|
|
55783
|
-
|
|
55782
|
+
p,
|
|
55784
55783
|
C
|
|
55785
55784
|
],
|
|
55786
55785
|
[
|
|
55787
|
-
|
|
55786
|
+
f,
|
|
55788
55787
|
y
|
|
55789
55788
|
]
|
|
55790
55789
|
],
|
|
@@ -55794,7 +55793,7 @@
|
|
|
55794
55793
|
[
|
|
55795
55794
|
d,
|
|
55796
55795
|
[
|
|
55797
|
-
|
|
55796
|
+
f,
|
|
55798
55797
|
b
|
|
55799
55798
|
]
|
|
55800
55799
|
],
|
|
@@ -55804,7 +55803,7 @@
|
|
|
55804
55803
|
[
|
|
55805
55804
|
d,
|
|
55806
55805
|
[
|
|
55807
|
-
|
|
55806
|
+
f,
|
|
55808
55807
|
v
|
|
55809
55808
|
]
|
|
55810
55809
|
],
|
|
@@ -55813,7 +55812,7 @@
|
|
|
55813
55812
|
],
|
|
55814
55813
|
[
|
|
55815
55814
|
[
|
|
55816
|
-
|
|
55815
|
+
f,
|
|
55817
55816
|
v
|
|
55818
55817
|
]
|
|
55819
55818
|
],
|
|
@@ -55822,7 +55821,7 @@
|
|
|
55822
55821
|
],
|
|
55823
55822
|
[
|
|
55824
55823
|
[
|
|
55825
|
-
|
|
55824
|
+
f,
|
|
55826
55825
|
b
|
|
55827
55826
|
]
|
|
55828
55827
|
],
|
|
@@ -55832,7 +55831,7 @@
|
|
|
55832
55831
|
[
|
|
55833
55832
|
d,
|
|
55834
55833
|
[
|
|
55835
|
-
|
|
55834
|
+
p,
|
|
55836
55835
|
"Generic"
|
|
55837
55836
|
]
|
|
55838
55837
|
]
|
|
@@ -56083,7 +56082,7 @@
|
|
|
56083
56082
|
return t[m] = void 0, X.call(t, g, k.cpu), t;
|
|
56084
56083
|
}, this.getDevice = function() {
|
|
56085
56084
|
var t = {};
|
|
56086
|
-
return t[
|
|
56085
|
+
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;
|
|
56087
56086
|
}, this.getEngine = function() {
|
|
56088
56087
|
var t = {};
|
|
56089
56088
|
return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
|
|
@@ -56113,8 +56112,8 @@
|
|
|
56113
56112
|
m
|
|
56114
56113
|
]), K.DEVICE = W([
|
|
56115
56114
|
d,
|
|
56116
|
-
f,
|
|
56117
56115
|
p,
|
|
56116
|
+
f,
|
|
56118
56117
|
g,
|
|
56119
56118
|
b,
|
|
56120
56119
|
w,
|
|
@@ -56137,9 +56136,9 @@
|
|
|
56137
56136
|
};
|
|
56138
56137
|
}
|
|
56139
56138
|
}("object" == typeof window ? window : nE), nS.exports;
|
|
56140
|
-
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(),
|
|
56139
|
+
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), f = function(t) {
|
|
56141
56140
|
return i.setUA(t);
|
|
56142
|
-
},
|
|
56141
|
+
}, p = function(t) {
|
|
56143
56142
|
if (!t) return void console.error("No userAgent string was provided");
|
|
56144
56143
|
var r = new n(t);
|
|
56145
56144
|
return {
|
|
@@ -56162,8 +56161,8 @@
|
|
|
56162
56161
|
engine: l,
|
|
56163
56162
|
os: d,
|
|
56164
56163
|
ua: u,
|
|
56165
|
-
setUa:
|
|
56166
|
-
parseUserAgent:
|
|
56164
|
+
setUa: f,
|
|
56165
|
+
parseUserAgent: p
|
|
56167
56166
|
});
|
|
56168
56167
|
function m(t, r) {
|
|
56169
56168
|
var o = Object.keys(t);
|
|
@@ -56382,9 +56381,9 @@
|
|
|
56382
56381
|
}, eu = function(t) {
|
|
56383
56382
|
var r = t.name;
|
|
56384
56383
|
return r === $.InternetExplorer || r === $.Ie;
|
|
56385
|
-
}, ep = function(t) {
|
|
56386
|
-
return t.name === $.MIUI;
|
|
56387
56384
|
}, ef = function(t) {
|
|
56385
|
+
return t.name === $.MIUI;
|
|
56386
|
+
}, ep = function(t) {
|
|
56388
56387
|
return t.name === $.SamsungBrowser;
|
|
56389
56388
|
}, eh = function(t) {
|
|
56390
56389
|
return M(t.version);
|
|
@@ -56457,13 +56456,13 @@
|
|
|
56457
56456
|
isLegacyEdge: ea(n) && !ek(s),
|
|
56458
56457
|
isWindows: K(i),
|
|
56459
56458
|
isMacOs: Y(i),
|
|
56460
|
-
isMIUI:
|
|
56461
|
-
isSamsungBrowser:
|
|
56459
|
+
isMIUI: ef(n),
|
|
56460
|
+
isSamsungBrowser: ep(n)
|
|
56462
56461
|
};
|
|
56463
56462
|
}
|
|
56464
|
-
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 =
|
|
56463
|
+
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);
|
|
56465
56464
|
function ta(t) {
|
|
56466
|
-
return
|
|
56465
|
+
return p(t || window.navigator.userAgent);
|
|
56467
56466
|
}
|
|
56468
56467
|
return nP.AndroidView = function(r) {
|
|
56469
56468
|
var n = r.renderWithFragment, i = r.children, a = y(r, [
|
|
@@ -56547,7 +56546,7 @@
|
|
|
56547
56546
|
]);
|
|
56548
56547
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
56549
56548
|
}, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
|
|
56550
|
-
var r, o, n, i, a, s, c, l, d, u,
|
|
56549
|
+
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;
|
|
56551
56550
|
if (I) {
|
|
56552
56551
|
return r = I, o = E, n = T, i = D, a = $, {
|
|
56553
56552
|
isBrowser: r,
|
|
@@ -56572,10 +56571,10 @@
|
|
|
56572
56571
|
};
|
|
56573
56572
|
}
|
|
56574
56573
|
if (N) {
|
|
56575
|
-
return u = N,
|
|
56574
|
+
return u = N, f = T, m = D, g = $, {
|
|
56576
56575
|
isConsole: u,
|
|
56577
|
-
engineName: M(
|
|
56578
|
-
engineVersion: M(
|
|
56576
|
+
engineName: M(f.name),
|
|
56577
|
+
engineVersion: M(f.version),
|
|
56579
56578
|
osName: M(m.name),
|
|
56580
56579
|
osVersion: M(m.version),
|
|
56581
56580
|
userAgent: M(g)
|
|
@@ -56606,7 +56605,7 @@
|
|
|
56606
56605
|
}
|
|
56607
56606
|
}, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
|
|
56608
56607
|
if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
|
|
56609
|
-
var r =
|
|
56608
|
+
var r = p(t);
|
|
56610
56609
|
return eP({
|
|
56611
56610
|
device: r.device,
|
|
56612
56611
|
browser: r.browser,
|
|
@@ -56614,8 +56613,8 @@
|
|
|
56614
56613
|
engine: r.engine,
|
|
56615
56614
|
ua: r.ua
|
|
56616
56615
|
});
|
|
56617
|
-
}, 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 =
|
|
56618
|
-
return
|
|
56616
|
+
}, 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) {
|
|
56617
|
+
return f(t);
|
|
56619
56618
|
}, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
|
|
56620
56619
|
var r = ta(t || window.navigator.userAgent);
|
|
56621
56620
|
return [
|
|
@@ -56821,7 +56820,7 @@
|
|
|
56821
56820
|
var nM = oX(function() {
|
|
56822
56821
|
if (tW) return tV;
|
|
56823
56822
|
tW = 1;
|
|
56824
|
-
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,
|
|
56823
|
+
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() {
|
|
56825
56824
|
return l.Date.now();
|
|
56826
56825
|
};
|
|
56827
56826
|
function h(t) {
|
|
@@ -56837,8 +56836,8 @@
|
|
|
56837
56836
|
}
|
|
56838
56837
|
if ("string" != typeof s) return 0 === s ? s : +s;
|
|
56839
56838
|
s = s.replace(r, "");
|
|
56840
|
-
var
|
|
56841
|
-
return
|
|
56839
|
+
var f = n.test(s);
|
|
56840
|
+
return f || i.test(s) ? a(s.slice(2), f ? 2 : 8) : o.test(s) ? t : +s;
|
|
56842
56841
|
}
|
|
56843
56842
|
return tV = function(t, r, o) {
|
|
56844
56843
|
var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
|
|
@@ -56853,15 +56852,15 @@
|
|
|
56853
56852
|
return void 0 === l || o >= r || o < 0 || b && n >= a;
|
|
56854
56853
|
}
|
|
56855
56854
|
function y() {
|
|
56856
|
-
var t, o, n, i, s =
|
|
56855
|
+
var t, o, n, i, s = p();
|
|
56857
56856
|
if (k(s)) return C(s);
|
|
56858
|
-
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ?
|
|
56857
|
+
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? f(i, a - n) : i));
|
|
56859
56858
|
}
|
|
56860
56859
|
function C(t) {
|
|
56861
56860
|
return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
|
|
56862
56861
|
}
|
|
56863
56862
|
function B() {
|
|
56864
|
-
var t, o =
|
|
56863
|
+
var t, o = p(), a = k(o);
|
|
56865
56864
|
if (n = arguments, i = this, l = o, a) {
|
|
56866
56865
|
if (void 0 === c) {
|
|
56867
56866
|
return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
|
|
@@ -56873,7 +56872,7 @@
|
|
|
56873
56872
|
return B.cancel = function() {
|
|
56874
56873
|
void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
|
|
56875
56874
|
}, B.flush = function() {
|
|
56876
|
-
return void 0 === c ? s : C(
|
|
56875
|
+
return void 0 === c ? s : C(p());
|
|
56877
56876
|
}, B;
|
|
56878
56877
|
};
|
|
56879
56878
|
}()), nA = {
|
|
@@ -56884,11 +56883,11 @@
|
|
|
56884
56883
|
var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
|
|
56885
56884
|
if (tU) return nR;
|
|
56886
56885
|
tU = 1;
|
|
56887
|
-
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,
|
|
56886
|
+
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;
|
|
56888
56887
|
function k(t) {
|
|
56889
56888
|
if ("object" == typeof t && null !== t) {
|
|
56890
|
-
var
|
|
56891
|
-
switch(
|
|
56889
|
+
var p = t.$$typeof;
|
|
56890
|
+
switch(p){
|
|
56892
56891
|
case r:
|
|
56893
56892
|
switch(t = t.type){
|
|
56894
56893
|
case l:
|
|
@@ -56896,7 +56895,7 @@
|
|
|
56896
56895
|
case n:
|
|
56897
56896
|
case a:
|
|
56898
56897
|
case i:
|
|
56899
|
-
case
|
|
56898
|
+
case f:
|
|
56900
56899
|
return t;
|
|
56901
56900
|
default:
|
|
56902
56901
|
switch(t = t && t.$$typeof){
|
|
@@ -56907,18 +56906,18 @@
|
|
|
56907
56906
|
case s:
|
|
56908
56907
|
return t;
|
|
56909
56908
|
default:
|
|
56910
|
-
return
|
|
56909
|
+
return p;
|
|
56911
56910
|
}
|
|
56912
56911
|
}
|
|
56913
56912
|
case o:
|
|
56914
|
-
return
|
|
56913
|
+
return p;
|
|
56915
56914
|
}
|
|
56916
56915
|
}
|
|
56917
56916
|
}
|
|
56918
56917
|
function y(t) {
|
|
56919
56918
|
return k(t) === d;
|
|
56920
56919
|
}
|
|
56921
|
-
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 =
|
|
56920
|
+
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) {
|
|
56922
56921
|
return y(t) || k(t) === l;
|
|
56923
56922
|
}, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
|
|
56924
56923
|
return k(t) === c;
|
|
@@ -56941,9 +56940,9 @@
|
|
|
56941
56940
|
}, nR.isStrictMode = function(t) {
|
|
56942
56941
|
return k(t) === i;
|
|
56943
56942
|
}, nR.isSuspense = function(t) {
|
|
56944
|
-
return k(t) ===
|
|
56943
|
+
return k(t) === f;
|
|
56945
56944
|
}, nR.isValidElementType = function(t) {
|
|
56946
|
-
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t ===
|
|
56945
|
+
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);
|
|
56947
56946
|
}, nR.typeOf = k, nR;
|
|
56948
56947
|
}(), nA.exports), r = {
|
|
56949
56948
|
childContextTypes: !0,
|
|
@@ -56983,12 +56982,12 @@
|
|
|
56983
56982
|
displayName: !0,
|
|
56984
56983
|
propTypes: !0
|
|
56985
56984
|
}, i[t.Memo] = n;
|
|
56986
|
-
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf,
|
|
56985
|
+
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
|
|
56987
56986
|
return tQ = function t(r, n, i) {
|
|
56988
56987
|
if ("string" != typeof n) {
|
|
56989
|
-
if (
|
|
56990
|
-
var
|
|
56991
|
-
|
|
56988
|
+
if (f) {
|
|
56989
|
+
var p = u(n);
|
|
56990
|
+
p && p !== f && t(r, p, i);
|
|
56992
56991
|
}
|
|
56993
56992
|
var h = c(n);
|
|
56994
56993
|
l && (h = h.concat(l(n)));
|
|
@@ -57145,7 +57144,7 @@
|
|
|
57145
57144
|
else console.warn("Flashlight is not supported or not initialized.");
|
|
57146
57145
|
}, [
|
|
57147
57146
|
c
|
|
57148
|
-
]),
|
|
57147
|
+
]), f = reactExports.useCallback(async ()=>{
|
|
57149
57148
|
if (c && c.isSupported()) try {
|
|
57150
57149
|
await c.turnOff(), d.current = !1;
|
|
57151
57150
|
} catch (t) {
|
|
@@ -57153,15 +57152,15 @@
|
|
|
57153
57152
|
}
|
|
57154
57153
|
}, [
|
|
57155
57154
|
c
|
|
57156
|
-
]),
|
|
57155
|
+
]), p = React.useMemo(()=>({
|
|
57157
57156
|
turnOnFlashlight: u,
|
|
57158
|
-
turnOffFlashlight:
|
|
57157
|
+
turnOffFlashlight: f
|
|
57159
57158
|
}), [
|
|
57160
57159
|
u,
|
|
57161
|
-
|
|
57160
|
+
f
|
|
57162
57161
|
]);
|
|
57163
57162
|
return oZ.jsx(nU.Provider, {
|
|
57164
|
-
value:
|
|
57163
|
+
value: p,
|
|
57165
57164
|
children: s
|
|
57166
57165
|
});
|
|
57167
57166
|
}, { Errors: nQ } = ra$1, nX = dt$1.div`
|
|
@@ -57207,7 +57206,7 @@
|
|
|
57207
57206
|
`;
|
|
57208
57207
|
function nJ(r) {
|
|
57209
57208
|
var s, c;
|
|
57210
|
-
let l, { checkCameraMode: d, frontCamera: u, onClose:
|
|
57209
|
+
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)=>{
|
|
57211
57210
|
B && B(t);
|
|
57212
57211
|
}, [
|
|
57213
57212
|
B
|
|
@@ -57283,8 +57282,8 @@
|
|
|
57283
57282
|
},
|
|
57284
57283
|
...o
|
|
57285
57284
|
}
|
|
57286
|
-
},
|
|
57287
|
-
if (await U(), q(), !
|
|
57285
|
+
}, f = await navigator.mediaDevices.getUserMedia(n);
|
|
57286
|
+
if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
|
|
57288
57287
|
a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
|
|
57289
57288
|
tag: "cam_permission",
|
|
57290
57289
|
event: "user_activity.cam",
|
|
@@ -57297,13 +57296,13 @@
|
|
|
57297
57296
|
log: {}
|
|
57298
57297
|
});
|
|
57299
57298
|
try {
|
|
57300
|
-
let t =
|
|
57301
|
-
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
|
|
57302
|
-
let t =
|
|
57299
|
+
let t = f.getVideoTracks()[0].getSettings();
|
|
57300
|
+
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) {
|
|
57301
|
+
let t = f.getVideoTracks()[0].getCapabilities();
|
|
57303
57302
|
h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
|
|
57304
57303
|
}
|
|
57305
57304
|
} catch (t) {}
|
|
57306
|
-
return
|
|
57305
|
+
return f;
|
|
57307
57306
|
} catch (t) {
|
|
57308
57307
|
a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
|
|
57309
57308
|
tag: "cam_permission",
|
|
@@ -57414,13 +57413,13 @@
|
|
|
57414
57413
|
z
|
|
57415
57414
|
]);
|
|
57416
57415
|
let H = reactExports.useCallback(()=>{
|
|
57417
|
-
W(),
|
|
57416
|
+
W(), f && f(), $({
|
|
57418
57417
|
tag: "result",
|
|
57419
57418
|
event: "user_activity.cancel",
|
|
57420
57419
|
log: {}
|
|
57421
57420
|
});
|
|
57422
57421
|
}, [
|
|
57423
|
-
|
|
57422
|
+
f,
|
|
57424
57423
|
W,
|
|
57425
57424
|
$
|
|
57426
57425
|
]);
|
|
@@ -57483,7 +57482,7 @@
|
|
|
57483
57482
|
className: x,
|
|
57484
57483
|
scale: P
|
|
57485
57484
|
}),
|
|
57486
|
-
|
|
57485
|
+
p,
|
|
57487
57486
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
57488
57487
|
onClick: H,
|
|
57489
57488
|
"data-testid": "close-camera"
|
|
@@ -57683,32 +57682,32 @@
|
|
|
57683
57682
|
"left center",
|
|
57684
57683
|
"left bottom"
|
|
57685
57684
|
], io = function(t, r, o, n, i) {
|
|
57686
|
-
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,
|
|
57685
|
+
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%";
|
|
57687
57686
|
switch(l[0]){
|
|
57688
57687
|
case "top":
|
|
57689
|
-
h -=
|
|
57688
|
+
h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
|
|
57690
57689
|
break;
|
|
57691
57690
|
case "bottom":
|
|
57692
|
-
h +=
|
|
57691
|
+
h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
|
|
57693
57692
|
break;
|
|
57694
57693
|
case "left":
|
|
57695
|
-
m -=
|
|
57694
|
+
m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
|
|
57696
57695
|
break;
|
|
57697
57696
|
case "right":
|
|
57698
|
-
m +=
|
|
57697
|
+
m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
|
|
57699
57698
|
}
|
|
57700
57699
|
switch(l[1]){
|
|
57701
57700
|
case "top":
|
|
57702
57701
|
h = t.top, b = t.height / 2 + "px";
|
|
57703
57702
|
break;
|
|
57704
57703
|
case "bottom":
|
|
57705
|
-
h = t.top -
|
|
57704
|
+
h = t.top - f + t.height, b = f - t.height / 2 + "px";
|
|
57706
57705
|
break;
|
|
57707
57706
|
case "left":
|
|
57708
57707
|
m = t.left, v = t.width / 2 + "px";
|
|
57709
57708
|
break;
|
|
57710
57709
|
case "right":
|
|
57711
|
-
m = t.left -
|
|
57710
|
+
m = t.left - p + t.width, v = p - t.width / 2 + "px";
|
|
57712
57711
|
}
|
|
57713
57712
|
return h = "top" === l[0] ? h - s : h + s, {
|
|
57714
57713
|
top: h,
|
|
@@ -57736,12 +57735,12 @@
|
|
|
57736
57735
|
left: 0,
|
|
57737
57736
|
top: 0,
|
|
57738
57737
|
transform: "rotate(135deg)"
|
|
57739
|
-
}, d = 0, u = ii(a),
|
|
57738
|
+
}, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
|
|
57740
57739
|
o
|
|
57741
57740
|
];
|
|
57742
|
-
for((a || Array.isArray(o)) && (
|
|
57743
|
-
var
|
|
57744
|
-
top: (l = io(t, r,
|
|
57741
|
+
for((a || Array.isArray(o)) && (f = [].concat(f, ir)); d < f.length;){
|
|
57742
|
+
var p = {
|
|
57743
|
+
top: (l = io(t, r, f[d], n, {
|
|
57745
57744
|
offsetX: s,
|
|
57746
57745
|
offsetY: c
|
|
57747
57746
|
})).top,
|
|
@@ -57749,7 +57748,7 @@
|
|
|
57749
57748
|
width: r.width,
|
|
57750
57749
|
height: r.height
|
|
57751
57750
|
};
|
|
57752
|
-
if (
|
|
57751
|
+
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++;
|
|
57753
57752
|
else break;
|
|
57754
57753
|
}
|
|
57755
57754
|
return l;
|
|
@@ -57757,7 +57756,7 @@
|
|
|
57757
57756
|
var t = document.getElementById("popup-root");
|
|
57758
57757
|
return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
|
|
57759
57758
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
57760
|
-
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l,
|
|
57759
|
+
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 ? [
|
|
57761
57760
|
"click"
|
|
57762
57761
|
] : 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);
|
|
57763
57762
|
n7(function() {
|
|
@@ -57779,16 +57778,16 @@
|
|
|
57779
57778
|
}, eu = function(t) {
|
|
57780
57779
|
var r;
|
|
57781
57780
|
et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
|
|
57782
|
-
return
|
|
57781
|
+
return p(t);
|
|
57783
57782
|
}, 0));
|
|
57784
|
-
}, ep = function(t) {
|
|
57785
|
-
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57786
57783
|
}, ef = function(t) {
|
|
57784
|
+
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57785
|
+
}, ep = function(t) {
|
|
57787
57786
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57788
57787
|
return ed(t);
|
|
57789
57788
|
}, X);
|
|
57790
57789
|
}, eh = function(t) {
|
|
57791
|
-
null == t || t.preventDefault(),
|
|
57790
|
+
null == t || t.preventDefault(), ef();
|
|
57792
57791
|
}, em = function(t) {
|
|
57793
57792
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57794
57793
|
return eu(t);
|
|
@@ -57810,7 +57809,7 @@
|
|
|
57810
57809
|
eu();
|
|
57811
57810
|
},
|
|
57812
57811
|
toggle: function() {
|
|
57813
|
-
|
|
57812
|
+
ef();
|
|
57814
57813
|
}
|
|
57815
57814
|
};
|
|
57816
57815
|
});
|
|
@@ -57844,7 +57843,7 @@
|
|
|
57844
57843
|
t.stopPropagation();
|
|
57845
57844
|
}
|
|
57846
57845
|
};
|
|
57847
|
-
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter =
|
|
57846
|
+
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
|
|
57848
57847
|
}, ey = function() {
|
|
57849
57848
|
return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
|
|
57850
57849
|
key: "C",
|
|
@@ -57891,16 +57890,16 @@
|
|
|
57891
57890
|
P
|
|
57892
57891
|
], n = 0, i = o.length; n < i; n++)switch(o[n]){
|
|
57893
57892
|
case "click":
|
|
57894
|
-
r.onClick =
|
|
57893
|
+
r.onClick = ef;
|
|
57895
57894
|
break;
|
|
57896
57895
|
case "right-click":
|
|
57897
57896
|
r.onContextMenu = eh;
|
|
57898
57897
|
break;
|
|
57899
57898
|
case "hover":
|
|
57900
|
-
r.onMouseEnter =
|
|
57899
|
+
r.onMouseEnter = ep, r.onMouseLeave = em;
|
|
57901
57900
|
break;
|
|
57902
57901
|
case "focus":
|
|
57903
|
-
r.onFocus =
|
|
57902
|
+
r.onFocus = ep, r.onBlur = em;
|
|
57904
57903
|
}
|
|
57905
57904
|
if ("function" == typeof c) {
|
|
57906
57905
|
var a = c(et);
|
|
@@ -58167,7 +58166,7 @@
|
|
|
58167
58166
|
}
|
|
58168
58167
|
}, im = "default", ig = "error";
|
|
58169
58168
|
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 }) {
|
|
58170
|
-
let
|
|
58169
|
+
let p = reactExports.useMemo(()=>({
|
|
58171
58170
|
[im]: l,
|
|
58172
58171
|
[ig]: d,
|
|
58173
58172
|
...i
|
|
@@ -58175,7 +58174,7 @@
|
|
|
58175
58174
|
l,
|
|
58176
58175
|
d,
|
|
58177
58176
|
i
|
|
58178
|
-
]), h = s + a * u, m =
|
|
58177
|
+
]), h = s + a * u, m = p[n];
|
|
58179
58178
|
return oZ.jsxs("svg", {
|
|
58180
58179
|
width: r,
|
|
58181
58180
|
height: o,
|
|
@@ -58394,8 +58393,8 @@
|
|
|
58394
58393
|
if (o && !a || !o && !s) return null;
|
|
58395
58394
|
let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
|
|
58396
58395
|
d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
|
|
58397
|
-
let
|
|
58398
|
-
|
|
58396
|
+
let f = d.getContext("2d"), p = u.getContext("2d");
|
|
58397
|
+
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);
|
|
58399
58398
|
let [h, m] = await Promise.all([
|
|
58400
58399
|
fb.getModelPredictions({
|
|
58401
58400
|
model: t,
|
|
@@ -58436,13 +58435,13 @@
|
|
|
58436
58435
|
return i;
|
|
58437
58436
|
}, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
|
|
58438
58437
|
if (null === t) return !0;
|
|
58439
|
-
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large,
|
|
58440
|
-
return (!c || !(
|
|
58438
|
+
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, f = r?.small, p = r?.large;
|
|
58439
|
+
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);
|
|
58441
58440
|
};
|
|
58442
58441
|
function iW(t, r, o, n, i) {
|
|
58443
58442
|
o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
|
|
58444
|
-
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n,
|
|
58445
|
-
o.strokeRect(l, d, u - l,
|
|
58443
|
+
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;
|
|
58444
|
+
o.strokeRect(l, d, u - l, f - d);
|
|
58446
58445
|
}));
|
|
58447
58446
|
}
|
|
58448
58447
|
function iU(t) {
|
|
@@ -59248,14 +59247,14 @@
|
|
|
59248
59247
|
_drawToCanvas(t, r, o, n, i, a) {
|
|
59249
59248
|
if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
|
|
59250
59249
|
this._lastFrameTime = 0;
|
|
59251
|
-
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i,
|
|
59250
|
+
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
|
|
59252
59251
|
if (this._stopDrawing) {
|
|
59253
59252
|
this._animationFrameId = null;
|
|
59254
59253
|
return;
|
|
59255
59254
|
}
|
|
59256
|
-
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(
|
|
59255
|
+
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
|
|
59257
59256
|
};
|
|
59258
|
-
this._animationFrameId = requestAnimationFrame(
|
|
59257
|
+
this._animationFrameId = requestAnimationFrame(f);
|
|
59259
59258
|
}
|
|
59260
59259
|
stopDrawing() {
|
|
59261
59260
|
this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
|
|
@@ -59265,10 +59264,10 @@
|
|
|
59265
59264
|
this.clearVideoChunks(), this._stopDrawing = !1;
|
|
59266
59265
|
let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
|
|
59267
59266
|
aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
|
|
59268
|
-
let
|
|
59269
|
-
|
|
59270
|
-
let
|
|
59271
|
-
if (!
|
|
59267
|
+
let f = document.createElement("canvas");
|
|
59268
|
+
f.width = n, f.height = i;
|
|
59269
|
+
let p = f.getContext("2d");
|
|
59270
|
+
if (!p) return console.error("Could not get canvas context."), {
|
|
59272
59271
|
mediaRecorder: null
|
|
59273
59272
|
};
|
|
59274
59273
|
try {
|
|
@@ -59276,7 +59275,7 @@
|
|
|
59276
59275
|
mimeType: "video/webm",
|
|
59277
59276
|
videoBitsPerSecond: c
|
|
59278
59277
|
}, i = nT.isIOS ? "video/mp4" : "video/webm";
|
|
59279
|
-
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(
|
|
59278
|
+
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 = {
|
|
59280
59279
|
mimeType: i,
|
|
59281
59280
|
videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
|
|
59282
59281
|
}), !this._stream) throw Error("Failed to create a media stream for recording.");
|
|
@@ -59331,7 +59330,7 @@
|
|
|
59331
59330
|
}
|
|
59332
59331
|
}, [
|
|
59333
59332
|
i
|
|
59334
|
-
]),
|
|
59333
|
+
]), p = reactExports.useCallback(()=>{
|
|
59335
59334
|
if (s.current && r.current) try {
|
|
59336
59335
|
s.current.discardRecording(), r.current = !1;
|
|
59337
59336
|
} catch (t) {
|
|
@@ -59340,19 +59339,19 @@
|
|
|
59340
59339
|
}, []);
|
|
59341
59340
|
return reactExports.useEffect(()=>{
|
|
59342
59341
|
let t = ()=>{
|
|
59343
|
-
"hidden" === document.visibilityState ?
|
|
59342
|
+
"hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
|
|
59344
59343
|
};
|
|
59345
59344
|
return document.addEventListener("visibilitychange", t), ()=>{
|
|
59346
59345
|
document.removeEventListener("visibilitychange", t);
|
|
59347
59346
|
};
|
|
59348
59347
|
}, [
|
|
59349
59348
|
l,
|
|
59350
|
-
|
|
59349
|
+
p
|
|
59351
59350
|
]), {
|
|
59352
59351
|
startRecording: l,
|
|
59353
59352
|
stopRecording: d,
|
|
59354
59353
|
resetRecording: u,
|
|
59355
|
-
discardRecording:
|
|
59354
|
+
discardRecording: p
|
|
59356
59355
|
};
|
|
59357
59356
|
}, { Errors: a$ } = ra$1, aj = ()=>({
|
|
59358
59357
|
imageBlob: null,
|
|
@@ -59565,22 +59564,22 @@
|
|
|
59565
59564
|
});
|
|
59566
59565
|
}
|
|
59567
59566
|
let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
59568
|
-
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo:
|
|
59567
|
+
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")({
|
|
59569
59568
|
theme: T
|
|
59570
|
-
}), 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(()=>{}),
|
|
59569
|
+
}), 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)=>{
|
|
59571
59570
|
null === t ? er("") : er(Y(t?.code, {
|
|
59572
59571
|
side: k ? Y("front") : Y("back")
|
|
59573
59572
|
}));
|
|
59574
59573
|
}, [
|
|
59575
59574
|
Y,
|
|
59576
59575
|
k
|
|
59577
|
-
]),
|
|
59576
|
+
]), ep = reactExports.useCallback(()=>{
|
|
59578
59577
|
ee(""), eu.current();
|
|
59579
59578
|
}, []), eh = reactExports.useCallback((...t)=>{
|
|
59580
59579
|
ee(""), B(...t);
|
|
59581
59580
|
}, [
|
|
59582
59581
|
B
|
|
59583
|
-
]), { 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:
|
|
59582
|
+
]), { 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 })=>{
|
|
59584
59583
|
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(()=>{
|
|
59585
59584
|
Q((t)=>!t);
|
|
59586
59585
|
}, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
|
|
@@ -59621,30 +59620,30 @@
|
|
|
59621
59620
|
l.blurLargeThresholdAuto,
|
|
59622
59621
|
l.blurLargeThresholdManual,
|
|
59623
59622
|
l.enableAutoCapture
|
|
59624
|
-
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState:
|
|
59623
|
+
]), { 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 }) {
|
|
59625
59624
|
let C = reactExports.useRef(null);
|
|
59626
59625
|
null === C.current && (C.current = document.createElement("canvas"));
|
|
59627
|
-
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 } =
|
|
59628
|
-
videoFrameWidth:
|
|
59629
|
-
videoFrameHeight:
|
|
59630
|
-
videoBitrate:
|
|
59631
|
-
fps:
|
|
59626
|
+
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(()=>({
|
|
59627
|
+
videoFrameWidth: p.recordVideoFrameWidth,
|
|
59628
|
+
videoFrameHeight: p.recordVideoFrameHeight,
|
|
59629
|
+
videoBitrate: p.recordVideoBitrate,
|
|
59630
|
+
fps: p.recordVideoFps
|
|
59632
59631
|
}), [
|
|
59633
|
-
|
|
59634
|
-
|
|
59635
|
-
|
|
59636
|
-
|
|
59632
|
+
p.recordVideoBitrate,
|
|
59633
|
+
p.recordVideoFps,
|
|
59634
|
+
p.recordVideoFrameHeight,
|
|
59635
|
+
p.recordVideoFrameWidth
|
|
59637
59636
|
]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
|
|
59638
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59637
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
|
|
59639
59638
|
g,
|
|
59640
|
-
|
|
59641
|
-
|
|
59639
|
+
p.enableRecordCapturingBack,
|
|
59640
|
+
p.enableRecordCapturingFront
|
|
59642
59641
|
])
|
|
59643
59642
|
}), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
|
|
59644
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59643
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
|
|
59645
59644
|
g,
|
|
59646
|
-
|
|
59647
|
-
|
|
59645
|
+
p.enableRecordFullSessionBack,
|
|
59646
|
+
p.enableRecordFullSessionFront
|
|
59648
59647
|
])
|
|
59649
59648
|
}), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
|
|
59650
59649
|
let t = reactExports.useContext(nU);
|
|
@@ -59658,8 +59657,8 @@
|
|
|
59658
59657
|
]), reactExports.useEffect(()=>{
|
|
59659
59658
|
let t = !1;
|
|
59660
59659
|
return async function r() {
|
|
59661
|
-
if (
|
|
59662
|
-
if (
|
|
59660
|
+
if (p && !I) {
|
|
59661
|
+
if (p.enableIdDetection) {
|
|
59663
59662
|
let t = ((t, r)=>{
|
|
59664
59663
|
if (0 === t.length) return {
|
|
59665
59664
|
isValid: !1
|
|
@@ -59680,7 +59679,7 @@
|
|
|
59680
59679
|
} : {
|
|
59681
59680
|
isValid: !1
|
|
59682
59681
|
};
|
|
59683
|
-
})(Z.map((t)=>t.code),
|
|
59682
|
+
})(Z.map((t)=>t.code), p?.cardTypeModelMapping);
|
|
59684
59683
|
if (!t.isValid) {
|
|
59685
59684
|
U(a$.invalid_card_type_config), Q(!1), O(!0);
|
|
59686
59685
|
return;
|
|
@@ -59689,7 +59688,7 @@
|
|
|
59689
59688
|
V.current = await a_({
|
|
59690
59689
|
...W,
|
|
59691
59690
|
idCardModelUrl: r
|
|
59692
|
-
}, t.cardModel), await fY.initTensorFlow(), N.current =
|
|
59691
|
+
}, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
|
|
59693
59692
|
} else Q(!1), N.current = !1;
|
|
59694
59693
|
t || O(!0);
|
|
59695
59694
|
}
|
|
@@ -59698,7 +59697,7 @@
|
|
|
59698
59697
|
};
|
|
59699
59698
|
}, [
|
|
59700
59699
|
I,
|
|
59701
|
-
|
|
59700
|
+
p,
|
|
59702
59701
|
W,
|
|
59703
59702
|
Z,
|
|
59704
59703
|
U
|
|
@@ -59715,13 +59714,13 @@
|
|
|
59715
59714
|
});
|
|
59716
59715
|
}, [
|
|
59717
59716
|
k
|
|
59718
|
-
]),
|
|
59717
|
+
]), ef = reactExports.useCallback(()=>{
|
|
59719
59718
|
Y || (en(), es());
|
|
59720
59719
|
}, [
|
|
59721
59720
|
Y,
|
|
59722
59721
|
en,
|
|
59723
59722
|
es
|
|
59724
|
-
]),
|
|
59723
|
+
]), ep = reactExports.useCallback(async ()=>{
|
|
59725
59724
|
let t = {
|
|
59726
59725
|
capturingVideo: {
|
|
59727
59726
|
blob: null
|
|
@@ -59736,18 +59735,18 @@
|
|
|
59736
59735
|
}, [
|
|
59737
59736
|
eo,
|
|
59738
59737
|
ea
|
|
59739
|
-
]), eh = reactExports.useMemo(()=>g ?
|
|
59738
|
+
]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
|
|
59740
59739
|
g,
|
|
59741
|
-
|
|
59742
|
-
|
|
59743
|
-
]), em = reactExports.useMemo(()=>g ?
|
|
59740
|
+
p.enableFlashlightBack,
|
|
59741
|
+
p.enableFlashlightFront
|
|
59742
|
+
]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
|
|
59744
59743
|
g,
|
|
59745
|
-
|
|
59746
|
-
|
|
59747
|
-
]), eg = reactExports.useMemo(()=>g ?
|
|
59744
|
+
p.flashlightActivationDelayBack,
|
|
59745
|
+
p.flashlightActivationDelayFront
|
|
59746
|
+
]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
|
|
59748
59747
|
g,
|
|
59749
|
-
|
|
59750
|
-
|
|
59748
|
+
p.flashlightDurationBack,
|
|
59749
|
+
p.flashlightDurationFront
|
|
59751
59750
|
]), eb = reactExports.useCallback(()=>{
|
|
59752
59751
|
!ed.current && eh && (ed.current = !0, setTimeout(()=>{
|
|
59753
59752
|
ec(eg);
|
|
@@ -59764,9 +59763,9 @@
|
|
|
59764
59763
|
]), ew = reactExports.useCallback(()=>{
|
|
59765
59764
|
!0 === T.current && (T.current = !1);
|
|
59766
59765
|
}, []), ek = reactExports.useCallback(()=>{
|
|
59767
|
-
|
|
59766
|
+
ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
|
|
59768
59767
|
}, [
|
|
59769
|
-
|
|
59768
|
+
ef
|
|
59770
59769
|
]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59771
59770
|
await er({
|
|
59772
59771
|
videoEl: l.current,
|
|
@@ -59779,7 +59778,7 @@
|
|
|
59779
59778
|
incomingFrameBlurScore: t,
|
|
59780
59779
|
currentFrameGlareScore: i.glareScore,
|
|
59781
59780
|
incomingFrameGlareScore: n,
|
|
59782
|
-
settings:
|
|
59781
|
+
settings: p,
|
|
59783
59782
|
blurLargeThreshold: s,
|
|
59784
59783
|
blurSmallThreshold: r
|
|
59785
59784
|
})) {
|
|
@@ -59797,25 +59796,25 @@
|
|
|
59797
59796
|
}
|
|
59798
59797
|
i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
|
|
59799
59798
|
}
|
|
59800
|
-
|
|
59799
|
+
p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
|
|
59801
59800
|
}, [
|
|
59802
59801
|
er,
|
|
59803
59802
|
l,
|
|
59804
59803
|
et,
|
|
59805
59804
|
eb,
|
|
59806
|
-
|
|
59805
|
+
p,
|
|
59807
59806
|
s,
|
|
59808
59807
|
r,
|
|
59809
59808
|
k
|
|
59810
59809
|
]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59811
59810
|
F.current = !0;
|
|
59812
59811
|
let i = A.current;
|
|
59813
|
-
if (
|
|
59812
|
+
if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
|
|
59814
59813
|
currentFrameBlurScore: i.blurScore,
|
|
59815
59814
|
currentFrameGlareScore: i.glareScore,
|
|
59816
59815
|
incomingFrameBlurScore: t,
|
|
59817
59816
|
incomingFrameGlareScore: n,
|
|
59818
|
-
settings:
|
|
59817
|
+
settings: p,
|
|
59819
59818
|
blurLargeThreshold: s,
|
|
59820
59819
|
blurSmallThreshold: r
|
|
59821
59820
|
})) {
|
|
@@ -59834,19 +59833,19 @@
|
|
|
59834
59833
|
s,
|
|
59835
59834
|
r,
|
|
59836
59835
|
k,
|
|
59837
|
-
|
|
59836
|
+
p
|
|
59838
59837
|
]), eB = reactExports.useCallback(async ()=>{
|
|
59839
|
-
let { autoCaptureWaitForBestImageTimeMs: t } =
|
|
59838
|
+
let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
|
|
59840
59839
|
if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
|
|
59841
|
-
let t = await
|
|
59840
|
+
let t = await ep();
|
|
59842
59841
|
await ev(), await b({
|
|
59843
59842
|
...r,
|
|
59844
59843
|
...t
|
|
59845
59844
|
}), J(!1), R.current = null;
|
|
59846
59845
|
}
|
|
59847
59846
|
}, [
|
|
59848
|
-
|
|
59849
|
-
|
|
59847
|
+
p,
|
|
59848
|
+
ep,
|
|
59850
59849
|
ev,
|
|
59851
59850
|
b
|
|
59852
59851
|
]), e_ = reactExports.useCallback(()=>{
|
|
@@ -59861,7 +59860,7 @@
|
|
|
59861
59860
|
resultAnalyzeVideoAndWindowSizes: D.current,
|
|
59862
59861
|
recordVideoSettings: et
|
|
59863
59862
|
}), eb(), new Promise((t)=>{
|
|
59864
|
-
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } =
|
|
59863
|
+
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
|
|
59865
59864
|
if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
|
|
59866
59865
|
ex().then(async ()=>{
|
|
59867
59866
|
await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
|
|
@@ -59876,7 +59875,7 @@
|
|
|
59876
59875
|
quality: k
|
|
59877
59876
|
}).then(async (n)=>{
|
|
59878
59877
|
i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
|
|
59879
|
-
let a = await
|
|
59878
|
+
let a = await ep();
|
|
59880
59879
|
t({
|
|
59881
59880
|
...i,
|
|
59882
59881
|
...a
|
|
@@ -59884,7 +59883,7 @@
|
|
|
59884
59883
|
});
|
|
59885
59884
|
} else {
|
|
59886
59885
|
o && await eu(i.detectedCard);
|
|
59887
|
-
let r = await
|
|
59886
|
+
let r = await ep();
|
|
59888
59887
|
t({
|
|
59889
59888
|
...i,
|
|
59890
59889
|
...r
|
|
@@ -59911,10 +59910,10 @@
|
|
|
59911
59910
|
l,
|
|
59912
59911
|
et,
|
|
59913
59912
|
eb,
|
|
59914
|
-
|
|
59913
|
+
p,
|
|
59915
59914
|
e_,
|
|
59916
59915
|
ex,
|
|
59917
|
-
|
|
59916
|
+
ep,
|
|
59918
59917
|
ev,
|
|
59919
59918
|
r,
|
|
59920
59919
|
s,
|
|
@@ -59948,10 +59947,10 @@
|
|
|
59948
59947
|
portraitTopLeft: c,
|
|
59949
59948
|
portraitBottomRight: l
|
|
59950
59949
|
};
|
|
59951
|
-
}(t,
|
|
59950
|
+
}(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
|
|
59952
59951
|
let { cv: o } = window;
|
|
59953
59952
|
if (!o) throw Error("Opencv not found!");
|
|
59954
|
-
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t,
|
|
59953
|
+
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, [
|
|
59955
59954
|
n.x,
|
|
59956
59955
|
n.y,
|
|
59957
59956
|
i.x,
|
|
@@ -59960,7 +59959,7 @@
|
|
|
59960
59959
|
a.y,
|
|
59961
59960
|
s.x,
|
|
59962
59961
|
s.y
|
|
59963
|
-
]),
|
|
59962
|
+
]), p = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59964
59963
|
0,
|
|
59965
59964
|
0,
|
|
59966
59965
|
c - 1,
|
|
@@ -59969,7 +59968,7 @@
|
|
|
59969
59968
|
l - 1,
|
|
59970
59969
|
0,
|
|
59971
59970
|
l - 1
|
|
59972
|
-
]), h = o.getPerspectiveTransform(
|
|
59971
|
+
]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
|
|
59973
59972
|
let r = o.matFromArray(1, 1, o.CV_32FC2, [
|
|
59974
59973
|
t[0],
|
|
59975
59974
|
t[1]
|
|
@@ -59983,7 +59982,7 @@
|
|
|
59983
59982
|
Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
|
|
59984
59983
|
];
|
|
59985
59984
|
}, g = m(d), b = m(u);
|
|
59986
|
-
return
|
|
59985
|
+
return f.delete(), p.delete(), h.delete(), [
|
|
59987
59986
|
parseInt(g[0], 10),
|
|
59988
59987
|
parseInt(g[1], 10),
|
|
59989
59988
|
parseInt(b[0], 10),
|
|
@@ -60061,9 +60060,9 @@
|
|
|
60061
60060
|
};
|
|
60062
60061
|
}
|
|
60063
60062
|
}, [
|
|
60064
|
-
|
|
60063
|
+
p
|
|
60065
60064
|
]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
|
|
60066
|
-
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding:
|
|
60065
|
+
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 = {
|
|
60067
60066
|
error: null
|
|
60068
60067
|
};
|
|
60069
60068
|
try {
|
|
@@ -60080,12 +60079,12 @@
|
|
|
60080
60079
|
area: c.width * c.height
|
|
60081
60080
|
},
|
|
60082
60081
|
big: {
|
|
60083
|
-
area:
|
|
60082
|
+
area: f * h
|
|
60084
60083
|
}
|
|
60085
60084
|
});
|
|
60086
60085
|
if (l < .5) throw Error("id_detector_card_too_small");
|
|
60087
60086
|
if (l > .95) throw Error("id_detector_error_incomplete");
|
|
60088
|
-
if (k && nn(
|
|
60087
|
+
if (k && nn(p, "enableCardTypeCheck")) {
|
|
60089
60088
|
let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
|
|
60090
60089
|
let o = t.split(".")?.[0];
|
|
60091
60090
|
if (o !== r[0].split(".")?.[0]) return {
|
|
@@ -60159,8 +60158,8 @@
|
|
|
60159
60158
|
smallThreshold: r,
|
|
60160
60159
|
largeThreshold: s
|
|
60161
60160
|
}), u = {
|
|
60162
|
-
small: iz(d?.[0],
|
|
60163
|
-
large: iz(d?.[1],
|
|
60161
|
+
small: iz(d?.[0], p.blurSmallDecimal),
|
|
60162
|
+
large: iz(d?.[1], p.blurLargeDecimal)
|
|
60164
60163
|
};
|
|
60165
60164
|
if (eT.current = {
|
|
60166
60165
|
...eT.current,
|
|
@@ -60176,10 +60175,10 @@
|
|
|
60176
60175
|
}
|
|
60177
60176
|
if (y) {
|
|
60178
60177
|
var I, O, M, A, R, L, F, N;
|
|
60179
|
-
let r, s,
|
|
60178
|
+
let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
|
|
60180
60179
|
eT.current = {
|
|
60181
60180
|
...eT.current,
|
|
60182
|
-
label:
|
|
60181
|
+
label: p,
|
|
60183
60182
|
corner_size: h?.length
|
|
60184
60183
|
}, p_.drawDebugCanvas(eE.current, eT.current);
|
|
60185
60184
|
let m = i$ / o.width, g = eS.current.getContext("2d");
|
|
@@ -60191,7 +60190,7 @@
|
|
|
60191
60190
|
o.strokeRect(s, c, l - s, d - c);
|
|
60192
60191
|
}(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
|
|
60193
60192
|
iW(t.bboxes, "blue", I, R, r);
|
|
60194
|
-
}),
|
|
60193
|
+
}), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
|
|
60195
60194
|
iW(t.bboxes, "green", I, R, r);
|
|
60196
60195
|
}), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
|
|
60197
60196
|
let r = t.x * N, o = t.y * N;
|
|
@@ -60200,7 +60199,7 @@
|
|
|
60200
60199
|
}
|
|
60201
60200
|
return T;
|
|
60202
60201
|
}, [
|
|
60203
|
-
|
|
60202
|
+
p,
|
|
60204
60203
|
y,
|
|
60205
60204
|
l,
|
|
60206
60205
|
Z,
|
|
@@ -60209,13 +60208,13 @@
|
|
|
60209
60208
|
s,
|
|
60210
60209
|
eD
|
|
60211
60210
|
]), ej = reactExports.useCallback(async ()=>{
|
|
60212
|
-
if (!
|
|
60211
|
+
if (!p || !I || T.current) return;
|
|
60213
60212
|
M.current = aj(), A.current = aI();
|
|
60214
|
-
let { enableVirtualCamHashes: t } =
|
|
60213
|
+
let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
|
|
60215
60214
|
T.current = !0;
|
|
60216
60215
|
let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
|
|
60217
60216
|
u.width = c, u.height = d;
|
|
60218
|
-
let
|
|
60217
|
+
let f = u.getContext("2d"), h = async ()=>{
|
|
60219
60218
|
if (!1 === T.current) return;
|
|
60220
60219
|
await ei({
|
|
60221
60220
|
videoEl: l.current,
|
|
@@ -60223,11 +60222,11 @@
|
|
|
60223
60222
|
recordVideoSettings: et
|
|
60224
60223
|
});
|
|
60225
60224
|
let n = K.current;
|
|
60226
|
-
|
|
60225
|
+
f.drawImage(i, a, s, c, d, 0, 0, c, d);
|
|
60227
60226
|
let g = performance.now();
|
|
60228
60227
|
if (z.current = !1, q && o) {
|
|
60229
60228
|
let o = await r.predict(u);
|
|
60230
|
-
!
|
|
60229
|
+
!p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
|
|
60231
60230
|
let r = nn(t, "card.corners");
|
|
60232
60231
|
if (r && Array.isArray(r) && r.length > 0) {
|
|
60233
60232
|
let { x: t, y: o } = nn(r, "[0].location");
|
|
@@ -60256,7 +60255,7 @@
|
|
|
60256
60255
|
};
|
|
60257
60256
|
K.current = window.requestAnimationFrame(h);
|
|
60258
60257
|
}, [
|
|
60259
|
-
|
|
60258
|
+
p,
|
|
60260
60259
|
I,
|
|
60261
60260
|
l,
|
|
60262
60261
|
ei,
|
|
@@ -60309,7 +60308,7 @@
|
|
|
60309
60308
|
refBlurScores: X,
|
|
60310
60309
|
refGlareScores: H,
|
|
60311
60310
|
resetState: ek,
|
|
60312
|
-
resetRecordVideo:
|
|
60311
|
+
resetRecordVideo: ef
|
|
60313
60312
|
};
|
|
60314
60313
|
}({
|
|
60315
60314
|
isAutoCapture: q,
|
|
@@ -60327,17 +60326,17 @@
|
|
|
60327
60326
|
});
|
|
60328
60327
|
reactExports.useContext(aO);
|
|
60329
60328
|
let eh = reactExports.useCallback(()=>{
|
|
60330
|
-
|
|
60329
|
+
ep(), eo(), k();
|
|
60331
60330
|
}, [
|
|
60332
60331
|
eo,
|
|
60333
|
-
|
|
60332
|
+
ep,
|
|
60334
60333
|
k
|
|
60335
60334
|
]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
|
|
60336
|
-
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t,
|
|
60335
|
+
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, f = reactExports.useRef(new pT({
|
|
60337
60336
|
totalTime: i,
|
|
60338
60337
|
interruptible: r
|
|
60339
60338
|
}));
|
|
60340
|
-
reactExports.useEffect(()=>
|
|
60339
|
+
reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
|
|
60341
60340
|
t >= 0 && t <= i / 3 && "function" == typeof c && c({
|
|
60342
60341
|
curTimeLeft: t
|
|
60343
60342
|
});
|
|
@@ -60346,24 +60345,24 @@
|
|
|
60346
60345
|
c,
|
|
60347
60346
|
i,
|
|
60348
60347
|
r
|
|
60349
|
-
]), reactExports.useEffect(()=>
|
|
60350
|
-
r &&
|
|
60348
|
+
]), reactExports.useEffect(()=>f.current.on("reset", ({ attemptCount: t })=>{
|
|
60349
|
+
r && f.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
|
|
60351
60350
|
}), [
|
|
60352
60351
|
l,
|
|
60353
60352
|
u,
|
|
60354
60353
|
s?.enable,
|
|
60355
60354
|
s?.total,
|
|
60356
60355
|
r
|
|
60357
|
-
]), reactExports.useEffect(()=>d ?
|
|
60356
|
+
]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
|
|
60358
60357
|
d
|
|
60359
60358
|
]);
|
|
60360
|
-
let
|
|
60361
|
-
|
|
60359
|
+
let p = reactExports.useCallback(()=>{
|
|
60360
|
+
f.current.resume();
|
|
60362
60361
|
}, []);
|
|
60363
60362
|
return {
|
|
60364
|
-
resumeTimer:
|
|
60363
|
+
resumeTimer: p,
|
|
60365
60364
|
pauseTimer: reactExports.useCallback(()=>{
|
|
60366
|
-
|
|
60365
|
+
f.current.pause();
|
|
60367
60366
|
}, [])
|
|
60368
60367
|
};
|
|
60369
60368
|
})({
|
|
@@ -60377,24 +60376,24 @@
|
|
|
60377
60376
|
}), eb = reactExports.useCallback(()=>{
|
|
60378
60377
|
x.current = !1;
|
|
60379
60378
|
}, []), ev = reactExports.useCallback(async ()=>{
|
|
60380
|
-
eb(), em(),
|
|
60379
|
+
eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
|
|
60381
60380
|
en()
|
|
60382
60381
|
]);
|
|
60383
60382
|
}, [
|
|
60384
60383
|
eb,
|
|
60385
|
-
|
|
60384
|
+
ef,
|
|
60386
60385
|
U,
|
|
60387
60386
|
u,
|
|
60388
60387
|
en,
|
|
60389
60388
|
em
|
|
60390
60389
|
]), ew = reactExports.useCallback(async (t = {})=>{
|
|
60391
|
-
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash:
|
|
60390
|
+
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;
|
|
60392
60391
|
if (x.current) return;
|
|
60393
60392
|
x.current = !0, E(!0), eo(), eg(), Y(null);
|
|
60394
60393
|
let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
|
|
60395
|
-
if (v && null !==
|
|
60394
|
+
if (v && null !== f) {
|
|
60396
60395
|
let t = [
|
|
60397
|
-
|
|
60396
|
+
f,
|
|
60398
60397
|
...ec.current
|
|
60399
60398
|
];
|
|
60400
60399
|
t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
|
|
@@ -60403,7 +60402,7 @@
|
|
|
60403
60402
|
h7.addExifData("user_action", {
|
|
60404
60403
|
start_id_card: F.current,
|
|
60405
60404
|
end_id_card: Date.now()
|
|
60406
|
-
}), 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",
|
|
60405
|
+
}), 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)));
|
|
60407
60406
|
let T = await h7.writeCurrentExif({
|
|
60408
60407
|
imageData: {
|
|
60409
60408
|
blob: o
|
|
@@ -60541,14 +60540,14 @@
|
|
|
60541
60540
|
};
|
|
60542
60541
|
})({
|
|
60543
60542
|
shouldStart: !0,
|
|
60544
|
-
refVideo:
|
|
60543
|
+
refVideo: p,
|
|
60545
60544
|
cropArea: eo,
|
|
60546
60545
|
settings: C,
|
|
60547
|
-
onModelErrorChange:
|
|
60546
|
+
onModelErrorChange: ef,
|
|
60548
60547
|
frontSide: k,
|
|
60549
60548
|
allowedCardTypes: y,
|
|
60550
60549
|
onDebugInfoChange: K,
|
|
60551
|
-
onSessionTimeout:
|
|
60550
|
+
onSessionTimeout: ep,
|
|
60552
60551
|
onCaptureDone: eh,
|
|
60553
60552
|
onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
|
|
60554
60553
|
ee(Y("remaining_time", {
|
|
@@ -60577,9 +60576,9 @@
|
|
|
60577
60576
|
}), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
|
|
60578
60577
|
reactExports.useEffect(()=>{
|
|
60579
60578
|
if (u) {
|
|
60580
|
-
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX:
|
|
60581
|
-
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 *
|
|
60582
|
-
x: Math.floor((c - i) / 2) +
|
|
60579
|
+
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: f, lostY: p, clientHeight: h } = u;
|
|
60580
|
+
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({
|
|
60581
|
+
x: Math.floor((c - i) / 2) + f,
|
|
60583
60582
|
y: s,
|
|
60584
60583
|
width: i,
|
|
60585
60584
|
height: a,
|
|
@@ -61049,8 +61048,8 @@
|
|
|
61049
61048
|
Object.keys(l || {}).forEach(function(t) {
|
|
61050
61049
|
l[t] = i[t] || l[t];
|
|
61051
61050
|
});
|
|
61052
|
-
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,
|
|
61053
|
-
return
|
|
61051
|
+
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);
|
|
61052
|
+
return p || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (p = c(s ? u : f)), p;
|
|
61054
61053
|
}
|
|
61055
61054
|
d.default = d, r.default = d;
|
|
61056
61055
|
},
|
|
@@ -61071,10 +61070,10 @@
|
|
|
61071
61070
|
r.binarize = function(t, r, o, a) {
|
|
61072
61071
|
if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
|
|
61073
61072
|
for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
|
|
61074
|
-
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1],
|
|
61075
|
-
s.set(c, l, .2126 * d + .7152 * u + .0722 *
|
|
61073
|
+
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], f = t[(l * r + c) * 4 + 2];
|
|
61074
|
+
s.set(c, l, .2126 * d + .7152 * u + .0722 * f);
|
|
61076
61075
|
}
|
|
61077
|
-
for(var
|
|
61076
|
+
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++){
|
|
61078
61077
|
for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
|
|
61079
61078
|
var y = s.get(8 * b + c, 8 * g + l);
|
|
61080
61079
|
v += y, w = Math.min(w, y), k = Math.max(k, y);
|
|
@@ -61088,8 +61087,8 @@
|
|
|
61088
61087
|
}
|
|
61089
61088
|
var _ = n.BitMatrix.createEmpty(r, o), x = null;
|
|
61090
61089
|
a && (x = n.BitMatrix.createEmpty(r, o));
|
|
61091
|
-
for(var g = 0; g < h; g++)for(var b = 0; b <
|
|
61092
|
-
for(var P, S, E, T, D = (P = b, S =
|
|
61090
|
+
for(var g = 0; g < h; g++)for(var b = 0; b < p; b++){
|
|
61091
|
+
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);
|
|
61093
61092
|
for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
|
|
61094
61093
|
var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
|
|
61095
61094
|
_.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
|
|
@@ -61370,16 +61369,16 @@
|
|
|
61370
61369
|
for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
|
|
61371
61370
|
r = t.get(u, d), l = l << 1 | r;
|
|
61372
61371
|
}
|
|
61373
|
-
for(var
|
|
61374
|
-
o = t.get(u, d),
|
|
61372
|
+
for(var f = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
|
|
61373
|
+
o = t.get(u, d), f = f << 1 | o;
|
|
61375
61374
|
}
|
|
61376
|
-
for(var
|
|
61375
|
+
for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
|
|
61377
61376
|
var g = m[h];
|
|
61378
|
-
if (g.infoBits === l || g.infoBits ===
|
|
61377
|
+
if (g.infoBits === l || g.infoBits === f) return g;
|
|
61379
61378
|
var b = c(l, g.infoBits);
|
|
61380
|
-
b <
|
|
61379
|
+
b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
|
|
61381
61380
|
}
|
|
61382
|
-
if (
|
|
61381
|
+
if (p <= 3) return n;
|
|
61383
61382
|
}(t);
|
|
61384
61383
|
if (!r) return null;
|
|
61385
61384
|
var o = function(t) {
|
|
@@ -61389,19 +61388,19 @@
|
|
|
61389
61388
|
for(var d = 7; d >= 0; d--){
|
|
61390
61389
|
6 !== d && (o = t.get(8, d), a = a << 1 | o);
|
|
61391
61390
|
}
|
|
61392
|
-
for(var u = t.height,
|
|
61393
|
-
n = t.get(8, d),
|
|
61391
|
+
for(var u = t.height, f = 0, d = u - 1; d >= u - 7; d--){
|
|
61392
|
+
n = t.get(8, d), f = f << 1 | n;
|
|
61394
61393
|
}
|
|
61395
61394
|
for(var s = u - 8; s < u; s++){
|
|
61396
|
-
i = t.get(s, 8),
|
|
61395
|
+
i = t.get(s, 8), f = f << 1 | i;
|
|
61397
61396
|
}
|
|
61398
|
-
for(var
|
|
61397
|
+
for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
|
|
61399
61398
|
var g = l[m], b = g.bits, v = g.formatInfo;
|
|
61400
|
-
if (b === a || b ===
|
|
61399
|
+
if (b === a || b === f) return v;
|
|
61401
61400
|
var w = c(a, b);
|
|
61402
|
-
w <
|
|
61401
|
+
w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
|
|
61403
61402
|
}
|
|
61404
|
-
return
|
|
61403
|
+
return p <= 3 ? h : null;
|
|
61405
61404
|
}(t);
|
|
61406
61405
|
if (!o) return null;
|
|
61407
61406
|
var u = function(t, r, o) {
|
|
@@ -61418,10 +61417,10 @@
|
|
|
61418
61417
|
d.codewords.push(t.shift());
|
|
61419
61418
|
}
|
|
61420
61419
|
if (n.ecBlocks.length > 1) {
|
|
61421
|
-
for(var u = n.ecBlocks[0].numBlocks,
|
|
61420
|
+
for(var u = n.ecBlocks[0].numBlocks, f = n.ecBlocks[1].numBlocks, c = 0; c < f; c++)i[u + c].codewords.push(t.shift());
|
|
61422
61421
|
}
|
|
61423
|
-
for(; t.length > 0;)for(var
|
|
61424
|
-
var d = i[
|
|
61422
|
+
for(; t.length > 0;)for(var p = 0; p < i.length; p++){
|
|
61423
|
+
var d = i[p];
|
|
61425
61424
|
d.codewords.push(t.shift());
|
|
61426
61425
|
}
|
|
61427
61426
|
return i;
|
|
@@ -61436,11 +61435,11 @@
|
|
|
61436
61435
|
}
|
|
61437
61436
|
}
|
|
61438
61437
|
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;
|
|
61439
|
-
}(r), c = [], l = 0, u = 0,
|
|
61440
|
-
6 ===
|
|
61438
|
+
}(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
|
|
61439
|
+
6 === p && p--;
|
|
61441
61440
|
for(var h = 0; h < a; h++){
|
|
61442
|
-
for(var m =
|
|
61443
|
-
var b =
|
|
61441
|
+
for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
|
|
61442
|
+
var b = p - g;
|
|
61444
61443
|
if (!s.get(b, m)) {
|
|
61445
61444
|
u++;
|
|
61446
61445
|
var v = t.get(b, m);
|
|
@@ -61451,20 +61450,20 @@
|
|
|
61451
61450
|
}
|
|
61452
61451
|
}
|
|
61453
61452
|
}
|
|
61454
|
-
|
|
61453
|
+
f = !f;
|
|
61455
61454
|
}
|
|
61456
61455
|
return c;
|
|
61457
61456
|
}(t, r, o), r, o.errorCorrectionLevel);
|
|
61458
61457
|
if (!u) return null;
|
|
61459
|
-
for(var
|
|
61458
|
+
for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
|
|
61460
61459
|
return t + r.numDataCodewords;
|
|
61461
|
-
}, 0)),
|
|
61460
|
+
}, 0)), p = 0, h = 0; h < u.length; h++){
|
|
61462
61461
|
var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
|
|
61463
61462
|
if (!g) return null;
|
|
61464
|
-
for(var b = 0; b < m.numDataCodewords; b++)p
|
|
61463
|
+
for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
|
|
61465
61464
|
}
|
|
61466
61465
|
try {
|
|
61467
|
-
return i.decode(
|
|
61466
|
+
return i.decode(f, r.versionNumber);
|
|
61468
61467
|
} catch (t) {
|
|
61469
61468
|
return null;
|
|
61470
61469
|
}
|
|
@@ -61531,23 +61530,23 @@
|
|
|
61531
61530
|
":"
|
|
61532
61531
|
];
|
|
61533
61532
|
r.decode = function(t, r) {
|
|
61534
|
-
for(var o, n, i, u,
|
|
61533
|
+
for(var o, n, i, u, f = new c.BitStream(t), p = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
|
|
61535
61534
|
text: "",
|
|
61536
61535
|
bytes: [],
|
|
61537
61536
|
chunks: [],
|
|
61538
61537
|
version: r
|
|
61539
|
-
};
|
|
61540
|
-
var m =
|
|
61538
|
+
}; f.available() >= 4;){
|
|
61539
|
+
var m = f.readBits(4);
|
|
61541
61540
|
if (m === s.Terminator) return h;
|
|
61542
|
-
if (m === s.ECI) 0 ===
|
|
61541
|
+
if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
|
|
61543
61542
|
type: a.ECI,
|
|
61544
|
-
assignmentNumber:
|
|
61545
|
-
}) : 0 ===
|
|
61543
|
+
assignmentNumber: f.readBits(7)
|
|
61544
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61546
61545
|
type: a.ECI,
|
|
61547
|
-
assignmentNumber:
|
|
61548
|
-
}) : 0 ===
|
|
61546
|
+
assignmentNumber: f.readBits(14)
|
|
61547
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61549
61548
|
type: a.ECI,
|
|
61550
|
-
assignmentNumber:
|
|
61549
|
+
assignmentNumber: f.readBits(21)
|
|
61551
61550
|
}) : h.chunks.push({
|
|
61552
61551
|
type: a.ECI,
|
|
61553
61552
|
assignmentNumber: -1
|
|
@@ -61578,7 +61577,7 @@
|
|
|
61578
61577
|
bytes: o,
|
|
61579
61578
|
text: n
|
|
61580
61579
|
};
|
|
61581
|
-
}(
|
|
61580
|
+
}(f, p);
|
|
61582
61581
|
h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
|
|
61583
61582
|
type: a.Numeric,
|
|
61584
61583
|
text: g.text
|
|
@@ -61601,7 +61600,7 @@
|
|
|
61601
61600
|
bytes: o,
|
|
61602
61601
|
text: n
|
|
61603
61602
|
};
|
|
61604
|
-
}(
|
|
61603
|
+
}(f, p);
|
|
61605
61604
|
h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
|
|
61606
61605
|
type: a.Alphanumeric,
|
|
61607
61606
|
text: b.text
|
|
@@ -61625,7 +61624,7 @@
|
|
|
61625
61624
|
bytes: o,
|
|
61626
61625
|
text: n
|
|
61627
61626
|
};
|
|
61628
|
-
}(
|
|
61627
|
+
}(f, p);
|
|
61629
61628
|
h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
|
|
61630
61629
|
type: a.Byte,
|
|
61631
61630
|
bytes: v.bytes,
|
|
@@ -61645,7 +61644,7 @@
|
|
|
61645
61644
|
bytes: o,
|
|
61646
61645
|
text: n
|
|
61647
61646
|
};
|
|
61648
|
-
}(
|
|
61647
|
+
}(f, p);
|
|
61649
61648
|
h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
|
|
61650
61649
|
type: a.Kanji,
|
|
61651
61650
|
bytes: w.bytes,
|
|
@@ -61653,7 +61652,7 @@
|
|
|
61653
61652
|
});
|
|
61654
61653
|
}
|
|
61655
61654
|
}
|
|
61656
|
-
if (0 ===
|
|
61655
|
+
if (0 === f.available() || 0 === f.readBits(f.available())) return h;
|
|
61657
61656
|
};
|
|
61658
61657
|
},
|
|
61659
61658
|
function(t, r, o) {
|
|
@@ -68739,7 +68738,7 @@
|
|
|
68739
68738
|
c[c.length - 1 - d] = u, 0 !== u && (l = !0);
|
|
68740
68739
|
}
|
|
68741
68740
|
if (!l) return o;
|
|
68742
|
-
var
|
|
68741
|
+
var f = new i.default(a, c), p = function(t, r, o, n) {
|
|
68743
68742
|
r.degree() < o.degree() && (r = (i = [
|
|
68744
68743
|
o,
|
|
68745
68744
|
r
|
|
@@ -68748,11 +68747,11 @@
|
|
|
68748
68747
|
var d = a, u = c;
|
|
68749
68748
|
if (a = s, c = l, a.isZero()) return null;
|
|
68750
68749
|
s = d;
|
|
68751
|
-
for(var
|
|
68750
|
+
for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
|
|
68752
68751
|
var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
|
|
68753
|
-
|
|
68752
|
+
f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
|
|
68754
68753
|
}
|
|
68755
|
-
if (l =
|
|
68754
|
+
if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
|
|
68756
68755
|
}
|
|
68757
68756
|
var b = l.getCoefficient(0);
|
|
68758
68757
|
if (0 === b) return null;
|
|
@@ -68761,8 +68760,8 @@
|
|
|
68761
68760
|
l.multiply(v),
|
|
68762
68761
|
s.multiply(v)
|
|
68763
68762
|
];
|
|
68764
|
-
}(a, a.buildMonomial(r, 1),
|
|
68765
|
-
if (null ===
|
|
68763
|
+
}(a, a.buildMonomial(r, 1), f, r);
|
|
68764
|
+
if (null === p) return null;
|
|
68766
68765
|
var h = function(t, r) {
|
|
68767
68766
|
var o = r.degree();
|
|
68768
68767
|
if (1 === o) return [
|
|
@@ -68770,7 +68769,7 @@
|
|
|
68770
68769
|
];
|
|
68771
68770
|
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++);
|
|
68772
68771
|
return i !== o ? null : n;
|
|
68773
|
-
}(a,
|
|
68772
|
+
}(a, p[0]);
|
|
68774
68773
|
if (null == h) return null;
|
|
68775
68774
|
for(var m = function(t, r, o) {
|
|
68776
68775
|
for(var i = o.length, a = Array(i), s = 0; s < i; s++){
|
|
@@ -68778,7 +68777,7 @@
|
|
|
68778
68777
|
a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
|
|
68779
68778
|
}
|
|
68780
68779
|
return a;
|
|
68781
|
-
}(a,
|
|
68780
|
+
}(a, p[1], h), g = 0; g < h.length; g++){
|
|
68782
68781
|
var b = o.length - 1 - a.log(h[g]);
|
|
68783
68782
|
if (b < 0) return null;
|
|
68784
68783
|
o[b] = n.addOrSubtractGF(o[b], m[g]);
|
|
@@ -71259,14 +71258,14 @@
|
|
|
71259
71258
|
a32: t.y,
|
|
71260
71259
|
a33: 1
|
|
71261
71260
|
};
|
|
71262
|
-
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,
|
|
71261
|
+
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;
|
|
71263
71262
|
return {
|
|
71264
|
-
a11: r.x - t.x +
|
|
71265
|
-
a12: r.y - t.y +
|
|
71266
|
-
a13:
|
|
71267
|
-
a21: n.x - t.x +
|
|
71268
|
-
a22: n.y - t.y +
|
|
71269
|
-
a23:
|
|
71263
|
+
a11: r.x - t.x + f * r.x,
|
|
71264
|
+
a12: r.y - t.y + f * r.y,
|
|
71265
|
+
a13: f,
|
|
71266
|
+
a21: n.x - t.x + p * n.x,
|
|
71267
|
+
a22: n.y - t.y + p * n.y,
|
|
71268
|
+
a23: p,
|
|
71270
71269
|
a31: t.x,
|
|
71271
71270
|
a32: t.y,
|
|
71272
71271
|
a33: 1
|
|
@@ -71295,7 +71294,7 @@
|
|
|
71295
71294
|
a31: c.a21 * c.a32 - c.a22 * c.a31,
|
|
71296
71295
|
a32: c.a12 * c.a31 - c.a11 * c.a32,
|
|
71297
71296
|
a33: c.a11 * c.a22 - c.a12 * c.a21
|
|
71298
|
-
}),
|
|
71297
|
+
}), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
|
|
71299
71298
|
a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
|
|
71300
71299
|
a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
|
|
71301
71300
|
a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
|
|
@@ -71305,18 +71304,18 @@
|
|
|
71305
71304
|
a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
|
|
71306
71305
|
a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
|
|
71307
71306
|
a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
|
|
71308
|
-
}),
|
|
71309
|
-
var o =
|
|
71307
|
+
}), p = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
|
|
71308
|
+
var o = f.a13 * t + f.a23 * r + f.a33;
|
|
71310
71309
|
return {
|
|
71311
|
-
x: (
|
|
71312
|
-
y: (
|
|
71310
|
+
x: (f.a11 * t + f.a21 * r + f.a31) / o,
|
|
71311
|
+
y: (f.a12 * t + f.a22 * r + f.a32) / o
|
|
71313
71312
|
};
|
|
71314
71313
|
}, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
|
|
71315
71314
|
var b = h(g + .5, m + .5);
|
|
71316
|
-
|
|
71315
|
+
p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
|
|
71317
71316
|
}
|
|
71318
71317
|
return {
|
|
71319
|
-
matrix:
|
|
71318
|
+
matrix: p,
|
|
71320
71319
|
mappingFunction: h
|
|
71321
71320
|
};
|
|
71322
71321
|
};
|
|
@@ -71341,15 +71340,15 @@
|
|
|
71341
71340
|
}
|
|
71342
71341
|
], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
|
|
71343
71342
|
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));
|
|
71344
|
-
for(var
|
|
71343
|
+
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){
|
|
71345
71344
|
var k = u ? w : v, y = u ? v : w;
|
|
71346
71345
|
if (o.get(k, y) !== b && (b = !b, d.push({
|
|
71347
71346
|
x: k,
|
|
71348
71347
|
y: y
|
|
71349
71348
|
}), d.length === i + 1)) break;
|
|
71350
|
-
if ((h +=
|
|
71349
|
+
if ((h += p) > 0) {
|
|
71351
71350
|
if (w === l) break;
|
|
71352
|
-
w += g, h -=
|
|
71351
|
+
w += g, h -= f;
|
|
71353
71352
|
}
|
|
71354
71353
|
}
|
|
71355
71354
|
for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
|
|
@@ -71385,7 +71384,7 @@
|
|
|
71385
71384
|
}, l = s(t, a, o, r.length), d = {
|
|
71386
71385
|
x: Math.min(o.width, t.x + t.y) + 1,
|
|
71387
71386
|
y: Math.min(o.height, t.y + t.x) + 1
|
|
71388
|
-
}, u = s(t, d, o, r.length),
|
|
71387
|
+
}, 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;
|
|
71389
71388
|
return g + v;
|
|
71390
71389
|
} catch (t) {
|
|
71391
71390
|
return 1 / 0;
|
|
@@ -71418,16 +71417,16 @@
|
|
|
71418
71417
|
dimension: l,
|
|
71419
71418
|
moduleSize: c
|
|
71420
71419
|
};
|
|
71421
|
-
}(a, o, c, t)).dimension,
|
|
71420
|
+
}(a, o, c, t)).dimension, f = d.moduleSize;
|
|
71422
71421
|
} catch (t) {
|
|
71423
71422
|
return null;
|
|
71424
71423
|
}
|
|
71425
|
-
var d, u,
|
|
71424
|
+
var d, u, f, p = {
|
|
71426
71425
|
x: o.x - a.x + c.x,
|
|
71427
71426
|
y: o.y - a.y + c.y
|
|
71428
|
-
}, h = (n(a, c) + n(a, o)) / 2 /
|
|
71429
|
-
x: a.x + m * (
|
|
71430
|
-
y: a.y + m * (
|
|
71427
|
+
}, h = (n(a, c) + n(a, o)) / 2 / f, m = 1 - 3 / h, g = {
|
|
71428
|
+
x: a.x + m * (p.x - a.x),
|
|
71429
|
+
y: a.y + m * (p.y - a.y)
|
|
71431
71430
|
}, b = r.map(function(r) {
|
|
71432
71431
|
var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
|
|
71433
71432
|
if (t.get(Math.floor(o), Math.floor(a))) {
|
|
@@ -71465,7 +71464,7 @@
|
|
|
71465
71464
|
};
|
|
71466
71465
|
}
|
|
71467
71466
|
r.locate = function(t) {
|
|
71468
|
-
for(var r, o, a, s, c,
|
|
71467
|
+
for(var r, o, a, s, c, f, p, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
|
|
71469
71468
|
for(var o = 0, n = !1, a = [
|
|
71470
71469
|
0,
|
|
71471
71470
|
0,
|
|
@@ -71483,21 +71482,21 @@
|
|
|
71483
71482
|
a[4],
|
|
71484
71483
|
o
|
|
71485
71484
|
], o = 1, n = c;
|
|
71486
|
-
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,
|
|
71485
|
+
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;
|
|
71487
71486
|
if (d) {
|
|
71488
|
-
var
|
|
71487
|
+
var p = s - a[3] - a[4], h = p - a[2], m = {
|
|
71489
71488
|
startX: h,
|
|
71490
|
-
endX:
|
|
71489
|
+
endX: p,
|
|
71491
71490
|
y: r
|
|
71492
71491
|
}, g = y.filter(function(t) {
|
|
71493
|
-
return h >= t.bottom.startX && h <= t.bottom.endX ||
|
|
71492
|
+
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;
|
|
71494
71493
|
});
|
|
71495
71494
|
g.length > 0 ? g[0].bottom = m : y.push({
|
|
71496
71495
|
top: m,
|
|
71497
71496
|
bottom: m
|
|
71498
71497
|
});
|
|
71499
71498
|
}
|
|
71500
|
-
if (
|
|
71499
|
+
if (f) {
|
|
71501
71500
|
var b = s - a[4], v = b - a[3], m = {
|
|
71502
71501
|
startX: v,
|
|
71503
71502
|
y: r,
|
|
@@ -71591,14 +71590,14 @@
|
|
|
71591
71590
|
r,
|
|
71592
71591
|
o,
|
|
71593
71592
|
a
|
|
71594
|
-
])[0], m = c[1], g = c[2]) : (h = (
|
|
71593
|
+
])[0], m = c[1], g = c[2]) : (h = (f = [
|
|
71595
71594
|
r,
|
|
71596
71595
|
a,
|
|
71597
71596
|
o
|
|
71598
|
-
])[0], m =
|
|
71597
|
+
])[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 = [
|
|
71599
71598
|
g,
|
|
71600
71599
|
h
|
|
71601
|
-
])[0], g =
|
|
71600
|
+
])[0], g = p[1]), {
|
|
71602
71601
|
bottomLeft: h,
|
|
71603
71602
|
topLeft: m,
|
|
71604
71603
|
topRight: g
|
|
@@ -71765,6 +71764,15 @@
|
|
|
71765
71764
|
text-align: center;
|
|
71766
71765
|
font-size: 20px;
|
|
71767
71766
|
font-weight: 600;
|
|
71767
|
+
`; dt$1.div`
|
|
71768
|
+
width: 100%;
|
|
71769
|
+
height: 100%;
|
|
71770
|
+
opacity: ${({ $showChildren: t })=>+!!t};
|
|
71771
|
+
`;
|
|
71772
|
+
dt$1.div`
|
|
71773
|
+
text-align: center;
|
|
71774
|
+
font-size: 20px;
|
|
71775
|
+
font-weight: 600;
|
|
71768
71776
|
`; dt$1.div`
|
|
71769
71777
|
width: 100%;
|
|
71770
71778
|
height: 100%;
|
|
@@ -71772,7 +71780,7 @@
|
|
|
71772
71780
|
`;
|
|
71773
71781
|
({
|
|
71774
71782
|
onOrientationChange: PropTypes.func,
|
|
71775
|
-
|
|
71783
|
+
unmountOnHidden: PropTypes.bool
|
|
71776
71784
|
});
|
|
71777
71785
|
({
|
|
71778
71786
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -71790,16 +71798,16 @@
|
|
|
71790
71798
|
scannerTypeCons: PropTypes.shape({}).isRequired,
|
|
71791
71799
|
customTexts: PropTypes.shape({})
|
|
71792
71800
|
});
|
|
71793
|
-
let { IDCardSide:
|
|
71794
|
-
iI.ID_CARD, ra$1.IDCardSide.FRONT,
|
|
71795
|
-
let
|
|
71801
|
+
let { IDCardSide: sU, IDCardType: sq, Errors: sQ } = ra$1;
|
|
71802
|
+
iI.ID_CARD, ra$1.IDCardSide.FRONT, sq.VN, iI.ID_CARD, ra$1.IDCardSide.BACK, sq.VN, iI.QR_CODE;
|
|
71803
|
+
let sX = [
|
|
71796
71804
|
{
|
|
71797
71805
|
scannerType: iI.ID_CARD,
|
|
71798
71806
|
title: "Chụp mặt trước",
|
|
71799
71807
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71800
71808
|
titleIcon: "id_card_front.svg",
|
|
71801
71809
|
cardSide: ra$1.IDCardSide.FRONT,
|
|
71802
|
-
cardType:
|
|
71810
|
+
cardType: sq.VN,
|
|
71803
71811
|
enableConfirmPopup: !1
|
|
71804
71812
|
},
|
|
71805
71813
|
{
|
|
@@ -71808,25 +71816,25 @@
|
|
|
71808
71816
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71809
71817
|
titleIcon: "id_card_back.svg",
|
|
71810
71818
|
cardSide: ra$1.IDCardSide.BACK,
|
|
71811
|
-
cardType:
|
|
71819
|
+
cardType: sq.VN,
|
|
71812
71820
|
enableConfirmPopup: !1
|
|
71813
71821
|
}
|
|
71814
71822
|
];
|
|
71815
|
-
function
|
|
71816
|
-
if (rh) return
|
|
71823
|
+
function sH() {
|
|
71824
|
+
if (rh) return rp;
|
|
71817
71825
|
rh = 1;
|
|
71818
71826
|
var t = o9();
|
|
71819
|
-
return
|
|
71827
|
+
return rp = function() {
|
|
71820
71828
|
try {
|
|
71821
71829
|
var r = t(Object, "defineProperty");
|
|
71822
71830
|
return r({}, "", {}), r;
|
|
71823
71831
|
} catch (t) {}
|
|
71824
71832
|
}();
|
|
71825
71833
|
}
|
|
71826
|
-
function
|
|
71834
|
+
function sG() {
|
|
71827
71835
|
if (rg) return rm;
|
|
71828
71836
|
rg = 1;
|
|
71829
|
-
var t =
|
|
71837
|
+
var t = sH();
|
|
71830
71838
|
return rm = function(r, o, n) {
|
|
71831
71839
|
"__proto__" == o && t ? t(r, o, {
|
|
71832
71840
|
configurable: !0,
|
|
@@ -71836,26 +71844,26 @@
|
|
|
71836
71844
|
}) : r[o] = n;
|
|
71837
71845
|
};
|
|
71838
71846
|
}
|
|
71839
|
-
function
|
|
71847
|
+
function sZ() {
|
|
71840
71848
|
if (rv) return rb;
|
|
71841
71849
|
rv = 1;
|
|
71842
|
-
var t =
|
|
71850
|
+
var t = sG(), r = o7();
|
|
71843
71851
|
return rb = function(o, n, i) {
|
|
71844
71852
|
(void 0 === i || r(o[n], i)) && (void 0 !== i || n in o) || t(o, n, i);
|
|
71845
71853
|
};
|
|
71846
71854
|
}
|
|
71847
|
-
var
|
|
71855
|
+
var sK = {
|
|
71848
71856
|
exports: {}
|
|
71849
71857
|
};
|
|
71850
|
-
|
|
71851
|
-
function
|
|
71858
|
+
sK.exports;
|
|
71859
|
+
function sY() {
|
|
71852
71860
|
return rR ? rA : (rR = 1, rA = (rM ? rO : (rM = 1, rO = function(t, r) {
|
|
71853
71861
|
return function(o) {
|
|
71854
71862
|
return t(r(o));
|
|
71855
71863
|
};
|
|
71856
71864
|
}))(Object.getPrototypeOf, Object));
|
|
71857
71865
|
}
|
|
71858
|
-
function
|
|
71866
|
+
function sJ() {
|
|
71859
71867
|
if (rF) return rL;
|
|
71860
71868
|
rF = 1;
|
|
71861
71869
|
var t = Object.prototype;
|
|
@@ -71864,7 +71872,7 @@
|
|
|
71864
71872
|
return r === ("function" == typeof o && o.prototype || t);
|
|
71865
71873
|
};
|
|
71866
71874
|
}
|
|
71867
|
-
function
|
|
71875
|
+
function s3() {
|
|
71868
71876
|
if (rq) return rU;
|
|
71869
71877
|
rq = 1;
|
|
71870
71878
|
var t = function() {
|
|
@@ -71881,41 +71889,41 @@
|
|
|
71881
71889
|
return r(t) && n.call(t, "callee") && !i.call(t, "callee");
|
|
71882
71890
|
};
|
|
71883
71891
|
}
|
|
71884
|
-
function
|
|
71892
|
+
function s2() {
|
|
71885
71893
|
return rX ? rQ : (rX = 1, rQ = function(t) {
|
|
71886
71894
|
return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 0x1fffffffffffff;
|
|
71887
71895
|
});
|
|
71888
71896
|
}
|
|
71889
|
-
function
|
|
71897
|
+
function s5() {
|
|
71890
71898
|
if (rG) return rH;
|
|
71891
71899
|
rG = 1;
|
|
71892
|
-
var t = o8(), r =
|
|
71900
|
+
var t = o8(), r = s2();
|
|
71893
71901
|
return rH = function(o) {
|
|
71894
71902
|
return null != o && r(o.length) && !t(o);
|
|
71895
71903
|
};
|
|
71896
71904
|
}
|
|
71897
|
-
var
|
|
71905
|
+
var s0 = {
|
|
71898
71906
|
exports: {}
|
|
71899
71907
|
};
|
|
71900
|
-
function
|
|
71908
|
+
function s1() {
|
|
71901
71909
|
var t, r, o, n, i, a, s, c;
|
|
71902
|
-
if (r3) return
|
|
71903
|
-
return r3 = 1, t =
|
|
71910
|
+
if (r3) return s0.exports;
|
|
71911
|
+
return r3 = 1, t = s0, r = s0.exports, o = oJ(), n = rJ ? rY : (rJ = 1, rY = function() {
|
|
71904
71912
|
return !1;
|
|
71905
|
-
}), 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,
|
|
71913
|
+
}), 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;
|
|
71906
71914
|
}
|
|
71907
|
-
|
|
71908
|
-
var
|
|
71915
|
+
s0.exports;
|
|
71916
|
+
var s8 = {
|
|
71909
71917
|
exports: {}
|
|
71910
71918
|
};
|
|
71911
|
-
|
|
71912
|
-
function
|
|
71919
|
+
s8.exports;
|
|
71920
|
+
function s9() {
|
|
71913
71921
|
if (r6) return r7;
|
|
71914
71922
|
r6 = 1;
|
|
71915
71923
|
var t = function() {
|
|
71916
71924
|
if (r1) return r0;
|
|
71917
71925
|
r1 = 1;
|
|
71918
|
-
var t = o2(), r =
|
|
71926
|
+
var t = o2(), r = s2(), o = o5(), n = {};
|
|
71919
71927
|
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) {
|
|
71920
71928
|
return o(i) && r(i.length) && !!n[t(i)];
|
|
71921
71929
|
};
|
|
@@ -71925,25 +71933,25 @@
|
|
|
71925
71933
|
};
|
|
71926
71934
|
}), o = function() {
|
|
71927
71935
|
var t, r, o, n, i, a;
|
|
71928
|
-
if (r4) return
|
|
71929
|
-
return r4 = 1, t =
|
|
71936
|
+
if (r4) return s8.exports;
|
|
71937
|
+
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() {
|
|
71930
71938
|
try {
|
|
71931
71939
|
var t = i && i.require && i.require("util").types;
|
|
71932
71940
|
if (t) return t;
|
|
71933
71941
|
return a && a.binding && a.binding("util");
|
|
71934
71942
|
} catch (t) {}
|
|
71935
|
-
}(),
|
|
71943
|
+
}(), s8.exports;
|
|
71936
71944
|
}(), n = o && o.isTypedArray;
|
|
71937
71945
|
return r7 = n ? r(n) : t;
|
|
71938
71946
|
}
|
|
71939
|
-
function
|
|
71947
|
+
function s4() {
|
|
71940
71948
|
return ot ? oe : (ot = 1, oe = function(t, r) {
|
|
71941
71949
|
if ("constructor" !== r || "function" != typeof t[r]) {
|
|
71942
71950
|
if ("__proto__" != r) return t[r];
|
|
71943
71951
|
}
|
|
71944
71952
|
});
|
|
71945
71953
|
}
|
|
71946
|
-
function
|
|
71954
|
+
function s7() {
|
|
71947
71955
|
if (ol) return oc;
|
|
71948
71956
|
ol = 1;
|
|
71949
71957
|
var t = /^(?:0|[1-9]\d*)$/;
|
|
@@ -71952,7 +71960,7 @@
|
|
|
71952
71960
|
return !!(o = null == o ? 0x1fffffffffffff : o) && ("number" == n || "symbol" != n && t.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
71953
71961
|
};
|
|
71954
71962
|
}
|
|
71955
|
-
function
|
|
71963
|
+
function s6() {
|
|
71956
71964
|
if (ob) return og;
|
|
71957
71965
|
ob = 1;
|
|
71958
71966
|
var t = function() {
|
|
@@ -71961,16 +71969,16 @@
|
|
|
71961
71969
|
var t = os ? oa : (os = 1, oa = function(t, r) {
|
|
71962
71970
|
for(var o = -1, n = Array(t); ++o < t;)n[o] = r(o);
|
|
71963
71971
|
return n;
|
|
71964
|
-
}), r =
|
|
71972
|
+
}), r = s3(), o = oK(), n = s1(), i = s7(), a = s9(), s = Object.prototype.hasOwnProperty;
|
|
71965
71973
|
return od = function(c, l) {
|
|
71966
|
-
var d = o(c), u = !d && r(c),
|
|
71967
|
-
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b ||
|
|
71974
|
+
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;
|
|
71975
|
+
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);
|
|
71968
71976
|
return m;
|
|
71969
71977
|
};
|
|
71970
71978
|
}(), r = function() {
|
|
71971
71979
|
if (om) return oh;
|
|
71972
71980
|
om = 1;
|
|
71973
|
-
var t = o1(), r =
|
|
71981
|
+
var t = o1(), r = sJ(), o = op ? of : (op = 1, of = function(t) {
|
|
71974
71982
|
var r = [];
|
|
71975
71983
|
if (null != t) for(var o in Object(t))r.push(o);
|
|
71976
71984
|
return r;
|
|
@@ -71981,12 +71989,12 @@
|
|
|
71981
71989
|
for(var c in i)"constructor" == c && (a || !n.call(i, c)) || s.push(c);
|
|
71982
71990
|
return s;
|
|
71983
71991
|
};
|
|
71984
|
-
}(), o =
|
|
71992
|
+
}(), o = s5();
|
|
71985
71993
|
return og = function(n) {
|
|
71986
71994
|
return o(n) ? t(n, !0) : r(n);
|
|
71987
71995
|
};
|
|
71988
71996
|
}
|
|
71989
|
-
function
|
|
71997
|
+
function ce() {
|
|
71990
71998
|
return ox ? o_ : (ox = 1, o_ = function(t) {
|
|
71991
71999
|
return t;
|
|
71992
72000
|
});
|
|
@@ -71998,8 +72006,8 @@
|
|
|
71998
72006
|
if (oB) return oC;
|
|
71999
72007
|
oB = 1;
|
|
72000
72008
|
var t = function() {
|
|
72001
|
-
if (
|
|
72002
|
-
|
|
72009
|
+
if (rf) return ru;
|
|
72010
|
+
rf = 1;
|
|
72003
72011
|
var t = ne(), r = function() {
|
|
72004
72012
|
if (rr) return rt;
|
|
72005
72013
|
rr = 1;
|
|
@@ -72036,7 +72044,7 @@
|
|
|
72036
72044
|
this.size = o.size;
|
|
72037
72045
|
}
|
|
72038
72046
|
return s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = n, s.prototype.has = i, s.prototype.set = a, ru = s;
|
|
72039
|
-
}(), r =
|
|
72047
|
+
}(), r = sZ(), o = rC ? ry : (rC = 1, ry = (rk ? rw : (rk = 1, rw = function(t) {
|
|
72040
72048
|
return function(r, o, n) {
|
|
72041
72049
|
for(var i = -1, a = Object(r), s = n(r), c = s.length; c--;){
|
|
72042
72050
|
var l = s[t ? c : ++i];
|
|
@@ -72047,14 +72055,14 @@
|
|
|
72047
72055
|
}))()), n = function() {
|
|
72048
72056
|
if (oy) return ok;
|
|
72049
72057
|
oy = 1;
|
|
72050
|
-
var t =
|
|
72058
|
+
var t = sZ(), r = function() {
|
|
72051
72059
|
var t, r, o, n, i, a, s;
|
|
72052
|
-
if (rB) return
|
|
72053
|
-
return rB = 1, t =
|
|
72060
|
+
if (rB) return sK.exports;
|
|
72061
|
+
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) {
|
|
72054
72062
|
if (r) return t.slice();
|
|
72055
72063
|
var o = t.length, n = s ? s(o) : new t.constructor(o);
|
|
72056
72064
|
return t.copy(n), n;
|
|
72057
|
-
},
|
|
72065
|
+
}, sK.exports;
|
|
72058
72066
|
}(), o = function() {
|
|
72059
72067
|
if (rT) return rE;
|
|
72060
72068
|
rT = 1;
|
|
@@ -72092,21 +72100,21 @@
|
|
|
72092
72100
|
return o.prototype = void 0, i;
|
|
72093
72101
|
};
|
|
72094
72102
|
}();
|
|
72095
|
-
}(), r =
|
|
72103
|
+
}(), r = sY(), o = sJ();
|
|
72096
72104
|
return rN = function(n) {
|
|
72097
72105
|
return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
|
|
72098
72106
|
};
|
|
72099
|
-
}(), a =
|
|
72107
|
+
}(), a = s3(), s = oK(), c = function() {
|
|
72100
72108
|
if (rK) return rZ;
|
|
72101
72109
|
rK = 1;
|
|
72102
|
-
var t =
|
|
72110
|
+
var t = s5(), r = o5();
|
|
72103
72111
|
return rZ = function(o) {
|
|
72104
72112
|
return r(o) && t(o);
|
|
72105
72113
|
};
|
|
72106
|
-
}(), l =
|
|
72114
|
+
}(), l = s1(), d = o8(), u = o1(), f = function() {
|
|
72107
72115
|
if (r5) return r2;
|
|
72108
72116
|
r5 = 1;
|
|
72109
|
-
var t = o2(), r =
|
|
72117
|
+
var t = o2(), r = sY(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
|
|
72110
72118
|
return r2 = function(n) {
|
|
72111
72119
|
if (!o(n) || "[object Object]" != t(n)) return !1;
|
|
72112
72120
|
var c = r(n);
|
|
@@ -72114,7 +72122,7 @@
|
|
|
72114
72122
|
var l = a.call(c, "constructor") && c.constructor;
|
|
72115
72123
|
return "function" == typeof l && l instanceof l && i.call(l) == s;
|
|
72116
72124
|
};
|
|
72117
|
-
}(),
|
|
72125
|
+
}(), p = s9(), h = s4(), m = function() {
|
|
72118
72126
|
if (ow) return ov;
|
|
72119
72127
|
ow = 1;
|
|
72120
72128
|
var t = function() {
|
|
@@ -72123,12 +72131,12 @@
|
|
|
72123
72131
|
var t = function() {
|
|
72124
72132
|
if (oo) return or;
|
|
72125
72133
|
oo = 1;
|
|
72126
|
-
var t =
|
|
72134
|
+
var t = sG(), r = o7(), o = Object.prototype.hasOwnProperty;
|
|
72127
72135
|
return or = function(n, i, a) {
|
|
72128
72136
|
var s = n[i];
|
|
72129
72137
|
o.call(n, i) && r(s, a) && (void 0 !== a || i in n) || t(n, i, a);
|
|
72130
72138
|
};
|
|
72131
|
-
}(), r =
|
|
72139
|
+
}(), r = sG();
|
|
72132
72140
|
return on = function(o, n, i, a) {
|
|
72133
72141
|
var s = !i;
|
|
72134
72142
|
i || (i = {});
|
|
@@ -72138,7 +72146,7 @@
|
|
|
72138
72146
|
}
|
|
72139
72147
|
return i;
|
|
72140
72148
|
};
|
|
72141
|
-
}(), r =
|
|
72149
|
+
}(), r = s6();
|
|
72142
72150
|
return ov = function(o) {
|
|
72143
72151
|
return t(o, r(o));
|
|
72144
72152
|
};
|
|
@@ -72148,17 +72156,17 @@
|
|
|
72148
72156
|
if (x) return void t(g, v, x);
|
|
72149
72157
|
var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
|
|
72150
72158
|
if (S) {
|
|
72151
|
-
var E = s(_), T = !E && l(_), D = !E && !T &&
|
|
72152
|
-
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 = [] :
|
|
72159
|
+
var E = s(_), T = !E && l(_), D = !E && !T && p(_);
|
|
72160
|
+
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;
|
|
72153
72161
|
}
|
|
72154
72162
|
S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
|
|
72155
72163
|
};
|
|
72156
|
-
}(), i = o1(), a =
|
|
72157
|
-
return oC = function c(l, d, u,
|
|
72164
|
+
}(), i = o1(), a = s6(), s = s4();
|
|
72165
|
+
return oC = function c(l, d, u, f, p) {
|
|
72158
72166
|
l !== d && o(d, function(o, a) {
|
|
72159
|
-
if (
|
|
72167
|
+
if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
|
|
72160
72168
|
else {
|
|
72161
|
-
var h =
|
|
72169
|
+
var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
|
|
72162
72170
|
void 0 === h && (h = o), r(l, a, h);
|
|
72163
72171
|
}
|
|
72164
72172
|
}, a);
|
|
@@ -72170,7 +72178,7 @@
|
|
|
72170
72178
|
var t = function() {
|
|
72171
72179
|
if (oF) return oL;
|
|
72172
72180
|
oF = 1;
|
|
72173
|
-
var t =
|
|
72181
|
+
var t = ce(), r = function() {
|
|
72174
72182
|
if (oT) return oE;
|
|
72175
72183
|
oT = 1;
|
|
72176
72184
|
var t = oS ? oP : (oS = 1, oP = function(t, r, o) {
|
|
@@ -72204,7 +72212,7 @@
|
|
|
72204
72212
|
return function() {
|
|
72205
72213
|
return t;
|
|
72206
72214
|
};
|
|
72207
|
-
}), r =
|
|
72215
|
+
}), r = sH(), o = ce();
|
|
72208
72216
|
return oj = r ? function(o, n) {
|
|
72209
72217
|
return r(o, "toString", {
|
|
72210
72218
|
configurable: !0,
|
|
@@ -72236,7 +72244,7 @@
|
|
|
72236
72244
|
}(), r = function() {
|
|
72237
72245
|
if (oz) return oN;
|
|
72238
72246
|
oz = 1;
|
|
72239
|
-
var t = o7(), r =
|
|
72247
|
+
var t = o7(), r = s5(), o = s7(), n = o1();
|
|
72240
72248
|
return oN = function(i, a, s) {
|
|
72241
72249
|
if (!n(s)) return !1;
|
|
72242
72250
|
var c = typeof a;
|
|
@@ -72257,7 +72265,7 @@
|
|
|
72257
72265
|
t(r, o, n);
|
|
72258
72266
|
});
|
|
72259
72267
|
}();
|
|
72260
|
-
let
|
|
72268
|
+
let ct = {
|
|
72261
72269
|
data: {
|
|
72262
72270
|
country: "vn",
|
|
72263
72271
|
settings: {
|
|
@@ -72408,12 +72416,12 @@
|
|
|
72408
72416
|
}
|
|
72409
72417
|
}
|
|
72410
72418
|
};
|
|
72411
|
-
let { DesignToken:
|
|
72412
|
-
|
|
72413
|
-
let { DesignToken:
|
|
72414
|
-
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary,
|
|
72415
|
-
let { DesignToken:
|
|
72416
|
-
|
|
72419
|
+
let { DesignToken: cr } = ra$1;
|
|
72420
|
+
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"];
|
|
72421
|
+
let { DesignToken: co } = ra$1;
|
|
72422
|
+
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;
|
|
72423
|
+
let { DesignToken: cn } = ra$1;
|
|
72424
|
+
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({
|
|
72417
72425
|
scannerType: PropTypes.string
|
|
72418
72426
|
})), PropTypes.func, PropTypes.shape({}), PropTypes.string, PropTypes.bool, PropTypes.arrayOf(PropTypes.string), PropTypes.shape({});
|
|
72419
72427
|
|
|
@@ -86959,7 +86967,7 @@
|
|
|
86959
86967
|
table-layout: auto;
|
|
86960
86968
|
border-collapse: collapse;
|
|
86961
86969
|
`;
|
|
86962
|
-
const ChildrenWrapper$
|
|
86970
|
+
const ChildrenWrapper$2 = dt$1.div`
|
|
86963
86971
|
position: relative;
|
|
86964
86972
|
`;
|
|
86965
86973
|
const rows = Array.from(Array(3).keys());
|
|
@@ -86991,7 +86999,7 @@
|
|
|
86991
86999
|
height: isCenteredCell ? height : 'auto',
|
|
86992
87000
|
...!isCenteredCell ? surroundStyle : {}
|
|
86993
87001
|
},
|
|
86994
|
-
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$
|
|
87002
|
+
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$2, {
|
|
86995
87003
|
style: {
|
|
86996
87004
|
width: cellWidth,
|
|
86997
87005
|
height
|
|
@@ -88817,6 +88825,97 @@
|
|
|
88817
88825
|
};
|
|
88818
88826
|
};
|
|
88819
88827
|
|
|
88828
|
+
/**
|
|
88829
|
+
* Custom hook to delay rendering when transitioning from hidden to visible state.
|
|
88830
|
+
* Useful for waiting for browser dimension updates after orientation changes.
|
|
88831
|
+
*
|
|
88832
|
+
* @param params - Hook parameters
|
|
88833
|
+
* @param params.isVisible - Whether the component is currently visible
|
|
88834
|
+
* @param params.enableDelay - Whether to apply delay logic for show transitions
|
|
88835
|
+
* @param params.delayMs - Delay in milliseconds before showing (default: 500)
|
|
88836
|
+
* @returns Delayed visibility state
|
|
88837
|
+
*/ function useDelayedRender({ isVisible, enableDelay, delayMs = 500 }) {
|
|
88838
|
+
const [isVisibleDelayed, setIsVisibleDelayed] = reactExports.useState(isVisible);
|
|
88839
|
+
const prevIsVisibleRef = reactExports.useRef(isVisible);
|
|
88840
|
+
const timeoutRef = reactExports.useRef(null);
|
|
88841
|
+
reactExports.useEffect(()=>{
|
|
88842
|
+
const prevIsVisible = prevIsVisibleRef.current;
|
|
88843
|
+
// When delay is disabled, always sync immediately
|
|
88844
|
+
if (!enableDelay) {
|
|
88845
|
+
setIsVisibleDelayed(isVisible);
|
|
88846
|
+
prevIsVisibleRef.current = isVisible;
|
|
88847
|
+
return undefined;
|
|
88848
|
+
}
|
|
88849
|
+
// Handle transitions when delay is enabled
|
|
88850
|
+
const isTransitionToShow = !prevIsVisible && isVisible;
|
|
88851
|
+
const isTransitionToHide = prevIsVisible && !isVisible;
|
|
88852
|
+
if (isTransitionToShow) {
|
|
88853
|
+
// Delay showing when transitioning from hidden to visible
|
|
88854
|
+
timeoutRef.current = setTimeout(()=>{
|
|
88855
|
+
setIsVisibleDelayed(true);
|
|
88856
|
+
}, delayMs);
|
|
88857
|
+
} else if (isTransitionToHide) {
|
|
88858
|
+
// Immediately hide and cancel pending show
|
|
88859
|
+
if (timeoutRef.current) {
|
|
88860
|
+
clearTimeout(timeoutRef.current);
|
|
88861
|
+
timeoutRef.current = null;
|
|
88862
|
+
}
|
|
88863
|
+
setIsVisibleDelayed(false);
|
|
88864
|
+
}
|
|
88865
|
+
prevIsVisibleRef.current = isVisible;
|
|
88866
|
+
return ()=>{
|
|
88867
|
+
if (timeoutRef.current) {
|
|
88868
|
+
clearTimeout(timeoutRef.current);
|
|
88869
|
+
}
|
|
88870
|
+
};
|
|
88871
|
+
}, [
|
|
88872
|
+
isVisible,
|
|
88873
|
+
enableDelay,
|
|
88874
|
+
delayMs
|
|
88875
|
+
]);
|
|
88876
|
+
return isVisibleDelayed;
|
|
88877
|
+
}
|
|
88878
|
+
|
|
88879
|
+
const PopupContent$1 = dt$1.div`
|
|
88880
|
+
text-align: center;
|
|
88881
|
+
font-size: 20px;
|
|
88882
|
+
font-weight: 600;
|
|
88883
|
+
`;
|
|
88884
|
+
const ChildrenWrapper$1 = dt$1.div`
|
|
88885
|
+
width: 100%;
|
|
88886
|
+
height: 100%;
|
|
88887
|
+
opacity: ${({ $showChildren })=>$showChildren ? 1 : 0};
|
|
88888
|
+
`;
|
|
88889
|
+
const defaultPreferredOrientations = [
|
|
88890
|
+
MODE.PORTRAIT,
|
|
88891
|
+
MODE.DESKTOP
|
|
88892
|
+
];
|
|
88893
|
+
function OrientationDetectionV2({ onOrientationChange = noop$1, unmountOnHidden = false, remountDelayMs = 500, preferredOrientations = defaultPreferredOrientations, children }) {
|
|
88894
|
+
const t = gB();
|
|
88895
|
+
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88896
|
+
const hasCorrectOrientation = preferredOrientations.includes(curOrientation);
|
|
88897
|
+
const isVisible = useDelayedRender({
|
|
88898
|
+
isVisible: hasCorrectOrientation,
|
|
88899
|
+
enableDelay: unmountOnHidden,
|
|
88900
|
+
delayMs: remountDelayMs
|
|
88901
|
+
});
|
|
88902
|
+
const shouldMountChildrenOnDom = unmountOnHidden ? isVisible : true;
|
|
88903
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
88904
|
+
children: [
|
|
88905
|
+
!preferredOrientations.includes(curOrientation) && /*#__PURE__*/ jsxRuntimeExports.jsx(PopupComponent, {
|
|
88906
|
+
open: true,
|
|
88907
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(PopupContent$1, {
|
|
88908
|
+
children: t('wrong_orientation')
|
|
88909
|
+
})
|
|
88910
|
+
}),
|
|
88911
|
+
shouldMountChildrenOnDom && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$1, {
|
|
88912
|
+
$showChildren: hasCorrectOrientation,
|
|
88913
|
+
children: children
|
|
88914
|
+
})
|
|
88915
|
+
]
|
|
88916
|
+
});
|
|
88917
|
+
}
|
|
88918
|
+
|
|
88820
88919
|
const PopupContent = dt$1.div`
|
|
88821
88920
|
text-align: center;
|
|
88822
88921
|
font-size: 20px;
|
|
@@ -88828,7 +88927,7 @@
|
|
|
88828
88927
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88829
88928
|
`;
|
|
88830
88929
|
// eslint-disable-next-line react/require-default-props
|
|
88831
|
-
function
|
|
88930
|
+
function OrientationDetectionV1({ onOrientationChange, unmountOnHidden, children }) {
|
|
88832
88931
|
const t = gB();
|
|
88833
88932
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88834
88933
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88840,22 +88939,35 @@
|
|
|
88840
88939
|
children: t('wrong_orientation')
|
|
88841
88940
|
})
|
|
88842
88941
|
}),
|
|
88843
|
-
(
|
|
88942
|
+
(unmountOnHidden ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88844
88943
|
showChildren: shouldShowChildren,
|
|
88845
88944
|
children: children
|
|
88846
88945
|
})
|
|
88847
88946
|
]
|
|
88848
88947
|
});
|
|
88849
88948
|
}
|
|
88850
|
-
|
|
88949
|
+
OrientationDetectionV1.defaultProps = {
|
|
88851
88950
|
onOrientationChange: ()=>{},
|
|
88852
|
-
|
|
88951
|
+
unmountOnHidden: false
|
|
88853
88952
|
};
|
|
88854
|
-
|
|
88953
|
+
OrientationDetectionV1.propTypes = {
|
|
88855
88954
|
onOrientationChange: PropTypes.func,
|
|
88856
|
-
|
|
88955
|
+
unmountOnHidden: PropTypes.bool
|
|
88857
88956
|
};
|
|
88858
88957
|
|
|
88958
|
+
function OrientationDetection({ version = 'v1', children, ...rest }) {
|
|
88959
|
+
if (version === 'v2') {
|
|
88960
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV2, {
|
|
88961
|
+
...rest,
|
|
88962
|
+
children: children
|
|
88963
|
+
});
|
|
88964
|
+
}
|
|
88965
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV1, {
|
|
88966
|
+
...rest,
|
|
88967
|
+
children: children
|
|
88968
|
+
});
|
|
88969
|
+
}
|
|
88970
|
+
|
|
88859
88971
|
const useEkycSession = ()=>{
|
|
88860
88972
|
const [sessionId, setSessionId] = reactExports.useState(Date.now());
|
|
88861
88973
|
const updateSessionId = reactExports.useCallback(()=>{
|
|
@@ -89075,7 +89187,7 @@
|
|
|
89075
89187
|
width: 6px;
|
|
89076
89188
|
height: 6px;
|
|
89077
89189
|
border-radius: 50%;
|
|
89078
|
-
background-color: ${getTheme('FlashLiveness.progressBar.
|
|
89190
|
+
background-color: ${getTheme('FlashLiveness.progressBar.textColor')};
|
|
89079
89191
|
margin-right: 5px;
|
|
89080
89192
|
margin-bottom: 2px;
|
|
89081
89193
|
}
|
|
@@ -115498,7 +115610,8 @@
|
|
|
115498
115610
|
function ReadIDCardUIOnly(props) {
|
|
115499
115611
|
const { steps = defaultTCBReadIDCardSteps } = props;
|
|
115500
115612
|
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetection, {
|
|
115501
|
-
|
|
115613
|
+
version: "v2",
|
|
115614
|
+
unmountOnHidden: true,
|
|
115502
115615
|
children: /*#__PURE__*/ jsxRuntimeExports.jsx(ReadIDCardUIOnly$2, {
|
|
115503
115616
|
...props,
|
|
115504
115617
|
uiOnlyComponent: ReadIDCardUIOnly$1,
|
|
@@ -116243,7 +116356,7 @@
|
|
|
116243
116356
|
display: ${f0.getTheme('closeButton.display')};
|
|
116244
116357
|
`;
|
|
116245
116358
|
|
|
116246
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/5.34.
|
|
116359
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/5.34.3/assets";
|
|
116247
116360
|
class TVWebSDK extends gU {
|
|
116248
116361
|
constructor(props){
|
|
116249
116362
|
super({
|
|
@@ -116306,8 +116419,8 @@
|
|
|
116306
116419
|
exports.SDK = TVWebSDK;
|
|
116307
116420
|
exports.SDKAdapter = gV;
|
|
116308
116421
|
exports.ScannerType = iI;
|
|
116309
|
-
exports.defaultClientSettings =
|
|
116310
|
-
exports.defaultReadIDCardSteps =
|
|
116422
|
+
exports.defaultClientSettings = ct;
|
|
116423
|
+
exports.defaultReadIDCardSteps = sX;
|
|
116311
116424
|
exports.getSDKVersion = nB$1;
|
|
116312
116425
|
|
|
116313
116426
|
}));
|