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