@tsocial/tvweb-sdk.nbcci 0.0.0-beta.20260102-120556 → 0.0.0-beta.20260106-111700
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15996,7 +15996,7 @@
|
|
|
15996
15996
|
strokeWidth: 1
|
|
15997
15997
|
};
|
|
15998
15998
|
|
|
15999
|
-
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y$1="data-styled-version",v$1="6.1.12",g$1="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$1(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$1(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$1(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$1(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he$1(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g$1);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g$1),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he$1(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g$1);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he$1(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he$1(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$1(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$1(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$1(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$1(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he$1(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he$1(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he$1(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$1=new Set;function it$2(e,r,s){var i=se$1(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$1.has(b)||!A$1.has(S)||(st$1.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$1=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$1(t))return ct$1(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$1(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he$1(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
|
|
15999
|
+
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y$1="data-styled-version",v$1="6.1.12",g$1="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$1(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$2(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$2(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$2(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he$1(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g$1);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g$1),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he$1(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g$1);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he$1(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he$1(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$2(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$1(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$2(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$1(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he$1(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he$1(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he$1(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$1=new Set;function it$2(e,r,s){var i=se$1(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$1.has(b)||!A$1.has(S)||(st$1.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$2=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$2(t))return ct$2(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$2(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he$1(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
|
|
16000
16000
|
|
|
16001
16001
|
var reactDom = {exports: {}};
|
|
16002
16002
|
|
|
@@ -18478,8 +18478,8 @@
|
|
|
18478
18478
|
};
|
|
18479
18479
|
}
|
|
18480
18480
|
function r3$1() {
|
|
18481
|
-
if (sN
|
|
18482
|
-
sN
|
|
18481
|
+
if (sN) return sM;
|
|
18482
|
+
sN = 1;
|
|
18483
18483
|
var e = rE$1(), t = rI$1(), r = oI$1 ? oB$1 : (oI$1 = 1, oB$1 = (oA$1 ? oE$1 : (oA$1 = 1, oE$1 = function(e) {
|
|
18484
18484
|
return function(t, r, n) {
|
|
18485
18485
|
for(var i = -1, a = Object(t), o = n(t), s = o.length; s--;){
|
|
@@ -18528,7 +18528,7 @@
|
|
|
18528
18528
|
};
|
|
18529
18529
|
}
|
|
18530
18530
|
function r5$1() {
|
|
18531
|
-
return sD ? sL
|
|
18531
|
+
return sD ? sL : (sD = 1, sL = function(e) {
|
|
18532
18532
|
return e;
|
|
18533
18533
|
});
|
|
18534
18534
|
}
|
|
@@ -18551,8 +18551,8 @@
|
|
|
18551
18551
|
if (sX$1) return sZ$1;
|
|
18552
18552
|
sX$1 = 1;
|
|
18553
18553
|
var e = r5$1(), t = function() {
|
|
18554
|
-
if (sV
|
|
18555
|
-
sV
|
|
18554
|
+
if (sV) return sj;
|
|
18555
|
+
sV = 1;
|
|
18556
18556
|
var e = r6$1(), t = Math.max;
|
|
18557
18557
|
return sj = function(r, n, i) {
|
|
18558
18558
|
return n = t(void 0 === n ? r.length - 1 : n, 0), function() {
|
|
@@ -18563,17 +18563,17 @@
|
|
|
18563
18563
|
};
|
|
18564
18564
|
};
|
|
18565
18565
|
}(), r = function() {
|
|
18566
|
-
if (sW
|
|
18567
|
-
sW
|
|
18566
|
+
if (sW) return sQ$1;
|
|
18567
|
+
sW = 1;
|
|
18568
18568
|
var e = function() {
|
|
18569
|
-
if (sK$1) return sz
|
|
18569
|
+
if (sK$1) return sz;
|
|
18570
18570
|
sK$1 = 1;
|
|
18571
|
-
var e = sq$1 ? sF
|
|
18571
|
+
var e = sq$1 ? sF : (sq$1 = 1, sF = function(e) {
|
|
18572
18572
|
return function() {
|
|
18573
18573
|
return e;
|
|
18574
18574
|
};
|
|
18575
18575
|
}), t = rA$1(), r = r5$1();
|
|
18576
|
-
return sz
|
|
18576
|
+
return sz = t ? function(r, n) {
|
|
18577
18577
|
return t(r, "toString", {
|
|
18578
18578
|
configurable: !0,
|
|
18579
18579
|
enumerable: !1,
|
|
@@ -30664,11 +30664,11 @@
|
|
|
30664
30664
|
}(n);
|
|
30665
30665
|
}
|
|
30666
30666
|
function nm$1() {
|
|
30667
|
-
if (cr) return ct;
|
|
30668
|
-
cr = 1;
|
|
30667
|
+
if (cr$1) return ct$1;
|
|
30668
|
+
cr$1 = 1;
|
|
30669
30669
|
var e = r2$1(), t = function() {
|
|
30670
|
-
if (ce) return s7$1;
|
|
30671
|
-
ce = 1;
|
|
30670
|
+
if (ce$1) return s7$1;
|
|
30671
|
+
ce$1 = 1;
|
|
30672
30672
|
var e = rU$1(), t = s9$1 ? s8$1 : (s9$1 = 1, s8$1 = rD$1()(Object.keys, Object)), r = Object.prototype.hasOwnProperty;
|
|
30673
30673
|
return s7$1 = function(n) {
|
|
30674
30674
|
if (!e(n)) return t(n);
|
|
@@ -30677,7 +30677,7 @@
|
|
|
30677
30677
|
return i;
|
|
30678
30678
|
};
|
|
30679
30679
|
}(), r = rK$1();
|
|
30680
|
-
return ct = function(n) {
|
|
30680
|
+
return ct$1 = function(n) {
|
|
30681
30681
|
return r(n) ? e(n) : t(n);
|
|
30682
30682
|
};
|
|
30683
30683
|
}
|
|
@@ -30781,19 +30781,19 @@
|
|
|
30781
30781
|
var e = function() {
|
|
30782
30782
|
if (c2) return c1;
|
|
30783
30783
|
c2 = 1;
|
|
30784
|
-
var e = rE$1(), t = s6 ? s5$1 : (s6 = 1, s5$1 = function(e, t) {
|
|
30784
|
+
var e = rE$1(), t = s6$1 ? s5$1 : (s6$1 = 1, s5$1 = function(e, t) {
|
|
30785
30785
|
for(var r = -1, n = null == e ? 0 : e.length; ++r < n && !1 !== t(e[r], r, e););
|
|
30786
30786
|
return e;
|
|
30787
30787
|
}), r = rJ$1(), n = function() {
|
|
30788
|
-
if (ci) return cn;
|
|
30788
|
+
if (ci) return cn$1;
|
|
30789
30789
|
ci = 1;
|
|
30790
30790
|
var e = r0$1(), t = nm$1();
|
|
30791
|
-
return cn = function(r, n) {
|
|
30791
|
+
return cn$1 = function(r, n) {
|
|
30792
30792
|
return r && e(n, t(n), r);
|
|
30793
30793
|
};
|
|
30794
30794
|
}(), i = function() {
|
|
30795
|
-
if (co) return ca;
|
|
30796
|
-
co = 1;
|
|
30795
|
+
if (co$1) return ca;
|
|
30796
|
+
co$1 = 1;
|
|
30797
30797
|
var e = r0$1(), t = r4$1();
|
|
30798
30798
|
return ca = function(r, n) {
|
|
30799
30799
|
return r && e(n, t(n), r);
|
|
@@ -33783,7 +33783,7 @@
|
|
|
33783
33783
|
}, nS$1;
|
|
33784
33784
|
}();
|
|
33785
33785
|
function nB$1() {
|
|
33786
|
-
return "0.0.0-beta.
|
|
33786
|
+
return "0.0.0-beta.20260106-111700";
|
|
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,49 +41259,53 @@
|
|
|
41259
41259
|
}, uz;
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
|
-
|
|
41263
|
-
|
|
41264
|
-
|
|
41265
|
-
|
|
41266
|
-
} catch (e) {
|
|
41267
|
-
dy.push(dy.shift());
|
|
41268
|
-
}
|
|
41269
|
-
function db(e, t) {
|
|
41270
|
-
let r = d_();
|
|
41271
|
-
return (db = function(e, t) {
|
|
41272
|
-
return r[e -= 322];
|
|
41262
|
+
function dm(e, t) {
|
|
41263
|
+
let r = dg();
|
|
41264
|
+
return (dm = function(e, t) {
|
|
41265
|
+
return r[e -= 354];
|
|
41273
41266
|
})(e, t);
|
|
41274
41267
|
}
|
|
41275
|
-
|
|
41276
|
-
function d_() {
|
|
41268
|
+
function dg() {
|
|
41277
41269
|
let e = [
|
|
41278
|
-
"DepBO8t60S",
|
|
41279
|
-
"MFkwEwYHKo",
|
|
41280
|
-
"3d02010608",
|
|
41281
|
-
"000",
|
|
41282
|
-
"58448vUqjdj",
|
|
41283
41270
|
"ytJdcsPxrD",
|
|
41284
|
-
"
|
|
41285
|
-
"
|
|
41286
|
-
"
|
|
41287
|
-
"
|
|
41271
|
+
"3325580IJRjfa",
|
|
41272
|
+
"1962rbKEwo",
|
|
41273
|
+
"359892gaKbdX",
|
|
41274
|
+
"DepBO8t60S",
|
|
41288
41275
|
"2a8648ce3d",
|
|
41289
|
-
"
|
|
41276
|
+
"0301070342",
|
|
41277
|
+
"Mjci1ul8mm",
|
|
41290
41278
|
"KA==",
|
|
41291
|
-
"5RrdBRx",
|
|
41292
|
-
"3059301306",
|
|
41293
|
-
"2667084SBxIXU",
|
|
41294
|
-
"567832PhpzhF",
|
|
41295
|
-
"ZIzj0CAQYI",
|
|
41296
41279
|
"KoZIzj0DAQ",
|
|
41297
|
-
"
|
|
41298
|
-
"+faHkP3QC3"
|
|
41280
|
+
"458668Wltqkx",
|
|
41281
|
+
"+faHkP3QC3",
|
|
41282
|
+
"ssRdXLZEX8",
|
|
41283
|
+
"81cVsDSQ",
|
|
41284
|
+
"940nLufso",
|
|
41285
|
+
"2474NuulkO",
|
|
41286
|
+
"000",
|
|
41287
|
+
"9xZGYZu",
|
|
41288
|
+
"MFkwEwYHKo",
|
|
41289
|
+
"35640hpKjQn",
|
|
41290
|
+
"D9EKOWS+U4",
|
|
41291
|
+
"1362880fRAHgM",
|
|
41292
|
+
"44P0rKKsZK",
|
|
41293
|
+
"3d02010608",
|
|
41294
|
+
"ZIzj0CAQYI",
|
|
41295
|
+
"072a8648ce"
|
|
41299
41296
|
];
|
|
41300
|
-
return (
|
|
41297
|
+
return (dg = function() {
|
|
41301
41298
|
return e;
|
|
41302
41299
|
})();
|
|
41303
41300
|
}
|
|
41304
|
-
let
|
|
41301
|
+
let dy = dm, db = dm, dv = dg();
|
|
41302
|
+
for(;;)try {
|
|
41303
|
+
if (parseInt(db(376)) / 1 + parseInt(db(372)) / 2 * (parseInt(db(370)) / 3) + parseInt(db(360)) / 4 + parseInt(db(371)) / 5 * (parseInt(db(359)) / 6) + parseInt(db(367)) / 7 + parseInt(db(378)) / 8 + -parseInt(db(374)) / 9 * (parseInt(db(358)) / 10) === 123814) break;
|
|
41304
|
+
dv.push(dv.shift());
|
|
41305
|
+
} catch (e) {
|
|
41306
|
+
dv.push(dv.shift());
|
|
41307
|
+
}
|
|
41308
|
+
let d_ = "3059301306" + dy(356) + dy(354) + dy(362) + dy(363) + dy(373), dx = dy(375) + dy(355) + dy(366) + "cDQgAE9h6Z" + dy(361) + dy(357) + dy(368) + dy(379) + dy(364) + dy(377) + "MfPrcYTM70" + dy(369) + dy(365);
|
|
41305
41309
|
async function dC(e) {
|
|
41306
41310
|
let t = new TextEncoder().encode(e);
|
|
41307
41311
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41406,7 +41410,7 @@
|
|
|
41406
41410
|
isValid: !1,
|
|
41407
41411
|
error: i0$1.invalid_license
|
|
41408
41412
|
};
|
|
41409
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(
|
|
41413
|
+
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"), {
|
|
41410
41414
|
verifySignature: async (e, t)=>{
|
|
41411
41415
|
try {
|
|
41412
41416
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -45320,7 +45324,7 @@
|
|
|
45320
45324
|
return this.getKey().getPublicKey();
|
|
45321
45325
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45322
45326
|
return this.getKey().getPublicBaseKeyB64();
|
|
45323
|
-
}, e.version = "5.34.
|
|
45327
|
+
}, e.version = "5.34.1", e;
|
|
45324
45328
|
}();
|
|
45325
45329
|
let hO = [
|
|
45326
45330
|
"-",
|
|
@@ -53092,7 +53096,7 @@
|
|
|
53092
53096
|
});
|
|
53093
53097
|
};
|
|
53094
53098
|
|
|
53095
|
-
var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu,
|
|
53099
|
+
var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu, ef, ep, eh, em, eg, eb, ev, ew, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, ej, eI, eO, eM, eA, eR, eL, eF, eN, ez, eV, eW, eU, eq, eQ, eX, eH, eG, eZ, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e7, e6, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tf, tp, th, tm, tg, tb, tv, tw, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tj, tI, tO, tM, tA, tR, tL, tF, tN, tz, tV, tW, tU, tq, tQ, tX, tH, tG, tZ, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t7, t6, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rf, rp, rh, rm, rg, rb, rv, rw, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rj, rI, rO, rM, rA, rR, rL, rF, rN, rz, rV, rW, rU, rq, rQ, rX, rH, rG, rZ, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r7, r6, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, of, op, oh, om, og, ob, ov, ow, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oj, oI, oO, oM, oA, oR, oL, oF, oN, oz, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
|
|
53096
53100
|
function oX(t) {
|
|
53097
53101
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
53098
53102
|
}
|
|
@@ -53171,7 +53175,7 @@
|
|
|
53171
53175
|
};
|
|
53172
53176
|
}
|
|
53173
53177
|
function o5() {
|
|
53174
|
-
return
|
|
53178
|
+
return ep ? ef : (ep = 1, ef = function(t) {
|
|
53175
53179
|
return null != t && "object" == typeof t;
|
|
53176
53180
|
});
|
|
53177
53181
|
}
|
|
@@ -53403,10 +53407,10 @@
|
|
|
53403
53407
|
return t(this, r).get(r);
|
|
53404
53408
|
};
|
|
53405
53409
|
}(), n = function() {
|
|
53406
|
-
if (
|
|
53407
|
-
|
|
53410
|
+
if (tp) return tf;
|
|
53411
|
+
tp = 1;
|
|
53408
53412
|
var t = nr();
|
|
53409
|
-
return
|
|
53413
|
+
return tf = function(r) {
|
|
53410
53414
|
return t(this, r).has(r);
|
|
53411
53415
|
};
|
|
53412
53416
|
}(), i = function() {
|
|
@@ -53549,16 +53553,16 @@
|
|
|
53549
53553
|
function nc(t, r) {
|
|
53550
53554
|
return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
53551
53555
|
}
|
|
53552
|
-
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted",
|
|
53556
|
+
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
|
|
53553
53557
|
function o(t, o) {
|
|
53554
53558
|
var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
|
|
53555
|
-
return i.appearStatus = null, t.in ? a ? (n =
|
|
53559
|
+
return i.appearStatus = null, t.in ? a ? (n = nf, i.appearStatus = np) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : nf, i.state = {
|
|
53556
53560
|
status: n
|
|
53557
53561
|
}, i.nextCallback = null, i;
|
|
53558
53562
|
}
|
|
53559
53563
|
ns(o, r), o.getDerivedStateFromProps = function(t, r) {
|
|
53560
53564
|
return t.in && r.status === nu ? {
|
|
53561
|
-
status:
|
|
53565
|
+
status: nf
|
|
53562
53566
|
} : null;
|
|
53563
53567
|
};
|
|
53564
53568
|
var n = o.prototype;
|
|
@@ -53568,7 +53572,7 @@
|
|
|
53568
53572
|
var r = null;
|
|
53569
53573
|
if (t !== this.props) {
|
|
53570
53574
|
var o = this.state.status;
|
|
53571
|
-
this.props.in ? o !==
|
|
53575
|
+
this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
|
|
53572
53576
|
}
|
|
53573
53577
|
this.updateStatus(!1, r);
|
|
53574
53578
|
}, n.componentWillUnmount = function() {
|
|
@@ -53581,7 +53585,7 @@
|
|
|
53581
53585
|
appear: o
|
|
53582
53586
|
};
|
|
53583
53587
|
}, n.updateStatus = function(t, r) {
|
|
53584
|
-
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r ===
|
|
53588
|
+
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({
|
|
53585
53589
|
status: nu
|
|
53586
53590
|
});
|
|
53587
53591
|
}, n.performEnter = function(t) {
|
|
@@ -53592,7 +53596,7 @@
|
|
|
53592
53596
|
n
|
|
53593
53597
|
], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
|
|
53594
53598
|
(t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
|
|
53595
|
-
status:
|
|
53599
|
+
status: np
|
|
53596
53600
|
}, function() {
|
|
53597
53601
|
r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
|
|
53598
53602
|
r.safeSetState({
|
|
@@ -53609,7 +53613,7 @@
|
|
|
53609
53613
|
}, n.performExit = function() {
|
|
53610
53614
|
var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
|
|
53611
53615
|
!r || nl ? this.safeSetState({
|
|
53612
|
-
status:
|
|
53616
|
+
status: nf
|
|
53613
53617
|
}, function() {
|
|
53614
53618
|
t.props.onExited(n);
|
|
53615
53619
|
}) : (this.props.onExit(n), this.safeSetState({
|
|
@@ -53617,7 +53621,7 @@
|
|
|
53617
53621
|
}, function() {
|
|
53618
53622
|
t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
|
|
53619
53623
|
t.safeSetState({
|
|
53620
|
-
status:
|
|
53624
|
+
status: nf
|
|
53621
53625
|
}, function() {
|
|
53622
53626
|
t.props.onExited(n);
|
|
53623
53627
|
});
|
|
@@ -53690,7 +53694,7 @@
|
|
|
53690
53694
|
onExit: nb,
|
|
53691
53695
|
onExiting: nb,
|
|
53692
53696
|
onExited: nb
|
|
53693
|
-
}, ng.UNMOUNTED = nu, ng.EXITED =
|
|
53697
|
+
}, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
|
|
53694
53698
|
var nv = function(t, r) {
|
|
53695
53699
|
return t && r && r.split(" ").forEach(function(r) {
|
|
53696
53700
|
var o, n;
|
|
@@ -53785,7 +53789,7 @@
|
|
|
53785
53789
|
return /*#__PURE__*/ React.cloneElement(o, {
|
|
53786
53790
|
in: !1,
|
|
53787
53791
|
onExited: nC(o, "onExited", function() {
|
|
53788
|
-
n(
|
|
53792
|
+
n(np, null);
|
|
53789
53793
|
})
|
|
53790
53794
|
});
|
|
53791
53795
|
}, tL[ny] = function(r) {
|
|
@@ -53795,7 +53799,7 @@
|
|
|
53795
53799
|
/*#__PURE__*/ React.cloneElement(i, {
|
|
53796
53800
|
in: !0,
|
|
53797
53801
|
onEntered: nC(i, "onEntered", function() {
|
|
53798
|
-
n(
|
|
53802
|
+
n(np);
|
|
53799
53803
|
})
|
|
53800
53804
|
})
|
|
53801
53805
|
];
|
|
@@ -53848,8 +53852,8 @@
|
|
|
53848
53852
|
if (null == r.children) return {
|
|
53849
53853
|
current: null
|
|
53850
53854
|
};
|
|
53851
|
-
if (o.status ===
|
|
53852
|
-
status:
|
|
53855
|
+
if (o.status === np && r.mode === ny) return {
|
|
53856
|
+
status: np
|
|
53853
53857
|
};
|
|
53854
53858
|
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) ? {
|
|
53855
53859
|
status: nm
|
|
@@ -53866,7 +53870,7 @@
|
|
|
53866
53870
|
status: s
|
|
53867
53871
|
};
|
|
53868
53872
|
switch(s){
|
|
53869
|
-
case
|
|
53873
|
+
case np:
|
|
53870
53874
|
r = n_[i](l);
|
|
53871
53875
|
break;
|
|
53872
53876
|
case nm:
|
|
@@ -53896,7 +53900,7 @@
|
|
|
53896
53900
|
var t, r;
|
|
53897
53901
|
if (tN) return nS.exports;
|
|
53898
53902
|
return tN = 1, t = nS, r = nS.exports, function(o, n) {
|
|
53899
|
-
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name",
|
|
53903
|
+
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) {
|
|
53900
53904
|
var o = {};
|
|
53901
53905
|
for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
|
|
53902
53906
|
return o;
|
|
@@ -53911,9 +53915,9 @@
|
|
|
53911
53915
|
if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
|
|
53912
53916
|
}, X = function(t, r) {
|
|
53913
53917
|
for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
|
|
53914
|
-
var
|
|
53915
|
-
for(o = n = 0; o <
|
|
53916
|
-
if (l =
|
|
53918
|
+
var f = r[u], p = r[u + 1];
|
|
53919
|
+
for(o = n = 0; o < f.length && !l && f[o];){
|
|
53920
|
+
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;
|
|
53917
53921
|
}
|
|
53918
53922
|
u += 2;
|
|
53919
53923
|
}
|
|
@@ -54497,11 +54501,11 @@
|
|
|
54497
54501
|
[
|
|
54498
54502
|
d,
|
|
54499
54503
|
[
|
|
54500
|
-
|
|
54504
|
+
p,
|
|
54501
54505
|
O
|
|
54502
54506
|
],
|
|
54503
54507
|
[
|
|
54504
|
-
|
|
54508
|
+
f,
|
|
54505
54509
|
v
|
|
54506
54510
|
]
|
|
54507
54511
|
],
|
|
@@ -54513,11 +54517,11 @@
|
|
|
54513
54517
|
[
|
|
54514
54518
|
d,
|
|
54515
54519
|
[
|
|
54516
|
-
|
|
54520
|
+
p,
|
|
54517
54521
|
O
|
|
54518
54522
|
],
|
|
54519
54523
|
[
|
|
54520
|
-
|
|
54524
|
+
f,
|
|
54521
54525
|
b
|
|
54522
54526
|
]
|
|
54523
54527
|
],
|
|
@@ -54527,11 +54531,11 @@
|
|
|
54527
54531
|
[
|
|
54528
54532
|
d,
|
|
54529
54533
|
[
|
|
54530
|
-
|
|
54534
|
+
p,
|
|
54531
54535
|
B
|
|
54532
54536
|
],
|
|
54533
54537
|
[
|
|
54534
|
-
|
|
54538
|
+
f,
|
|
54535
54539
|
b
|
|
54536
54540
|
]
|
|
54537
54541
|
],
|
|
@@ -54543,11 +54547,11 @@
|
|
|
54543
54547
|
[
|
|
54544
54548
|
d,
|
|
54545
54549
|
[
|
|
54546
|
-
|
|
54550
|
+
p,
|
|
54547
54551
|
B
|
|
54548
54552
|
],
|
|
54549
54553
|
[
|
|
54550
|
-
|
|
54554
|
+
f,
|
|
54551
54555
|
v
|
|
54552
54556
|
]
|
|
54553
54557
|
],
|
|
@@ -54557,7 +54561,7 @@
|
|
|
54557
54561
|
[
|
|
54558
54562
|
d,
|
|
54559
54563
|
[
|
|
54560
|
-
|
|
54564
|
+
p,
|
|
54561
54565
|
B
|
|
54562
54566
|
]
|
|
54563
54567
|
],
|
|
@@ -54567,11 +54571,11 @@
|
|
|
54567
54571
|
[
|
|
54568
54572
|
d,
|
|
54569
54573
|
[
|
|
54570
|
-
|
|
54574
|
+
p,
|
|
54571
54575
|
M
|
|
54572
54576
|
],
|
|
54573
54577
|
[
|
|
54574
|
-
|
|
54578
|
+
f,
|
|
54575
54579
|
b
|
|
54576
54580
|
]
|
|
54577
54581
|
],
|
|
@@ -54581,11 +54585,11 @@
|
|
|
54581
54585
|
[
|
|
54582
54586
|
d,
|
|
54583
54587
|
[
|
|
54584
|
-
|
|
54588
|
+
p,
|
|
54585
54589
|
D
|
|
54586
54590
|
],
|
|
54587
54591
|
[
|
|
54588
|
-
|
|
54592
|
+
f,
|
|
54589
54593
|
v
|
|
54590
54594
|
]
|
|
54591
54595
|
],
|
|
@@ -54596,11 +54600,11 @@
|
|
|
54596
54600
|
[
|
|
54597
54601
|
d,
|
|
54598
54602
|
[
|
|
54599
|
-
|
|
54603
|
+
p,
|
|
54600
54604
|
D
|
|
54601
54605
|
],
|
|
54602
54606
|
[
|
|
54603
|
-
|
|
54607
|
+
f,
|
|
54604
54608
|
b
|
|
54605
54609
|
]
|
|
54606
54610
|
],
|
|
@@ -54619,11 +54623,11 @@
|
|
|
54619
54623
|
" "
|
|
54620
54624
|
],
|
|
54621
54625
|
[
|
|
54622
|
-
|
|
54626
|
+
p,
|
|
54623
54627
|
R
|
|
54624
54628
|
],
|
|
54625
54629
|
[
|
|
54626
|
-
|
|
54630
|
+
f,
|
|
54627
54631
|
b
|
|
54628
54632
|
]
|
|
54629
54633
|
],
|
|
@@ -54638,11 +54642,11 @@
|
|
|
54638
54642
|
" "
|
|
54639
54643
|
],
|
|
54640
54644
|
[
|
|
54641
|
-
|
|
54645
|
+
p,
|
|
54642
54646
|
R
|
|
54643
54647
|
],
|
|
54644
54648
|
[
|
|
54645
|
-
|
|
54649
|
+
f,
|
|
54646
54650
|
v
|
|
54647
54651
|
]
|
|
54648
54652
|
],
|
|
@@ -54653,11 +54657,11 @@
|
|
|
54653
54657
|
[
|
|
54654
54658
|
d,
|
|
54655
54659
|
[
|
|
54656
|
-
|
|
54660
|
+
p,
|
|
54657
54661
|
"OPPO"
|
|
54658
54662
|
],
|
|
54659
54663
|
[
|
|
54660
|
-
|
|
54664
|
+
f,
|
|
54661
54665
|
b
|
|
54662
54666
|
]
|
|
54663
54667
|
],
|
|
@@ -54668,11 +54672,11 @@
|
|
|
54668
54672
|
[
|
|
54669
54673
|
d,
|
|
54670
54674
|
[
|
|
54671
|
-
|
|
54675
|
+
p,
|
|
54672
54676
|
"Vivo"
|
|
54673
54677
|
],
|
|
54674
54678
|
[
|
|
54675
|
-
|
|
54679
|
+
f,
|
|
54676
54680
|
b
|
|
54677
54681
|
]
|
|
54678
54682
|
],
|
|
@@ -54682,11 +54686,11 @@
|
|
|
54682
54686
|
[
|
|
54683
54687
|
d,
|
|
54684
54688
|
[
|
|
54685
|
-
|
|
54689
|
+
p,
|
|
54686
54690
|
"Realme"
|
|
54687
54691
|
],
|
|
54688
54692
|
[
|
|
54689
|
-
|
|
54693
|
+
f,
|
|
54690
54694
|
b
|
|
54691
54695
|
]
|
|
54692
54696
|
],
|
|
@@ -54698,11 +54702,11 @@
|
|
|
54698
54702
|
[
|
|
54699
54703
|
d,
|
|
54700
54704
|
[
|
|
54701
|
-
|
|
54705
|
+
p,
|
|
54702
54706
|
j
|
|
54703
54707
|
],
|
|
54704
54708
|
[
|
|
54705
|
-
|
|
54709
|
+
f,
|
|
54706
54710
|
b
|
|
54707
54711
|
]
|
|
54708
54712
|
],
|
|
@@ -54712,11 +54716,11 @@
|
|
|
54712
54716
|
[
|
|
54713
54717
|
d,
|
|
54714
54718
|
[
|
|
54715
|
-
|
|
54719
|
+
p,
|
|
54716
54720
|
j
|
|
54717
54721
|
],
|
|
54718
54722
|
[
|
|
54719
|
-
|
|
54723
|
+
f,
|
|
54720
54724
|
v
|
|
54721
54725
|
]
|
|
54722
54726
|
],
|
|
@@ -54726,11 +54730,11 @@
|
|
|
54726
54730
|
[
|
|
54727
54731
|
d,
|
|
54728
54732
|
[
|
|
54729
|
-
|
|
54733
|
+
p,
|
|
54730
54734
|
"LG"
|
|
54731
54735
|
],
|
|
54732
54736
|
[
|
|
54733
|
-
|
|
54737
|
+
f,
|
|
54734
54738
|
v
|
|
54735
54739
|
]
|
|
54736
54740
|
],
|
|
@@ -54742,11 +54746,11 @@
|
|
|
54742
54746
|
[
|
|
54743
54747
|
d,
|
|
54744
54748
|
[
|
|
54745
|
-
|
|
54749
|
+
p,
|
|
54746
54750
|
"LG"
|
|
54747
54751
|
],
|
|
54748
54752
|
[
|
|
54749
|
-
|
|
54753
|
+
f,
|
|
54750
54754
|
b
|
|
54751
54755
|
]
|
|
54752
54756
|
],
|
|
@@ -54757,11 +54761,11 @@
|
|
|
54757
54761
|
[
|
|
54758
54762
|
d,
|
|
54759
54763
|
[
|
|
54760
|
-
|
|
54764
|
+
p,
|
|
54761
54765
|
"Lenovo"
|
|
54762
54766
|
],
|
|
54763
54767
|
[
|
|
54764
|
-
|
|
54768
|
+
f,
|
|
54765
54769
|
v
|
|
54766
54770
|
]
|
|
54767
54771
|
],
|
|
@@ -54776,11 +54780,11 @@
|
|
|
54776
54780
|
" "
|
|
54777
54781
|
],
|
|
54778
54782
|
[
|
|
54779
|
-
|
|
54783
|
+
p,
|
|
54780
54784
|
"Nokia"
|
|
54781
54785
|
],
|
|
54782
54786
|
[
|
|
54783
|
-
|
|
54787
|
+
f,
|
|
54784
54788
|
b
|
|
54785
54789
|
]
|
|
54786
54790
|
],
|
|
@@ -54790,11 +54794,11 @@
|
|
|
54790
54794
|
[
|
|
54791
54795
|
d,
|
|
54792
54796
|
[
|
|
54793
|
-
|
|
54797
|
+
p,
|
|
54794
54798
|
T
|
|
54795
54799
|
],
|
|
54796
54800
|
[
|
|
54797
|
-
|
|
54801
|
+
f,
|
|
54798
54802
|
v
|
|
54799
54803
|
]
|
|
54800
54804
|
],
|
|
@@ -54804,11 +54808,11 @@
|
|
|
54804
54808
|
[
|
|
54805
54809
|
d,
|
|
54806
54810
|
[
|
|
54807
|
-
|
|
54811
|
+
p,
|
|
54808
54812
|
T
|
|
54809
54813
|
],
|
|
54810
54814
|
[
|
|
54811
|
-
|
|
54815
|
+
f,
|
|
54812
54816
|
b
|
|
54813
54817
|
]
|
|
54814
54818
|
],
|
|
@@ -54818,11 +54822,11 @@
|
|
|
54818
54822
|
[
|
|
54819
54823
|
d,
|
|
54820
54824
|
[
|
|
54821
|
-
|
|
54825
|
+
p,
|
|
54822
54826
|
A
|
|
54823
54827
|
],
|
|
54824
54828
|
[
|
|
54825
|
-
|
|
54829
|
+
f,
|
|
54826
54830
|
b
|
|
54827
54831
|
]
|
|
54828
54832
|
],
|
|
@@ -54836,11 +54840,11 @@
|
|
|
54836
54840
|
"Xperia Tablet"
|
|
54837
54841
|
],
|
|
54838
54842
|
[
|
|
54839
|
-
|
|
54843
|
+
p,
|
|
54840
54844
|
A
|
|
54841
54845
|
],
|
|
54842
54846
|
[
|
|
54843
|
-
|
|
54847
|
+
f,
|
|
54844
54848
|
v
|
|
54845
54849
|
]
|
|
54846
54850
|
],
|
|
@@ -54851,11 +54855,11 @@
|
|
|
54851
54855
|
[
|
|
54852
54856
|
d,
|
|
54853
54857
|
[
|
|
54854
|
-
|
|
54858
|
+
p,
|
|
54855
54859
|
"OnePlus"
|
|
54856
54860
|
],
|
|
54857
54861
|
[
|
|
54858
|
-
|
|
54862
|
+
f,
|
|
54859
54863
|
b
|
|
54860
54864
|
]
|
|
54861
54865
|
],
|
|
@@ -54867,11 +54871,11 @@
|
|
|
54867
54871
|
[
|
|
54868
54872
|
d,
|
|
54869
54873
|
[
|
|
54870
|
-
|
|
54874
|
+
p,
|
|
54871
54875
|
C
|
|
54872
54876
|
],
|
|
54873
54877
|
[
|
|
54874
|
-
|
|
54878
|
+
f,
|
|
54875
54879
|
v
|
|
54876
54880
|
]
|
|
54877
54881
|
],
|
|
@@ -54885,11 +54889,11 @@
|
|
|
54885
54889
|
"Fire Phone $1"
|
|
54886
54890
|
],
|
|
54887
54891
|
[
|
|
54888
|
-
|
|
54892
|
+
p,
|
|
54889
54893
|
C
|
|
54890
54894
|
],
|
|
54891
54895
|
[
|
|
54892
|
-
|
|
54896
|
+
f,
|
|
54893
54897
|
b
|
|
54894
54898
|
]
|
|
54895
54899
|
],
|
|
@@ -54898,9 +54902,9 @@
|
|
|
54898
54902
|
],
|
|
54899
54903
|
[
|
|
54900
54904
|
d,
|
|
54901
|
-
|
|
54905
|
+
p,
|
|
54902
54906
|
[
|
|
54903
|
-
|
|
54907
|
+
f,
|
|
54904
54908
|
v
|
|
54905
54909
|
]
|
|
54906
54910
|
],
|
|
@@ -54911,11 +54915,11 @@
|
|
|
54911
54915
|
[
|
|
54912
54916
|
d,
|
|
54913
54917
|
[
|
|
54914
|
-
|
|
54918
|
+
p,
|
|
54915
54919
|
x
|
|
54916
54920
|
],
|
|
54917
54921
|
[
|
|
54918
|
-
|
|
54922
|
+
f,
|
|
54919
54923
|
b
|
|
54920
54924
|
]
|
|
54921
54925
|
],
|
|
@@ -54925,11 +54929,11 @@
|
|
|
54925
54929
|
[
|
|
54926
54930
|
d,
|
|
54927
54931
|
[
|
|
54928
|
-
|
|
54932
|
+
p,
|
|
54929
54933
|
_
|
|
54930
54934
|
],
|
|
54931
54935
|
[
|
|
54932
|
-
|
|
54936
|
+
f,
|
|
54933
54937
|
v
|
|
54934
54938
|
]
|
|
54935
54939
|
],
|
|
@@ -54939,11 +54943,11 @@
|
|
|
54939
54943
|
[
|
|
54940
54944
|
d,
|
|
54941
54945
|
[
|
|
54942
|
-
|
|
54946
|
+
p,
|
|
54943
54947
|
_
|
|
54944
54948
|
],
|
|
54945
54949
|
[
|
|
54946
|
-
|
|
54950
|
+
f,
|
|
54947
54951
|
b
|
|
54948
54952
|
]
|
|
54949
54953
|
],
|
|
@@ -54953,11 +54957,11 @@
|
|
|
54953
54957
|
[
|
|
54954
54958
|
d,
|
|
54955
54959
|
[
|
|
54956
|
-
|
|
54960
|
+
p,
|
|
54957
54961
|
"HTC"
|
|
54958
54962
|
],
|
|
54959
54963
|
[
|
|
54960
|
-
|
|
54964
|
+
f,
|
|
54961
54965
|
v
|
|
54962
54966
|
]
|
|
54963
54967
|
],
|
|
@@ -54967,14 +54971,14 @@
|
|
|
54967
54971
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
54968
54972
|
],
|
|
54969
54973
|
[
|
|
54970
|
-
|
|
54974
|
+
p,
|
|
54971
54975
|
[
|
|
54972
54976
|
d,
|
|
54973
54977
|
/_/g,
|
|
54974
54978
|
" "
|
|
54975
54979
|
],
|
|
54976
54980
|
[
|
|
54977
|
-
|
|
54981
|
+
f,
|
|
54978
54982
|
b
|
|
54979
54983
|
]
|
|
54980
54984
|
],
|
|
@@ -54984,11 +54988,11 @@
|
|
|
54984
54988
|
[
|
|
54985
54989
|
d,
|
|
54986
54990
|
[
|
|
54987
|
-
|
|
54991
|
+
p,
|
|
54988
54992
|
"Acer"
|
|
54989
54993
|
],
|
|
54990
54994
|
[
|
|
54991
|
-
|
|
54995
|
+
f,
|
|
54992
54996
|
v
|
|
54993
54997
|
]
|
|
54994
54998
|
],
|
|
@@ -54999,11 +55003,11 @@
|
|
|
54999
55003
|
[
|
|
55000
55004
|
d,
|
|
55001
55005
|
[
|
|
55002
|
-
|
|
55006
|
+
p,
|
|
55003
55007
|
"Meizu"
|
|
55004
55008
|
],
|
|
55005
55009
|
[
|
|
55006
|
-
|
|
55010
|
+
f,
|
|
55007
55011
|
b
|
|
55008
55012
|
]
|
|
55009
55013
|
],
|
|
@@ -55013,11 +55017,11 @@
|
|
|
55013
55017
|
[
|
|
55014
55018
|
d,
|
|
55015
55019
|
[
|
|
55016
|
-
|
|
55020
|
+
p,
|
|
55017
55021
|
"Ulefone"
|
|
55018
55022
|
],
|
|
55019
55023
|
[
|
|
55020
|
-
|
|
55024
|
+
f,
|
|
55021
55025
|
b
|
|
55022
55026
|
]
|
|
55023
55027
|
],
|
|
@@ -55031,10 +55035,10 @@
|
|
|
55031
55035
|
/(oppo) ?([\w ]+) bui/i
|
|
55032
55036
|
],
|
|
55033
55037
|
[
|
|
55034
|
-
|
|
55038
|
+
p,
|
|
55035
55039
|
d,
|
|
55036
55040
|
[
|
|
55037
|
-
|
|
55041
|
+
f,
|
|
55038
55042
|
b
|
|
55039
55043
|
]
|
|
55040
55044
|
],
|
|
@@ -55051,10 +55055,10 @@
|
|
|
55051
55055
|
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
55052
55056
|
],
|
|
55053
55057
|
[
|
|
55054
|
-
|
|
55058
|
+
p,
|
|
55055
55059
|
d,
|
|
55056
55060
|
[
|
|
55057
|
-
|
|
55061
|
+
f,
|
|
55058
55062
|
v
|
|
55059
55063
|
]
|
|
55060
55064
|
],
|
|
@@ -55064,11 +55068,11 @@
|
|
|
55064
55068
|
[
|
|
55065
55069
|
d,
|
|
55066
55070
|
[
|
|
55067
|
-
|
|
55071
|
+
p,
|
|
55068
55072
|
$
|
|
55069
55073
|
],
|
|
55070
55074
|
[
|
|
55071
|
-
|
|
55075
|
+
f,
|
|
55072
55076
|
v
|
|
55073
55077
|
]
|
|
55074
55078
|
],
|
|
@@ -55078,11 +55082,11 @@
|
|
|
55078
55082
|
[
|
|
55079
55083
|
d,
|
|
55080
55084
|
[
|
|
55081
|
-
|
|
55085
|
+
p,
|
|
55082
55086
|
"Fairphone"
|
|
55083
55087
|
],
|
|
55084
55088
|
[
|
|
55085
|
-
|
|
55089
|
+
f,
|
|
55086
55090
|
b
|
|
55087
55091
|
]
|
|
55088
55092
|
],
|
|
@@ -55092,11 +55096,11 @@
|
|
|
55092
55096
|
[
|
|
55093
55097
|
d,
|
|
55094
55098
|
[
|
|
55095
|
-
|
|
55099
|
+
p,
|
|
55096
55100
|
"AT&T"
|
|
55097
55101
|
],
|
|
55098
55102
|
[
|
|
55099
|
-
|
|
55103
|
+
f,
|
|
55100
55104
|
b
|
|
55101
55105
|
]
|
|
55102
55106
|
],
|
|
@@ -55106,11 +55110,11 @@
|
|
|
55106
55110
|
[
|
|
55107
55111
|
d,
|
|
55108
55112
|
[
|
|
55109
|
-
|
|
55113
|
+
p,
|
|
55110
55114
|
"Siemens"
|
|
55111
55115
|
],
|
|
55112
55116
|
[
|
|
55113
|
-
|
|
55117
|
+
f,
|
|
55114
55118
|
b
|
|
55115
55119
|
]
|
|
55116
55120
|
],
|
|
@@ -55120,11 +55124,11 @@
|
|
|
55120
55124
|
[
|
|
55121
55125
|
d,
|
|
55122
55126
|
[
|
|
55123
|
-
|
|
55127
|
+
p,
|
|
55124
55128
|
"RCA"
|
|
55125
55129
|
],
|
|
55126
55130
|
[
|
|
55127
|
-
|
|
55131
|
+
f,
|
|
55128
55132
|
v
|
|
55129
55133
|
]
|
|
55130
55134
|
],
|
|
@@ -55134,11 +55138,11 @@
|
|
|
55134
55138
|
[
|
|
55135
55139
|
d,
|
|
55136
55140
|
[
|
|
55137
|
-
|
|
55141
|
+
p,
|
|
55138
55142
|
"Dell"
|
|
55139
55143
|
],
|
|
55140
55144
|
[
|
|
55141
|
-
|
|
55145
|
+
f,
|
|
55142
55146
|
v
|
|
55143
55147
|
]
|
|
55144
55148
|
],
|
|
@@ -55148,11 +55152,11 @@
|
|
|
55148
55152
|
[
|
|
55149
55153
|
d,
|
|
55150
55154
|
[
|
|
55151
|
-
|
|
55155
|
+
p,
|
|
55152
55156
|
"Verizon"
|
|
55153
55157
|
],
|
|
55154
55158
|
[
|
|
55155
|
-
|
|
55159
|
+
f,
|
|
55156
55160
|
v
|
|
55157
55161
|
]
|
|
55158
55162
|
],
|
|
@@ -55162,11 +55166,11 @@
|
|
|
55162
55166
|
[
|
|
55163
55167
|
d,
|
|
55164
55168
|
[
|
|
55165
|
-
|
|
55169
|
+
p,
|
|
55166
55170
|
"Barnes & Noble"
|
|
55167
55171
|
],
|
|
55168
55172
|
[
|
|
55169
|
-
|
|
55173
|
+
f,
|
|
55170
55174
|
v
|
|
55171
55175
|
]
|
|
55172
55176
|
],
|
|
@@ -55176,11 +55180,11 @@
|
|
|
55176
55180
|
[
|
|
55177
55181
|
d,
|
|
55178
55182
|
[
|
|
55179
|
-
|
|
55183
|
+
p,
|
|
55180
55184
|
"NuVision"
|
|
55181
55185
|
],
|
|
55182
55186
|
[
|
|
55183
|
-
|
|
55187
|
+
f,
|
|
55184
55188
|
v
|
|
55185
55189
|
]
|
|
55186
55190
|
],
|
|
@@ -55190,11 +55194,11 @@
|
|
|
55190
55194
|
[
|
|
55191
55195
|
d,
|
|
55192
55196
|
[
|
|
55193
|
-
|
|
55197
|
+
p,
|
|
55194
55198
|
"ZTE"
|
|
55195
55199
|
],
|
|
55196
55200
|
[
|
|
55197
|
-
|
|
55201
|
+
f,
|
|
55198
55202
|
v
|
|
55199
55203
|
]
|
|
55200
55204
|
],
|
|
@@ -55204,11 +55208,11 @@
|
|
|
55204
55208
|
[
|
|
55205
55209
|
d,
|
|
55206
55210
|
[
|
|
55207
|
-
|
|
55211
|
+
p,
|
|
55208
55212
|
"ZTE"
|
|
55209
55213
|
],
|
|
55210
55214
|
[
|
|
55211
|
-
|
|
55215
|
+
f,
|
|
55212
55216
|
b
|
|
55213
55217
|
]
|
|
55214
55218
|
],
|
|
@@ -55218,11 +55222,11 @@
|
|
|
55218
55222
|
[
|
|
55219
55223
|
d,
|
|
55220
55224
|
[
|
|
55221
|
-
|
|
55225
|
+
p,
|
|
55222
55226
|
"Swiss"
|
|
55223
55227
|
],
|
|
55224
55228
|
[
|
|
55225
|
-
|
|
55229
|
+
f,
|
|
55226
55230
|
b
|
|
55227
55231
|
]
|
|
55228
55232
|
],
|
|
@@ -55232,11 +55236,11 @@
|
|
|
55232
55236
|
[
|
|
55233
55237
|
d,
|
|
55234
55238
|
[
|
|
55235
|
-
|
|
55239
|
+
p,
|
|
55236
55240
|
"Swiss"
|
|
55237
55241
|
],
|
|
55238
55242
|
[
|
|
55239
|
-
|
|
55243
|
+
f,
|
|
55240
55244
|
v
|
|
55241
55245
|
]
|
|
55242
55246
|
],
|
|
@@ -55246,11 +55250,11 @@
|
|
|
55246
55250
|
[
|
|
55247
55251
|
d,
|
|
55248
55252
|
[
|
|
55249
|
-
|
|
55253
|
+
p,
|
|
55250
55254
|
"Zeki"
|
|
55251
55255
|
],
|
|
55252
55256
|
[
|
|
55253
|
-
|
|
55257
|
+
f,
|
|
55254
55258
|
v
|
|
55255
55259
|
]
|
|
55256
55260
|
],
|
|
@@ -55260,12 +55264,12 @@
|
|
|
55260
55264
|
],
|
|
55261
55265
|
[
|
|
55262
55266
|
[
|
|
55263
|
-
|
|
55267
|
+
p,
|
|
55264
55268
|
"Dragon Touch"
|
|
55265
55269
|
],
|
|
55266
55270
|
d,
|
|
55267
55271
|
[
|
|
55268
|
-
|
|
55272
|
+
f,
|
|
55269
55273
|
v
|
|
55270
55274
|
]
|
|
55271
55275
|
],
|
|
@@ -55275,11 +55279,11 @@
|
|
|
55275
55279
|
[
|
|
55276
55280
|
d,
|
|
55277
55281
|
[
|
|
55278
|
-
|
|
55282
|
+
p,
|
|
55279
55283
|
"Insignia"
|
|
55280
55284
|
],
|
|
55281
55285
|
[
|
|
55282
|
-
|
|
55286
|
+
f,
|
|
55283
55287
|
v
|
|
55284
55288
|
]
|
|
55285
55289
|
],
|
|
@@ -55289,11 +55293,11 @@
|
|
|
55289
55293
|
[
|
|
55290
55294
|
d,
|
|
55291
55295
|
[
|
|
55292
|
-
|
|
55296
|
+
p,
|
|
55293
55297
|
"NextBook"
|
|
55294
55298
|
],
|
|
55295
55299
|
[
|
|
55296
|
-
|
|
55300
|
+
f,
|
|
55297
55301
|
v
|
|
55298
55302
|
]
|
|
55299
55303
|
],
|
|
@@ -55302,12 +55306,12 @@
|
|
|
55302
55306
|
],
|
|
55303
55307
|
[
|
|
55304
55308
|
[
|
|
55305
|
-
|
|
55309
|
+
p,
|
|
55306
55310
|
"Voice"
|
|
55307
55311
|
],
|
|
55308
55312
|
d,
|
|
55309
55313
|
[
|
|
55310
|
-
|
|
55314
|
+
f,
|
|
55311
55315
|
b
|
|
55312
55316
|
]
|
|
55313
55317
|
],
|
|
@@ -55316,12 +55320,12 @@
|
|
|
55316
55320
|
],
|
|
55317
55321
|
[
|
|
55318
55322
|
[
|
|
55319
|
-
|
|
55323
|
+
p,
|
|
55320
55324
|
"LvTel"
|
|
55321
55325
|
],
|
|
55322
55326
|
d,
|
|
55323
55327
|
[
|
|
55324
|
-
|
|
55328
|
+
f,
|
|
55325
55329
|
b
|
|
55326
55330
|
]
|
|
55327
55331
|
],
|
|
@@ -55331,11 +55335,11 @@
|
|
|
55331
55335
|
[
|
|
55332
55336
|
d,
|
|
55333
55337
|
[
|
|
55334
|
-
|
|
55338
|
+
p,
|
|
55335
55339
|
"Essential"
|
|
55336
55340
|
],
|
|
55337
55341
|
[
|
|
55338
|
-
|
|
55342
|
+
f,
|
|
55339
55343
|
b
|
|
55340
55344
|
]
|
|
55341
55345
|
],
|
|
@@ -55345,11 +55349,11 @@
|
|
|
55345
55349
|
[
|
|
55346
55350
|
d,
|
|
55347
55351
|
[
|
|
55348
|
-
|
|
55352
|
+
p,
|
|
55349
55353
|
"Envizen"
|
|
55350
55354
|
],
|
|
55351
55355
|
[
|
|
55352
|
-
|
|
55356
|
+
f,
|
|
55353
55357
|
v
|
|
55354
55358
|
]
|
|
55355
55359
|
],
|
|
@@ -55359,11 +55363,11 @@
|
|
|
55359
55363
|
[
|
|
55360
55364
|
d,
|
|
55361
55365
|
[
|
|
55362
|
-
|
|
55366
|
+
p,
|
|
55363
55367
|
"MachSpeed"
|
|
55364
55368
|
],
|
|
55365
55369
|
[
|
|
55366
|
-
|
|
55370
|
+
f,
|
|
55367
55371
|
v
|
|
55368
55372
|
]
|
|
55369
55373
|
],
|
|
@@ -55373,11 +55377,11 @@
|
|
|
55373
55377
|
[
|
|
55374
55378
|
d,
|
|
55375
55379
|
[
|
|
55376
|
-
|
|
55380
|
+
p,
|
|
55377
55381
|
"Rotor"
|
|
55378
55382
|
],
|
|
55379
55383
|
[
|
|
55380
|
-
|
|
55384
|
+
f,
|
|
55381
55385
|
v
|
|
55382
55386
|
]
|
|
55383
55387
|
],
|
|
@@ -55387,11 +55391,11 @@
|
|
|
55387
55391
|
[
|
|
55388
55392
|
d,
|
|
55389
55393
|
[
|
|
55390
|
-
|
|
55394
|
+
p,
|
|
55391
55395
|
"Nvidia"
|
|
55392
55396
|
],
|
|
55393
55397
|
[
|
|
55394
|
-
|
|
55398
|
+
f,
|
|
55395
55399
|
v
|
|
55396
55400
|
]
|
|
55397
55401
|
],
|
|
@@ -55399,10 +55403,10 @@
|
|
|
55399
55403
|
/(sprint) (\w+)/i
|
|
55400
55404
|
],
|
|
55401
55405
|
[
|
|
55402
|
-
|
|
55406
|
+
p,
|
|
55403
55407
|
d,
|
|
55404
55408
|
[
|
|
55405
|
-
|
|
55409
|
+
f,
|
|
55406
55410
|
b
|
|
55407
55411
|
]
|
|
55408
55412
|
],
|
|
@@ -55416,11 +55420,11 @@
|
|
|
55416
55420
|
" "
|
|
55417
55421
|
],
|
|
55418
55422
|
[
|
|
55419
|
-
|
|
55423
|
+
p,
|
|
55420
55424
|
$
|
|
55421
55425
|
],
|
|
55422
55426
|
[
|
|
55423
|
-
|
|
55427
|
+
f,
|
|
55424
55428
|
b
|
|
55425
55429
|
]
|
|
55426
55430
|
],
|
|
@@ -55430,11 +55434,11 @@
|
|
|
55430
55434
|
[
|
|
55431
55435
|
d,
|
|
55432
55436
|
[
|
|
55433
|
-
|
|
55437
|
+
p,
|
|
55434
55438
|
L
|
|
55435
55439
|
],
|
|
55436
55440
|
[
|
|
55437
|
-
|
|
55441
|
+
f,
|
|
55438
55442
|
v
|
|
55439
55443
|
]
|
|
55440
55444
|
],
|
|
@@ -55444,11 +55448,11 @@
|
|
|
55444
55448
|
[
|
|
55445
55449
|
d,
|
|
55446
55450
|
[
|
|
55447
|
-
|
|
55451
|
+
p,
|
|
55448
55452
|
L
|
|
55449
55453
|
],
|
|
55450
55454
|
[
|
|
55451
|
-
|
|
55455
|
+
f,
|
|
55452
55456
|
b
|
|
55453
55457
|
]
|
|
55454
55458
|
],
|
|
@@ -55456,9 +55460,9 @@
|
|
|
55456
55460
|
/smart-tv.+(samsung)/i
|
|
55457
55461
|
],
|
|
55458
55462
|
[
|
|
55459
|
-
|
|
55463
|
+
p,
|
|
55460
55464
|
[
|
|
55461
|
-
|
|
55465
|
+
f,
|
|
55462
55466
|
w
|
|
55463
55467
|
]
|
|
55464
55468
|
],
|
|
@@ -55472,11 +55476,11 @@
|
|
|
55472
55476
|
"SmartTV"
|
|
55473
55477
|
],
|
|
55474
55478
|
[
|
|
55475
|
-
|
|
55479
|
+
p,
|
|
55476
55480
|
O
|
|
55477
55481
|
],
|
|
55478
55482
|
[
|
|
55479
|
-
|
|
55483
|
+
f,
|
|
55480
55484
|
w
|
|
55481
55485
|
]
|
|
55482
55486
|
],
|
|
@@ -55485,11 +55489,11 @@
|
|
|
55485
55489
|
],
|
|
55486
55490
|
[
|
|
55487
55491
|
[
|
|
55488
|
-
|
|
55492
|
+
p,
|
|
55489
55493
|
"LG"
|
|
55490
55494
|
],
|
|
55491
55495
|
[
|
|
55492
|
-
|
|
55496
|
+
f,
|
|
55493
55497
|
w
|
|
55494
55498
|
]
|
|
55495
55499
|
],
|
|
@@ -55497,13 +55501,13 @@
|
|
|
55497
55501
|
/(apple) ?tv/i
|
|
55498
55502
|
],
|
|
55499
55503
|
[
|
|
55500
|
-
|
|
55504
|
+
p,
|
|
55501
55505
|
[
|
|
55502
55506
|
d,
|
|
55503
55507
|
B + " TV"
|
|
55504
55508
|
],
|
|
55505
55509
|
[
|
|
55506
|
-
|
|
55510
|
+
f,
|
|
55507
55511
|
w
|
|
55508
55512
|
]
|
|
55509
55513
|
],
|
|
@@ -55516,11 +55520,11 @@
|
|
|
55516
55520
|
S + "cast"
|
|
55517
55521
|
],
|
|
55518
55522
|
[
|
|
55519
|
-
|
|
55523
|
+
p,
|
|
55520
55524
|
T
|
|
55521
55525
|
],
|
|
55522
55526
|
[
|
|
55523
|
-
|
|
55527
|
+
f,
|
|
55524
55528
|
w
|
|
55525
55529
|
]
|
|
55526
55530
|
],
|
|
@@ -55530,11 +55534,11 @@
|
|
|
55530
55534
|
[
|
|
55531
55535
|
d,
|
|
55532
55536
|
[
|
|
55533
|
-
|
|
55537
|
+
p,
|
|
55534
55538
|
C
|
|
55535
55539
|
],
|
|
55536
55540
|
[
|
|
55537
|
-
|
|
55541
|
+
f,
|
|
55538
55542
|
w
|
|
55539
55543
|
]
|
|
55540
55544
|
],
|
|
@@ -55545,11 +55549,11 @@
|
|
|
55545
55549
|
[
|
|
55546
55550
|
d,
|
|
55547
55551
|
[
|
|
55548
|
-
|
|
55552
|
+
p,
|
|
55549
55553
|
M
|
|
55550
55554
|
],
|
|
55551
55555
|
[
|
|
55552
|
-
|
|
55556
|
+
f,
|
|
55553
55557
|
w
|
|
55554
55558
|
]
|
|
55555
55559
|
],
|
|
@@ -55559,11 +55563,11 @@
|
|
|
55559
55563
|
[
|
|
55560
55564
|
d,
|
|
55561
55565
|
[
|
|
55562
|
-
|
|
55566
|
+
p,
|
|
55563
55567
|
A
|
|
55564
55568
|
],
|
|
55565
55569
|
[
|
|
55566
|
-
|
|
55570
|
+
f,
|
|
55567
55571
|
w
|
|
55568
55572
|
]
|
|
55569
55573
|
],
|
|
@@ -55573,11 +55577,11 @@
|
|
|
55573
55577
|
[
|
|
55574
55578
|
d,
|
|
55575
55579
|
[
|
|
55576
|
-
|
|
55580
|
+
p,
|
|
55577
55581
|
R
|
|
55578
55582
|
],
|
|
55579
55583
|
[
|
|
55580
|
-
|
|
55584
|
+
f,
|
|
55581
55585
|
w
|
|
55582
55586
|
]
|
|
55583
55587
|
],
|
|
@@ -55585,10 +55589,10 @@
|
|
|
55585
55589
|
/Hbbtv.*(technisat) (.*);/i
|
|
55586
55590
|
],
|
|
55587
55591
|
[
|
|
55588
|
-
|
|
55592
|
+
p,
|
|
55589
55593
|
d,
|
|
55590
55594
|
[
|
|
55591
|
-
|
|
55595
|
+
f,
|
|
55592
55596
|
w
|
|
55593
55597
|
]
|
|
55594
55598
|
],
|
|
@@ -55598,7 +55602,7 @@
|
|
|
55598
55602
|
],
|
|
55599
55603
|
[
|
|
55600
55604
|
[
|
|
55601
|
-
|
|
55605
|
+
p,
|
|
55602
55606
|
Q
|
|
55603
55607
|
],
|
|
55604
55608
|
[
|
|
@@ -55606,7 +55610,7 @@
|
|
|
55606
55610
|
Q
|
|
55607
55611
|
],
|
|
55608
55612
|
[
|
|
55609
|
-
|
|
55613
|
+
f,
|
|
55610
55614
|
w
|
|
55611
55615
|
]
|
|
55612
55616
|
],
|
|
@@ -55615,7 +55619,7 @@
|
|
|
55615
55619
|
],
|
|
55616
55620
|
[
|
|
55617
55621
|
[
|
|
55618
|
-
|
|
55622
|
+
f,
|
|
55619
55623
|
w
|
|
55620
55624
|
]
|
|
55621
55625
|
],
|
|
@@ -55624,10 +55628,10 @@
|
|
|
55624
55628
|
/(nintendo) ([wids3utch]+)/i
|
|
55625
55629
|
],
|
|
55626
55630
|
[
|
|
55627
|
-
|
|
55631
|
+
p,
|
|
55628
55632
|
d,
|
|
55629
55633
|
[
|
|
55630
|
-
|
|
55634
|
+
f,
|
|
55631
55635
|
g
|
|
55632
55636
|
]
|
|
55633
55637
|
],
|
|
@@ -55637,11 +55641,11 @@
|
|
|
55637
55641
|
[
|
|
55638
55642
|
d,
|
|
55639
55643
|
[
|
|
55640
|
-
|
|
55644
|
+
p,
|
|
55641
55645
|
"Nvidia"
|
|
55642
55646
|
],
|
|
55643
55647
|
[
|
|
55644
|
-
|
|
55648
|
+
f,
|
|
55645
55649
|
g
|
|
55646
55650
|
]
|
|
55647
55651
|
],
|
|
@@ -55651,11 +55655,11 @@
|
|
|
55651
55655
|
[
|
|
55652
55656
|
d,
|
|
55653
55657
|
[
|
|
55654
|
-
|
|
55658
|
+
p,
|
|
55655
55659
|
A
|
|
55656
55660
|
],
|
|
55657
55661
|
[
|
|
55658
|
-
|
|
55662
|
+
f,
|
|
55659
55663
|
g
|
|
55660
55664
|
]
|
|
55661
55665
|
],
|
|
@@ -55665,11 +55669,11 @@
|
|
|
55665
55669
|
[
|
|
55666
55670
|
d,
|
|
55667
55671
|
[
|
|
55668
|
-
|
|
55672
|
+
p,
|
|
55669
55673
|
$
|
|
55670
55674
|
],
|
|
55671
55675
|
[
|
|
55672
|
-
|
|
55676
|
+
f,
|
|
55673
55677
|
g
|
|
55674
55678
|
]
|
|
55675
55679
|
],
|
|
@@ -55677,10 +55681,10 @@
|
|
|
55677
55681
|
/((pebble))app/i
|
|
55678
55682
|
],
|
|
55679
55683
|
[
|
|
55680
|
-
|
|
55684
|
+
p,
|
|
55681
55685
|
d,
|
|
55682
55686
|
[
|
|
55683
|
-
|
|
55687
|
+
f,
|
|
55684
55688
|
k
|
|
55685
55689
|
]
|
|
55686
55690
|
],
|
|
@@ -55690,11 +55694,11 @@
|
|
|
55690
55694
|
[
|
|
55691
55695
|
d,
|
|
55692
55696
|
[
|
|
55693
|
-
|
|
55697
|
+
p,
|
|
55694
55698
|
B
|
|
55695
55699
|
],
|
|
55696
55700
|
[
|
|
55697
|
-
|
|
55701
|
+
f,
|
|
55698
55702
|
k
|
|
55699
55703
|
]
|
|
55700
55704
|
],
|
|
@@ -55704,11 +55708,11 @@
|
|
|
55704
55708
|
[
|
|
55705
55709
|
d,
|
|
55706
55710
|
[
|
|
55707
|
-
|
|
55711
|
+
p,
|
|
55708
55712
|
T
|
|
55709
55713
|
],
|
|
55710
55714
|
[
|
|
55711
|
-
|
|
55715
|
+
f,
|
|
55712
55716
|
k
|
|
55713
55717
|
]
|
|
55714
55718
|
],
|
|
@@ -55718,11 +55722,11 @@
|
|
|
55718
55722
|
[
|
|
55719
55723
|
d,
|
|
55720
55724
|
[
|
|
55721
|
-
|
|
55725
|
+
p,
|
|
55722
55726
|
L
|
|
55723
55727
|
],
|
|
55724
55728
|
[
|
|
55725
|
-
|
|
55729
|
+
f,
|
|
55726
55730
|
k
|
|
55727
55731
|
]
|
|
55728
55732
|
],
|
|
@@ -55732,11 +55736,11 @@
|
|
|
55732
55736
|
[
|
|
55733
55737
|
d,
|
|
55734
55738
|
[
|
|
55735
|
-
|
|
55739
|
+
p,
|
|
55736
55740
|
F
|
|
55737
55741
|
],
|
|
55738
55742
|
[
|
|
55739
|
-
|
|
55743
|
+
f,
|
|
55740
55744
|
k
|
|
55741
55745
|
]
|
|
55742
55746
|
],
|
|
@@ -55744,9 +55748,9 @@
|
|
|
55744
55748
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
55745
55749
|
],
|
|
55746
55750
|
[
|
|
55747
|
-
|
|
55751
|
+
p,
|
|
55748
55752
|
[
|
|
55749
|
-
|
|
55753
|
+
f,
|
|
55750
55754
|
y
|
|
55751
55755
|
]
|
|
55752
55756
|
],
|
|
@@ -55756,11 +55760,11 @@
|
|
|
55756
55760
|
[
|
|
55757
55761
|
d,
|
|
55758
55762
|
[
|
|
55759
|
-
|
|
55763
|
+
p,
|
|
55760
55764
|
C
|
|
55761
55765
|
],
|
|
55762
55766
|
[
|
|
55763
|
-
|
|
55767
|
+
f,
|
|
55764
55768
|
y
|
|
55765
55769
|
]
|
|
55766
55770
|
],
|
|
@@ -55770,7 +55774,7 @@
|
|
|
55770
55774
|
[
|
|
55771
55775
|
d,
|
|
55772
55776
|
[
|
|
55773
|
-
|
|
55777
|
+
f,
|
|
55774
55778
|
b
|
|
55775
55779
|
]
|
|
55776
55780
|
],
|
|
@@ -55780,7 +55784,7 @@
|
|
|
55780
55784
|
[
|
|
55781
55785
|
d,
|
|
55782
55786
|
[
|
|
55783
|
-
|
|
55787
|
+
f,
|
|
55784
55788
|
v
|
|
55785
55789
|
]
|
|
55786
55790
|
],
|
|
@@ -55789,7 +55793,7 @@
|
|
|
55789
55793
|
],
|
|
55790
55794
|
[
|
|
55791
55795
|
[
|
|
55792
|
-
|
|
55796
|
+
f,
|
|
55793
55797
|
v
|
|
55794
55798
|
]
|
|
55795
55799
|
],
|
|
@@ -55798,7 +55802,7 @@
|
|
|
55798
55802
|
],
|
|
55799
55803
|
[
|
|
55800
55804
|
[
|
|
55801
|
-
|
|
55805
|
+
f,
|
|
55802
55806
|
b
|
|
55803
55807
|
]
|
|
55804
55808
|
],
|
|
@@ -55808,7 +55812,7 @@
|
|
|
55808
55812
|
[
|
|
55809
55813
|
d,
|
|
55810
55814
|
[
|
|
55811
|
-
|
|
55815
|
+
p,
|
|
55812
55816
|
"Generic"
|
|
55813
55817
|
]
|
|
55814
55818
|
]
|
|
@@ -56059,7 +56063,7 @@
|
|
|
56059
56063
|
return t[m] = void 0, X.call(t, g, k.cpu), t;
|
|
56060
56064
|
}, this.getDevice = function() {
|
|
56061
56065
|
var t = {};
|
|
56062
|
-
return t[
|
|
56066
|
+
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;
|
|
56063
56067
|
}, this.getEngine = function() {
|
|
56064
56068
|
var t = {};
|
|
56065
56069
|
return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
|
|
@@ -56089,8 +56093,8 @@
|
|
|
56089
56093
|
m
|
|
56090
56094
|
]), K.DEVICE = W([
|
|
56091
56095
|
d,
|
|
56092
|
-
f,
|
|
56093
56096
|
p,
|
|
56097
|
+
f,
|
|
56094
56098
|
g,
|
|
56095
56099
|
b,
|
|
56096
56100
|
w,
|
|
@@ -56113,9 +56117,9 @@
|
|
|
56113
56117
|
};
|
|
56114
56118
|
}
|
|
56115
56119
|
}("object" == typeof window ? window : nE), nS.exports;
|
|
56116
|
-
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(),
|
|
56120
|
+
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), f = function(t) {
|
|
56117
56121
|
return i.setUA(t);
|
|
56118
|
-
},
|
|
56122
|
+
}, p = function(t) {
|
|
56119
56123
|
if (!t) return void console.error("No userAgent string was provided");
|
|
56120
56124
|
var r = new n(t);
|
|
56121
56125
|
return {
|
|
@@ -56138,8 +56142,8 @@
|
|
|
56138
56142
|
engine: l,
|
|
56139
56143
|
os: d,
|
|
56140
56144
|
ua: u,
|
|
56141
|
-
setUa:
|
|
56142
|
-
parseUserAgent:
|
|
56145
|
+
setUa: f,
|
|
56146
|
+
parseUserAgent: p
|
|
56143
56147
|
});
|
|
56144
56148
|
function m(t, r) {
|
|
56145
56149
|
var o = Object.keys(t);
|
|
@@ -56358,9 +56362,9 @@
|
|
|
56358
56362
|
}, eu = function(t) {
|
|
56359
56363
|
var r = t.name;
|
|
56360
56364
|
return r === $.InternetExplorer || r === $.Ie;
|
|
56361
|
-
}, ep = function(t) {
|
|
56362
|
-
return t.name === $.MIUI;
|
|
56363
56365
|
}, ef = function(t) {
|
|
56366
|
+
return t.name === $.MIUI;
|
|
56367
|
+
}, ep = function(t) {
|
|
56364
56368
|
return t.name === $.SamsungBrowser;
|
|
56365
56369
|
}, eh = function(t) {
|
|
56366
56370
|
return M(t.version);
|
|
@@ -56433,13 +56437,13 @@
|
|
|
56433
56437
|
isLegacyEdge: ea(n) && !ek(s),
|
|
56434
56438
|
isWindows: K(i),
|
|
56435
56439
|
isMacOs: Y(i),
|
|
56436
|
-
isMIUI:
|
|
56437
|
-
isSamsungBrowser:
|
|
56440
|
+
isMIUI: ef(n),
|
|
56441
|
+
isSamsungBrowser: ep(n)
|
|
56438
56442
|
};
|
|
56439
56443
|
}
|
|
56440
|
-
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 =
|
|
56444
|
+
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);
|
|
56441
56445
|
function ta(t) {
|
|
56442
|
-
return
|
|
56446
|
+
return p(t || window.navigator.userAgent);
|
|
56443
56447
|
}
|
|
56444
56448
|
return nP.AndroidView = function(r) {
|
|
56445
56449
|
var n = r.renderWithFragment, i = r.children, a = y(r, [
|
|
@@ -56523,7 +56527,7 @@
|
|
|
56523
56527
|
]);
|
|
56524
56528
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
56525
56529
|
}, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
|
|
56526
|
-
var r, o, n, i, a, s, c, l, d, u,
|
|
56530
|
+
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;
|
|
56527
56531
|
if (I) {
|
|
56528
56532
|
return r = I, o = E, n = T, i = D, a = $, {
|
|
56529
56533
|
isBrowser: r,
|
|
@@ -56548,10 +56552,10 @@
|
|
|
56548
56552
|
};
|
|
56549
56553
|
}
|
|
56550
56554
|
if (N) {
|
|
56551
|
-
return u = N,
|
|
56555
|
+
return u = N, f = T, m = D, g = $, {
|
|
56552
56556
|
isConsole: u,
|
|
56553
|
-
engineName: M(
|
|
56554
|
-
engineVersion: M(
|
|
56557
|
+
engineName: M(f.name),
|
|
56558
|
+
engineVersion: M(f.version),
|
|
56555
56559
|
osName: M(m.name),
|
|
56556
56560
|
osVersion: M(m.version),
|
|
56557
56561
|
userAgent: M(g)
|
|
@@ -56582,7 +56586,7 @@
|
|
|
56582
56586
|
}
|
|
56583
56587
|
}, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
|
|
56584
56588
|
if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
|
|
56585
|
-
var r =
|
|
56589
|
+
var r = p(t);
|
|
56586
56590
|
return eP({
|
|
56587
56591
|
device: r.device,
|
|
56588
56592
|
browser: r.browser,
|
|
@@ -56590,8 +56594,8 @@
|
|
|
56590
56594
|
engine: r.engine,
|
|
56591
56595
|
ua: r.ua
|
|
56592
56596
|
});
|
|
56593
|
-
}, 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 =
|
|
56594
|
-
return
|
|
56597
|
+
}, 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) {
|
|
56598
|
+
return f(t);
|
|
56595
56599
|
}, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
|
|
56596
56600
|
var r = ta(t || window.navigator.userAgent);
|
|
56597
56601
|
return [
|
|
@@ -56797,7 +56801,7 @@
|
|
|
56797
56801
|
var nM = oX(function() {
|
|
56798
56802
|
if (tW) return tV;
|
|
56799
56803
|
tW = 1;
|
|
56800
|
-
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,
|
|
56804
|
+
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() {
|
|
56801
56805
|
return l.Date.now();
|
|
56802
56806
|
};
|
|
56803
56807
|
function h(t) {
|
|
@@ -56813,8 +56817,8 @@
|
|
|
56813
56817
|
}
|
|
56814
56818
|
if ("string" != typeof s) return 0 === s ? s : +s;
|
|
56815
56819
|
s = s.replace(r, "");
|
|
56816
|
-
var
|
|
56817
|
-
return
|
|
56820
|
+
var f = n.test(s);
|
|
56821
|
+
return f || i.test(s) ? a(s.slice(2), f ? 2 : 8) : o.test(s) ? t : +s;
|
|
56818
56822
|
}
|
|
56819
56823
|
return tV = function(t, r, o) {
|
|
56820
56824
|
var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
|
|
@@ -56829,15 +56833,15 @@
|
|
|
56829
56833
|
return void 0 === l || o >= r || o < 0 || b && n >= a;
|
|
56830
56834
|
}
|
|
56831
56835
|
function y() {
|
|
56832
|
-
var t, o, n, i, s =
|
|
56836
|
+
var t, o, n, i, s = p();
|
|
56833
56837
|
if (k(s)) return C(s);
|
|
56834
|
-
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ?
|
|
56838
|
+
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? f(i, a - n) : i));
|
|
56835
56839
|
}
|
|
56836
56840
|
function C(t) {
|
|
56837
56841
|
return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
|
|
56838
56842
|
}
|
|
56839
56843
|
function B() {
|
|
56840
|
-
var t, o =
|
|
56844
|
+
var t, o = p(), a = k(o);
|
|
56841
56845
|
if (n = arguments, i = this, l = o, a) {
|
|
56842
56846
|
if (void 0 === c) {
|
|
56843
56847
|
return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
|
|
@@ -56849,7 +56853,7 @@
|
|
|
56849
56853
|
return B.cancel = function() {
|
|
56850
56854
|
void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
|
|
56851
56855
|
}, B.flush = function() {
|
|
56852
|
-
return void 0 === c ? s : C(
|
|
56856
|
+
return void 0 === c ? s : C(p());
|
|
56853
56857
|
}, B;
|
|
56854
56858
|
};
|
|
56855
56859
|
}()), nA = {
|
|
@@ -56860,11 +56864,11 @@
|
|
|
56860
56864
|
var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
|
|
56861
56865
|
if (tU) return nR;
|
|
56862
56866
|
tU = 1;
|
|
56863
|
-
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,
|
|
56867
|
+
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;
|
|
56864
56868
|
function k(t) {
|
|
56865
56869
|
if ("object" == typeof t && null !== t) {
|
|
56866
|
-
var
|
|
56867
|
-
switch(
|
|
56870
|
+
var p = t.$$typeof;
|
|
56871
|
+
switch(p){
|
|
56868
56872
|
case r:
|
|
56869
56873
|
switch(t = t.type){
|
|
56870
56874
|
case l:
|
|
@@ -56872,7 +56876,7 @@
|
|
|
56872
56876
|
case n:
|
|
56873
56877
|
case a:
|
|
56874
56878
|
case i:
|
|
56875
|
-
case
|
|
56879
|
+
case f:
|
|
56876
56880
|
return t;
|
|
56877
56881
|
default:
|
|
56878
56882
|
switch(t = t && t.$$typeof){
|
|
@@ -56883,18 +56887,18 @@
|
|
|
56883
56887
|
case s:
|
|
56884
56888
|
return t;
|
|
56885
56889
|
default:
|
|
56886
|
-
return
|
|
56890
|
+
return p;
|
|
56887
56891
|
}
|
|
56888
56892
|
}
|
|
56889
56893
|
case o:
|
|
56890
|
-
return
|
|
56894
|
+
return p;
|
|
56891
56895
|
}
|
|
56892
56896
|
}
|
|
56893
56897
|
}
|
|
56894
56898
|
function y(t) {
|
|
56895
56899
|
return k(t) === d;
|
|
56896
56900
|
}
|
|
56897
|
-
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 =
|
|
56901
|
+
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) {
|
|
56898
56902
|
return y(t) || k(t) === l;
|
|
56899
56903
|
}, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
|
|
56900
56904
|
return k(t) === c;
|
|
@@ -56917,9 +56921,9 @@
|
|
|
56917
56921
|
}, nR.isStrictMode = function(t) {
|
|
56918
56922
|
return k(t) === i;
|
|
56919
56923
|
}, nR.isSuspense = function(t) {
|
|
56920
|
-
return k(t) ===
|
|
56924
|
+
return k(t) === f;
|
|
56921
56925
|
}, nR.isValidElementType = function(t) {
|
|
56922
|
-
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t ===
|
|
56926
|
+
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);
|
|
56923
56927
|
}, nR.typeOf = k, nR;
|
|
56924
56928
|
}(), nA.exports), r = {
|
|
56925
56929
|
childContextTypes: !0,
|
|
@@ -56959,12 +56963,12 @@
|
|
|
56959
56963
|
displayName: !0,
|
|
56960
56964
|
propTypes: !0
|
|
56961
56965
|
}, i[t.Memo] = n;
|
|
56962
|
-
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf,
|
|
56966
|
+
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
|
|
56963
56967
|
return tQ = function t(r, n, i) {
|
|
56964
56968
|
if ("string" != typeof n) {
|
|
56965
|
-
if (
|
|
56966
|
-
var
|
|
56967
|
-
|
|
56969
|
+
if (f) {
|
|
56970
|
+
var p = u(n);
|
|
56971
|
+
p && p !== f && t(r, p, i);
|
|
56968
56972
|
}
|
|
56969
56973
|
var h = c(n);
|
|
56970
56974
|
l && (h = h.concat(l(n)));
|
|
@@ -57121,7 +57125,7 @@
|
|
|
57121
57125
|
else console.warn("Flashlight is not supported or not initialized.");
|
|
57122
57126
|
}, [
|
|
57123
57127
|
c
|
|
57124
|
-
]),
|
|
57128
|
+
]), f = reactExports.useCallback(async ()=>{
|
|
57125
57129
|
if (c && c.isSupported()) try {
|
|
57126
57130
|
await c.turnOff(), d.current = !1;
|
|
57127
57131
|
} catch (t) {
|
|
@@ -57129,15 +57133,15 @@
|
|
|
57129
57133
|
}
|
|
57130
57134
|
}, [
|
|
57131
57135
|
c
|
|
57132
|
-
]),
|
|
57136
|
+
]), p = React.useMemo(()=>({
|
|
57133
57137
|
turnOnFlashlight: u,
|
|
57134
|
-
turnOffFlashlight:
|
|
57138
|
+
turnOffFlashlight: f
|
|
57135
57139
|
}), [
|
|
57136
57140
|
u,
|
|
57137
|
-
|
|
57141
|
+
f
|
|
57138
57142
|
]);
|
|
57139
57143
|
return oZ.jsx(nU.Provider, {
|
|
57140
|
-
value:
|
|
57144
|
+
value: p,
|
|
57141
57145
|
children: s
|
|
57142
57146
|
});
|
|
57143
57147
|
}, { Errors: nQ } = ra$1, nX = dt$1.div`
|
|
@@ -57183,7 +57187,7 @@
|
|
|
57183
57187
|
`;
|
|
57184
57188
|
function nJ(r) {
|
|
57185
57189
|
var s, c;
|
|
57186
|
-
let l, { checkCameraMode: d, frontCamera: u, onClose:
|
|
57190
|
+
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)=>{
|
|
57187
57191
|
B && B(t);
|
|
57188
57192
|
}, [
|
|
57189
57193
|
B
|
|
@@ -57259,8 +57263,8 @@
|
|
|
57259
57263
|
},
|
|
57260
57264
|
...o
|
|
57261
57265
|
}
|
|
57262
|
-
},
|
|
57263
|
-
if (await U(), q(), !
|
|
57266
|
+
}, f = await navigator.mediaDevices.getUserMedia(n);
|
|
57267
|
+
if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
|
|
57264
57268
|
a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
|
|
57265
57269
|
tag: "cam_permission",
|
|
57266
57270
|
event: "user_activity.cam",
|
|
@@ -57273,13 +57277,13 @@
|
|
|
57273
57277
|
log: {}
|
|
57274
57278
|
});
|
|
57275
57279
|
try {
|
|
57276
|
-
let t =
|
|
57277
|
-
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
|
|
57278
|
-
let t =
|
|
57280
|
+
let t = f.getVideoTracks()[0].getSettings();
|
|
57281
|
+
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) {
|
|
57282
|
+
let t = f.getVideoTracks()[0].getCapabilities();
|
|
57279
57283
|
h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
|
|
57280
57284
|
}
|
|
57281
57285
|
} catch (t) {}
|
|
57282
|
-
return
|
|
57286
|
+
return f;
|
|
57283
57287
|
} catch (t) {
|
|
57284
57288
|
a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
|
|
57285
57289
|
tag: "cam_permission",
|
|
@@ -57371,7 +57375,7 @@
|
|
|
57371
57375
|
if (M.current) return ()=>{};
|
|
57372
57376
|
if (!navigator.mediaDevices || nT.browserName && [
|
|
57373
57377
|
"facebook"
|
|
57374
|
-
].includes(nT.browserName.toLowerCase())
|
|
57378
|
+
].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
|
|
57375
57379
|
else if (o) {
|
|
57376
57380
|
if (S) return X(S), ()=>{};
|
|
57377
57381
|
nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
|
|
@@ -57390,13 +57394,13 @@
|
|
|
57390
57394
|
z
|
|
57391
57395
|
]);
|
|
57392
57396
|
let H = reactExports.useCallback(()=>{
|
|
57393
|
-
W(),
|
|
57397
|
+
W(), f && f(), $({
|
|
57394
57398
|
tag: "result",
|
|
57395
57399
|
event: "user_activity.cancel",
|
|
57396
57400
|
log: {}
|
|
57397
57401
|
});
|
|
57398
57402
|
}, [
|
|
57399
|
-
|
|
57403
|
+
f,
|
|
57400
57404
|
W,
|
|
57401
57405
|
$
|
|
57402
57406
|
]);
|
|
@@ -57459,7 +57463,7 @@
|
|
|
57459
57463
|
className: x,
|
|
57460
57464
|
scale: P
|
|
57461
57465
|
}),
|
|
57462
|
-
|
|
57466
|
+
p,
|
|
57463
57467
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
57464
57468
|
onClick: H,
|
|
57465
57469
|
"data-testid": "close-camera"
|
|
@@ -57659,32 +57663,32 @@
|
|
|
57659
57663
|
"left center",
|
|
57660
57664
|
"left bottom"
|
|
57661
57665
|
], io = function(t, r, o, n, i) {
|
|
57662
|
-
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,
|
|
57666
|
+
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%";
|
|
57663
57667
|
switch(l[0]){
|
|
57664
57668
|
case "top":
|
|
57665
|
-
h -=
|
|
57669
|
+
h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
|
|
57666
57670
|
break;
|
|
57667
57671
|
case "bottom":
|
|
57668
|
-
h +=
|
|
57672
|
+
h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
|
|
57669
57673
|
break;
|
|
57670
57674
|
case "left":
|
|
57671
|
-
m -=
|
|
57675
|
+
m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
|
|
57672
57676
|
break;
|
|
57673
57677
|
case "right":
|
|
57674
|
-
m +=
|
|
57678
|
+
m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
|
|
57675
57679
|
}
|
|
57676
57680
|
switch(l[1]){
|
|
57677
57681
|
case "top":
|
|
57678
57682
|
h = t.top, b = t.height / 2 + "px";
|
|
57679
57683
|
break;
|
|
57680
57684
|
case "bottom":
|
|
57681
|
-
h = t.top -
|
|
57685
|
+
h = t.top - f + t.height, b = f - t.height / 2 + "px";
|
|
57682
57686
|
break;
|
|
57683
57687
|
case "left":
|
|
57684
57688
|
m = t.left, v = t.width / 2 + "px";
|
|
57685
57689
|
break;
|
|
57686
57690
|
case "right":
|
|
57687
|
-
m = t.left -
|
|
57691
|
+
m = t.left - p + t.width, v = p - t.width / 2 + "px";
|
|
57688
57692
|
}
|
|
57689
57693
|
return h = "top" === l[0] ? h - s : h + s, {
|
|
57690
57694
|
top: h,
|
|
@@ -57712,12 +57716,12 @@
|
|
|
57712
57716
|
left: 0,
|
|
57713
57717
|
top: 0,
|
|
57714
57718
|
transform: "rotate(135deg)"
|
|
57715
|
-
}, d = 0, u = ii(a),
|
|
57719
|
+
}, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
|
|
57716
57720
|
o
|
|
57717
57721
|
];
|
|
57718
|
-
for((a || Array.isArray(o)) && (
|
|
57719
|
-
var
|
|
57720
|
-
top: (l = io(t, r,
|
|
57722
|
+
for((a || Array.isArray(o)) && (f = [].concat(f, ir)); d < f.length;){
|
|
57723
|
+
var p = {
|
|
57724
|
+
top: (l = io(t, r, f[d], n, {
|
|
57721
57725
|
offsetX: s,
|
|
57722
57726
|
offsetY: c
|
|
57723
57727
|
})).top,
|
|
@@ -57725,7 +57729,7 @@
|
|
|
57725
57729
|
width: r.width,
|
|
57726
57730
|
height: r.height
|
|
57727
57731
|
};
|
|
57728
|
-
if (
|
|
57732
|
+
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++;
|
|
57729
57733
|
else break;
|
|
57730
57734
|
}
|
|
57731
57735
|
return l;
|
|
@@ -57733,7 +57737,7 @@
|
|
|
57733
57737
|
var t = document.getElementById("popup-root");
|
|
57734
57738
|
return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
|
|
57735
57739
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
57736
|
-
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l,
|
|
57740
|
+
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 ? [
|
|
57737
57741
|
"click"
|
|
57738
57742
|
] : 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);
|
|
57739
57743
|
n7(function() {
|
|
@@ -57755,16 +57759,16 @@
|
|
|
57755
57759
|
}, eu = function(t) {
|
|
57756
57760
|
var r;
|
|
57757
57761
|
et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
|
|
57758
|
-
return
|
|
57762
|
+
return p(t);
|
|
57759
57763
|
}, 0));
|
|
57760
|
-
}, ep = function(t) {
|
|
57761
|
-
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57762
57764
|
}, ef = function(t) {
|
|
57765
|
+
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57766
|
+
}, ep = function(t) {
|
|
57763
57767
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57764
57768
|
return ed(t);
|
|
57765
57769
|
}, X);
|
|
57766
57770
|
}, eh = function(t) {
|
|
57767
|
-
null == t || t.preventDefault(),
|
|
57771
|
+
null == t || t.preventDefault(), ef();
|
|
57768
57772
|
}, em = function(t) {
|
|
57769
57773
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57770
57774
|
return eu(t);
|
|
@@ -57786,7 +57790,7 @@
|
|
|
57786
57790
|
eu();
|
|
57787
57791
|
},
|
|
57788
57792
|
toggle: function() {
|
|
57789
|
-
|
|
57793
|
+
ef();
|
|
57790
57794
|
}
|
|
57791
57795
|
};
|
|
57792
57796
|
});
|
|
@@ -57820,7 +57824,7 @@
|
|
|
57820
57824
|
t.stopPropagation();
|
|
57821
57825
|
}
|
|
57822
57826
|
};
|
|
57823
|
-
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter =
|
|
57827
|
+
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
|
|
57824
57828
|
}, ey = function() {
|
|
57825
57829
|
return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
|
|
57826
57830
|
key: "C",
|
|
@@ -57867,16 +57871,16 @@
|
|
|
57867
57871
|
P
|
|
57868
57872
|
], n = 0, i = o.length; n < i; n++)switch(o[n]){
|
|
57869
57873
|
case "click":
|
|
57870
|
-
r.onClick =
|
|
57874
|
+
r.onClick = ef;
|
|
57871
57875
|
break;
|
|
57872
57876
|
case "right-click":
|
|
57873
57877
|
r.onContextMenu = eh;
|
|
57874
57878
|
break;
|
|
57875
57879
|
case "hover":
|
|
57876
|
-
r.onMouseEnter =
|
|
57880
|
+
r.onMouseEnter = ep, r.onMouseLeave = em;
|
|
57877
57881
|
break;
|
|
57878
57882
|
case "focus":
|
|
57879
|
-
r.onFocus =
|
|
57883
|
+
r.onFocus = ep, r.onBlur = em;
|
|
57880
57884
|
}
|
|
57881
57885
|
if ("function" == typeof c) {
|
|
57882
57886
|
var a = c(et);
|
|
@@ -58143,7 +58147,7 @@
|
|
|
58143
58147
|
}
|
|
58144
58148
|
}, im = "default", ig = "error";
|
|
58145
58149
|
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 }) {
|
|
58146
|
-
let
|
|
58150
|
+
let p = reactExports.useMemo(()=>({
|
|
58147
58151
|
[im]: l,
|
|
58148
58152
|
[ig]: d,
|
|
58149
58153
|
...i
|
|
@@ -58151,7 +58155,7 @@
|
|
|
58151
58155
|
l,
|
|
58152
58156
|
d,
|
|
58153
58157
|
i
|
|
58154
|
-
]), h = s + a * u, m =
|
|
58158
|
+
]), h = s + a * u, m = p[n];
|
|
58155
58159
|
return oZ.jsxs("svg", {
|
|
58156
58160
|
width: r,
|
|
58157
58161
|
height: o,
|
|
@@ -58370,8 +58374,8 @@
|
|
|
58370
58374
|
if (o && !a || !o && !s) return null;
|
|
58371
58375
|
let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
|
|
58372
58376
|
d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
|
|
58373
|
-
let
|
|
58374
|
-
|
|
58377
|
+
let f = d.getContext("2d"), p = u.getContext("2d");
|
|
58378
|
+
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);
|
|
58375
58379
|
let [h, m] = await Promise.all([
|
|
58376
58380
|
fb.getModelPredictions({
|
|
58377
58381
|
model: t,
|
|
@@ -58412,13 +58416,13 @@
|
|
|
58412
58416
|
return i;
|
|
58413
58417
|
}, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
|
|
58414
58418
|
if (null === t) return !0;
|
|
58415
|
-
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large,
|
|
58416
|
-
return (!c || !(
|
|
58419
|
+
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, f = r?.small, p = r?.large;
|
|
58420
|
+
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);
|
|
58417
58421
|
};
|
|
58418
58422
|
function iW(t, r, o, n, i) {
|
|
58419
58423
|
o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
|
|
58420
|
-
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n,
|
|
58421
|
-
o.strokeRect(l, d, u - l,
|
|
58424
|
+
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;
|
|
58425
|
+
o.strokeRect(l, d, u - l, f - d);
|
|
58422
58426
|
}));
|
|
58423
58427
|
}
|
|
58424
58428
|
function iU(t) {
|
|
@@ -59224,14 +59228,14 @@
|
|
|
59224
59228
|
_drawToCanvas(t, r, o, n, i, a) {
|
|
59225
59229
|
if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
|
|
59226
59230
|
this._lastFrameTime = 0;
|
|
59227
|
-
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i,
|
|
59231
|
+
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
|
|
59228
59232
|
if (this._stopDrawing) {
|
|
59229
59233
|
this._animationFrameId = null;
|
|
59230
59234
|
return;
|
|
59231
59235
|
}
|
|
59232
|
-
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(
|
|
59236
|
+
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
|
|
59233
59237
|
};
|
|
59234
|
-
this._animationFrameId = requestAnimationFrame(
|
|
59238
|
+
this._animationFrameId = requestAnimationFrame(f);
|
|
59235
59239
|
}
|
|
59236
59240
|
stopDrawing() {
|
|
59237
59241
|
this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
|
|
@@ -59241,10 +59245,10 @@
|
|
|
59241
59245
|
this.clearVideoChunks(), this._stopDrawing = !1;
|
|
59242
59246
|
let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
|
|
59243
59247
|
aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
|
|
59244
|
-
let
|
|
59245
|
-
|
|
59246
|
-
let
|
|
59247
|
-
if (!
|
|
59248
|
+
let f = document.createElement("canvas");
|
|
59249
|
+
f.width = n, f.height = i;
|
|
59250
|
+
let p = f.getContext("2d");
|
|
59251
|
+
if (!p) return console.error("Could not get canvas context."), {
|
|
59248
59252
|
mediaRecorder: null
|
|
59249
59253
|
};
|
|
59250
59254
|
try {
|
|
@@ -59252,7 +59256,7 @@
|
|
|
59252
59256
|
mimeType: "video/webm",
|
|
59253
59257
|
videoBitsPerSecond: c
|
|
59254
59258
|
}, i = nT.isIOS ? "video/mp4" : "video/webm";
|
|
59255
|
-
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(
|
|
59259
|
+
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 = {
|
|
59256
59260
|
mimeType: i,
|
|
59257
59261
|
videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
|
|
59258
59262
|
}), !this._stream) throw Error("Failed to create a media stream for recording.");
|
|
@@ -59307,7 +59311,7 @@
|
|
|
59307
59311
|
}
|
|
59308
59312
|
}, [
|
|
59309
59313
|
i
|
|
59310
|
-
]),
|
|
59314
|
+
]), p = reactExports.useCallback(()=>{
|
|
59311
59315
|
if (s.current && r.current) try {
|
|
59312
59316
|
s.current.discardRecording(), r.current = !1;
|
|
59313
59317
|
} catch (t) {
|
|
@@ -59316,19 +59320,19 @@
|
|
|
59316
59320
|
}, []);
|
|
59317
59321
|
return reactExports.useEffect(()=>{
|
|
59318
59322
|
let t = ()=>{
|
|
59319
|
-
"hidden" === document.visibilityState ?
|
|
59323
|
+
"hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
|
|
59320
59324
|
};
|
|
59321
59325
|
return document.addEventListener("visibilitychange", t), ()=>{
|
|
59322
59326
|
document.removeEventListener("visibilitychange", t);
|
|
59323
59327
|
};
|
|
59324
59328
|
}, [
|
|
59325
59329
|
l,
|
|
59326
|
-
|
|
59330
|
+
p
|
|
59327
59331
|
]), {
|
|
59328
59332
|
startRecording: l,
|
|
59329
59333
|
stopRecording: d,
|
|
59330
59334
|
resetRecording: u,
|
|
59331
|
-
discardRecording:
|
|
59335
|
+
discardRecording: p
|
|
59332
59336
|
};
|
|
59333
59337
|
}, { Errors: a$ } = ra$1, aj = ()=>({
|
|
59334
59338
|
imageBlob: null,
|
|
@@ -59541,22 +59545,22 @@
|
|
|
59541
59545
|
});
|
|
59542
59546
|
}
|
|
59543
59547
|
let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
59544
|
-
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo:
|
|
59548
|
+
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")({
|
|
59545
59549
|
theme: T
|
|
59546
|
-
}), 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(()=>{}),
|
|
59550
|
+
}), 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)=>{
|
|
59547
59551
|
null === t ? er("") : er(Y(t?.code, {
|
|
59548
59552
|
side: k ? Y("front") : Y("back")
|
|
59549
59553
|
}));
|
|
59550
59554
|
}, [
|
|
59551
59555
|
Y,
|
|
59552
59556
|
k
|
|
59553
|
-
]),
|
|
59557
|
+
]), ep = reactExports.useCallback(()=>{
|
|
59554
59558
|
ee(""), eu.current();
|
|
59555
59559
|
}, []), eh = reactExports.useCallback((...t)=>{
|
|
59556
59560
|
ee(""), B(...t);
|
|
59557
59561
|
}, [
|
|
59558
59562
|
B
|
|
59559
|
-
]), { 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:
|
|
59563
|
+
]), { 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 })=>{
|
|
59560
59564
|
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(()=>{
|
|
59561
59565
|
Q((t)=>!t);
|
|
59562
59566
|
}, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
|
|
@@ -59597,30 +59601,30 @@
|
|
|
59597
59601
|
l.blurLargeThresholdAuto,
|
|
59598
59602
|
l.blurLargeThresholdManual,
|
|
59599
59603
|
l.enableAutoCapture
|
|
59600
|
-
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState:
|
|
59604
|
+
]), { 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 }) {
|
|
59601
59605
|
let C = reactExports.useRef(null);
|
|
59602
59606
|
null === C.current && (C.current = document.createElement("canvas"));
|
|
59603
|
-
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 } =
|
|
59604
|
-
videoFrameWidth:
|
|
59605
|
-
videoFrameHeight:
|
|
59606
|
-
videoBitrate:
|
|
59607
|
-
fps:
|
|
59607
|
+
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(()=>({
|
|
59608
|
+
videoFrameWidth: p.recordVideoFrameWidth,
|
|
59609
|
+
videoFrameHeight: p.recordVideoFrameHeight,
|
|
59610
|
+
videoBitrate: p.recordVideoBitrate,
|
|
59611
|
+
fps: p.recordVideoFps
|
|
59608
59612
|
}), [
|
|
59609
|
-
|
|
59610
|
-
|
|
59611
|
-
|
|
59612
|
-
|
|
59613
|
+
p.recordVideoBitrate,
|
|
59614
|
+
p.recordVideoFps,
|
|
59615
|
+
p.recordVideoFrameHeight,
|
|
59616
|
+
p.recordVideoFrameWidth
|
|
59613
59617
|
]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
|
|
59614
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59618
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
|
|
59615
59619
|
g,
|
|
59616
|
-
|
|
59617
|
-
|
|
59620
|
+
p.enableRecordCapturingBack,
|
|
59621
|
+
p.enableRecordCapturingFront
|
|
59618
59622
|
])
|
|
59619
59623
|
}), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
|
|
59620
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59624
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
|
|
59621
59625
|
g,
|
|
59622
|
-
|
|
59623
|
-
|
|
59626
|
+
p.enableRecordFullSessionBack,
|
|
59627
|
+
p.enableRecordFullSessionFront
|
|
59624
59628
|
])
|
|
59625
59629
|
}), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
|
|
59626
59630
|
let t = reactExports.useContext(nU);
|
|
@@ -59634,8 +59638,8 @@
|
|
|
59634
59638
|
]), reactExports.useEffect(()=>{
|
|
59635
59639
|
let t = !1;
|
|
59636
59640
|
return async function r() {
|
|
59637
|
-
if (
|
|
59638
|
-
if (
|
|
59641
|
+
if (p && !I) {
|
|
59642
|
+
if (p.enableIdDetection) {
|
|
59639
59643
|
let t = ((t, r)=>{
|
|
59640
59644
|
if (0 === t.length) return {
|
|
59641
59645
|
isValid: !1
|
|
@@ -59656,7 +59660,7 @@
|
|
|
59656
59660
|
} : {
|
|
59657
59661
|
isValid: !1
|
|
59658
59662
|
};
|
|
59659
|
-
})(Z.map((t)=>t.code),
|
|
59663
|
+
})(Z.map((t)=>t.code), p?.cardTypeModelMapping);
|
|
59660
59664
|
if (!t.isValid) {
|
|
59661
59665
|
U(a$.invalid_card_type_config), Q(!1), O(!0);
|
|
59662
59666
|
return;
|
|
@@ -59665,7 +59669,7 @@
|
|
|
59665
59669
|
V.current = await a_({
|
|
59666
59670
|
...W,
|
|
59667
59671
|
idCardModelUrl: r
|
|
59668
|
-
}, t.cardModel), await fY.initTensorFlow(), N.current =
|
|
59672
|
+
}, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
|
|
59669
59673
|
} else Q(!1), N.current = !1;
|
|
59670
59674
|
t || O(!0);
|
|
59671
59675
|
}
|
|
@@ -59674,7 +59678,7 @@
|
|
|
59674
59678
|
};
|
|
59675
59679
|
}, [
|
|
59676
59680
|
I,
|
|
59677
|
-
|
|
59681
|
+
p,
|
|
59678
59682
|
W,
|
|
59679
59683
|
Z,
|
|
59680
59684
|
U
|
|
@@ -59691,13 +59695,13 @@
|
|
|
59691
59695
|
});
|
|
59692
59696
|
}, [
|
|
59693
59697
|
k
|
|
59694
|
-
]),
|
|
59698
|
+
]), ef = reactExports.useCallback(()=>{
|
|
59695
59699
|
Y || (en(), es());
|
|
59696
59700
|
}, [
|
|
59697
59701
|
Y,
|
|
59698
59702
|
en,
|
|
59699
59703
|
es
|
|
59700
|
-
]),
|
|
59704
|
+
]), ep = reactExports.useCallback(async ()=>{
|
|
59701
59705
|
let t = {
|
|
59702
59706
|
capturingVideo: {
|
|
59703
59707
|
blob: null
|
|
@@ -59712,18 +59716,18 @@
|
|
|
59712
59716
|
}, [
|
|
59713
59717
|
eo,
|
|
59714
59718
|
ea
|
|
59715
|
-
]), eh = reactExports.useMemo(()=>g ?
|
|
59719
|
+
]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
|
|
59716
59720
|
g,
|
|
59717
|
-
|
|
59718
|
-
|
|
59719
|
-
]), em = reactExports.useMemo(()=>g ?
|
|
59721
|
+
p.enableFlashlightBack,
|
|
59722
|
+
p.enableFlashlightFront
|
|
59723
|
+
]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
|
|
59720
59724
|
g,
|
|
59721
|
-
|
|
59722
|
-
|
|
59723
|
-
]), eg = reactExports.useMemo(()=>g ?
|
|
59725
|
+
p.flashlightActivationDelayBack,
|
|
59726
|
+
p.flashlightActivationDelayFront
|
|
59727
|
+
]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
|
|
59724
59728
|
g,
|
|
59725
|
-
|
|
59726
|
-
|
|
59729
|
+
p.flashlightDurationBack,
|
|
59730
|
+
p.flashlightDurationFront
|
|
59727
59731
|
]), eb = reactExports.useCallback(()=>{
|
|
59728
59732
|
!ed.current && eh && (ed.current = !0, setTimeout(()=>{
|
|
59729
59733
|
ec(eg);
|
|
@@ -59740,9 +59744,9 @@
|
|
|
59740
59744
|
]), ew = reactExports.useCallback(()=>{
|
|
59741
59745
|
!0 === T.current && (T.current = !1);
|
|
59742
59746
|
}, []), ek = reactExports.useCallback(()=>{
|
|
59743
|
-
|
|
59747
|
+
ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
|
|
59744
59748
|
}, [
|
|
59745
|
-
|
|
59749
|
+
ef
|
|
59746
59750
|
]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59747
59751
|
await er({
|
|
59748
59752
|
videoEl: l.current,
|
|
@@ -59755,7 +59759,7 @@
|
|
|
59755
59759
|
incomingFrameBlurScore: t,
|
|
59756
59760
|
currentFrameGlareScore: i.glareScore,
|
|
59757
59761
|
incomingFrameGlareScore: n,
|
|
59758
|
-
settings:
|
|
59762
|
+
settings: p,
|
|
59759
59763
|
blurLargeThreshold: s,
|
|
59760
59764
|
blurSmallThreshold: r
|
|
59761
59765
|
})) {
|
|
@@ -59773,25 +59777,25 @@
|
|
|
59773
59777
|
}
|
|
59774
59778
|
i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
|
|
59775
59779
|
}
|
|
59776
|
-
|
|
59780
|
+
p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
|
|
59777
59781
|
}, [
|
|
59778
59782
|
er,
|
|
59779
59783
|
l,
|
|
59780
59784
|
et,
|
|
59781
59785
|
eb,
|
|
59782
|
-
|
|
59786
|
+
p,
|
|
59783
59787
|
s,
|
|
59784
59788
|
r,
|
|
59785
59789
|
k
|
|
59786
59790
|
]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59787
59791
|
F.current = !0;
|
|
59788
59792
|
let i = A.current;
|
|
59789
|
-
if (
|
|
59793
|
+
if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
|
|
59790
59794
|
currentFrameBlurScore: i.blurScore,
|
|
59791
59795
|
currentFrameGlareScore: i.glareScore,
|
|
59792
59796
|
incomingFrameBlurScore: t,
|
|
59793
59797
|
incomingFrameGlareScore: n,
|
|
59794
|
-
settings:
|
|
59798
|
+
settings: p,
|
|
59795
59799
|
blurLargeThreshold: s,
|
|
59796
59800
|
blurSmallThreshold: r
|
|
59797
59801
|
})) {
|
|
@@ -59810,19 +59814,19 @@
|
|
|
59810
59814
|
s,
|
|
59811
59815
|
r,
|
|
59812
59816
|
k,
|
|
59813
|
-
|
|
59817
|
+
p
|
|
59814
59818
|
]), eB = reactExports.useCallback(async ()=>{
|
|
59815
|
-
let { autoCaptureWaitForBestImageTimeMs: t } =
|
|
59819
|
+
let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
|
|
59816
59820
|
if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
|
|
59817
|
-
let t = await
|
|
59821
|
+
let t = await ep();
|
|
59818
59822
|
await ev(), await b({
|
|
59819
59823
|
...r,
|
|
59820
59824
|
...t
|
|
59821
59825
|
}), J(!1), R.current = null;
|
|
59822
59826
|
}
|
|
59823
59827
|
}, [
|
|
59824
|
-
|
|
59825
|
-
|
|
59828
|
+
p,
|
|
59829
|
+
ep,
|
|
59826
59830
|
ev,
|
|
59827
59831
|
b
|
|
59828
59832
|
]), e_ = reactExports.useCallback(()=>{
|
|
@@ -59837,7 +59841,7 @@
|
|
|
59837
59841
|
resultAnalyzeVideoAndWindowSizes: D.current,
|
|
59838
59842
|
recordVideoSettings: et
|
|
59839
59843
|
}), eb(), new Promise((t)=>{
|
|
59840
|
-
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } =
|
|
59844
|
+
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
|
|
59841
59845
|
if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
|
|
59842
59846
|
ex().then(async ()=>{
|
|
59843
59847
|
await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
|
|
@@ -59852,7 +59856,7 @@
|
|
|
59852
59856
|
quality: k
|
|
59853
59857
|
}).then(async (n)=>{
|
|
59854
59858
|
i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
|
|
59855
|
-
let a = await
|
|
59859
|
+
let a = await ep();
|
|
59856
59860
|
t({
|
|
59857
59861
|
...i,
|
|
59858
59862
|
...a
|
|
@@ -59860,7 +59864,7 @@
|
|
|
59860
59864
|
});
|
|
59861
59865
|
} else {
|
|
59862
59866
|
o && await eu(i.detectedCard);
|
|
59863
|
-
let r = await
|
|
59867
|
+
let r = await ep();
|
|
59864
59868
|
t({
|
|
59865
59869
|
...i,
|
|
59866
59870
|
...r
|
|
@@ -59887,10 +59891,10 @@
|
|
|
59887
59891
|
l,
|
|
59888
59892
|
et,
|
|
59889
59893
|
eb,
|
|
59890
|
-
|
|
59894
|
+
p,
|
|
59891
59895
|
e_,
|
|
59892
59896
|
ex,
|
|
59893
|
-
|
|
59897
|
+
ep,
|
|
59894
59898
|
ev,
|
|
59895
59899
|
r,
|
|
59896
59900
|
s,
|
|
@@ -59924,10 +59928,10 @@
|
|
|
59924
59928
|
portraitTopLeft: c,
|
|
59925
59929
|
portraitBottomRight: l
|
|
59926
59930
|
};
|
|
59927
|
-
}(t,
|
|
59931
|
+
}(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
|
|
59928
59932
|
let { cv: o } = window;
|
|
59929
59933
|
if (!o) throw Error("Opencv not found!");
|
|
59930
|
-
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t,
|
|
59934
|
+
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, [
|
|
59931
59935
|
n.x,
|
|
59932
59936
|
n.y,
|
|
59933
59937
|
i.x,
|
|
@@ -59936,7 +59940,7 @@
|
|
|
59936
59940
|
a.y,
|
|
59937
59941
|
s.x,
|
|
59938
59942
|
s.y
|
|
59939
|
-
]),
|
|
59943
|
+
]), p = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59940
59944
|
0,
|
|
59941
59945
|
0,
|
|
59942
59946
|
c - 1,
|
|
@@ -59945,7 +59949,7 @@
|
|
|
59945
59949
|
l - 1,
|
|
59946
59950
|
0,
|
|
59947
59951
|
l - 1
|
|
59948
|
-
]), h = o.getPerspectiveTransform(
|
|
59952
|
+
]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
|
|
59949
59953
|
let r = o.matFromArray(1, 1, o.CV_32FC2, [
|
|
59950
59954
|
t[0],
|
|
59951
59955
|
t[1]
|
|
@@ -59959,7 +59963,7 @@
|
|
|
59959
59963
|
Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
|
|
59960
59964
|
];
|
|
59961
59965
|
}, g = m(d), b = m(u);
|
|
59962
|
-
return
|
|
59966
|
+
return f.delete(), p.delete(), h.delete(), [
|
|
59963
59967
|
parseInt(g[0], 10),
|
|
59964
59968
|
parseInt(g[1], 10),
|
|
59965
59969
|
parseInt(b[0], 10),
|
|
@@ -60037,9 +60041,9 @@
|
|
|
60037
60041
|
};
|
|
60038
60042
|
}
|
|
60039
60043
|
}, [
|
|
60040
|
-
|
|
60044
|
+
p
|
|
60041
60045
|
]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
|
|
60042
|
-
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding:
|
|
60046
|
+
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 = {
|
|
60043
60047
|
error: null
|
|
60044
60048
|
};
|
|
60045
60049
|
try {
|
|
@@ -60056,12 +60060,12 @@
|
|
|
60056
60060
|
area: c.width * c.height
|
|
60057
60061
|
},
|
|
60058
60062
|
big: {
|
|
60059
|
-
area:
|
|
60063
|
+
area: f * h
|
|
60060
60064
|
}
|
|
60061
60065
|
});
|
|
60062
60066
|
if (l < .5) throw Error("id_detector_card_too_small");
|
|
60063
60067
|
if (l > .95) throw Error("id_detector_error_incomplete");
|
|
60064
|
-
if (k && nn(
|
|
60068
|
+
if (k && nn(p, "enableCardTypeCheck")) {
|
|
60065
60069
|
let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
|
|
60066
60070
|
let o = t.split(".")?.[0];
|
|
60067
60071
|
if (o !== r[0].split(".")?.[0]) return {
|
|
@@ -60135,8 +60139,8 @@
|
|
|
60135
60139
|
smallThreshold: r,
|
|
60136
60140
|
largeThreshold: s
|
|
60137
60141
|
}), u = {
|
|
60138
|
-
small: iz(d?.[0],
|
|
60139
|
-
large: iz(d?.[1],
|
|
60142
|
+
small: iz(d?.[0], p.blurSmallDecimal),
|
|
60143
|
+
large: iz(d?.[1], p.blurLargeDecimal)
|
|
60140
60144
|
};
|
|
60141
60145
|
if (eT.current = {
|
|
60142
60146
|
...eT.current,
|
|
@@ -60152,10 +60156,10 @@
|
|
|
60152
60156
|
}
|
|
60153
60157
|
if (y) {
|
|
60154
60158
|
var I, O, M, A, R, L, F, N;
|
|
60155
|
-
let r, s,
|
|
60159
|
+
let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
|
|
60156
60160
|
eT.current = {
|
|
60157
60161
|
...eT.current,
|
|
60158
|
-
label:
|
|
60162
|
+
label: p,
|
|
60159
60163
|
corner_size: h?.length
|
|
60160
60164
|
}, p_.drawDebugCanvas(eE.current, eT.current);
|
|
60161
60165
|
let m = i$ / o.width, g = eS.current.getContext("2d");
|
|
@@ -60167,7 +60171,7 @@
|
|
|
60167
60171
|
o.strokeRect(s, c, l - s, d - c);
|
|
60168
60172
|
}(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
|
|
60169
60173
|
iW(t.bboxes, "blue", I, R, r);
|
|
60170
|
-
}),
|
|
60174
|
+
}), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
|
|
60171
60175
|
iW(t.bboxes, "green", I, R, r);
|
|
60172
60176
|
}), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
|
|
60173
60177
|
let r = t.x * N, o = t.y * N;
|
|
@@ -60176,7 +60180,7 @@
|
|
|
60176
60180
|
}
|
|
60177
60181
|
return T;
|
|
60178
60182
|
}, [
|
|
60179
|
-
|
|
60183
|
+
p,
|
|
60180
60184
|
y,
|
|
60181
60185
|
l,
|
|
60182
60186
|
Z,
|
|
@@ -60185,13 +60189,13 @@
|
|
|
60185
60189
|
s,
|
|
60186
60190
|
eD
|
|
60187
60191
|
]), ej = reactExports.useCallback(async ()=>{
|
|
60188
|
-
if (!
|
|
60192
|
+
if (!p || !I || T.current) return;
|
|
60189
60193
|
M.current = aj(), A.current = aI();
|
|
60190
|
-
let { enableVirtualCamHashes: t } =
|
|
60194
|
+
let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
|
|
60191
60195
|
T.current = !0;
|
|
60192
60196
|
let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
|
|
60193
60197
|
u.width = c, u.height = d;
|
|
60194
|
-
let
|
|
60198
|
+
let f = u.getContext("2d"), h = async ()=>{
|
|
60195
60199
|
if (!1 === T.current) return;
|
|
60196
60200
|
await ei({
|
|
60197
60201
|
videoEl: l.current,
|
|
@@ -60199,11 +60203,11 @@
|
|
|
60199
60203
|
recordVideoSettings: et
|
|
60200
60204
|
});
|
|
60201
60205
|
let n = K.current;
|
|
60202
|
-
|
|
60206
|
+
f.drawImage(i, a, s, c, d, 0, 0, c, d);
|
|
60203
60207
|
let g = performance.now();
|
|
60204
60208
|
if (z.current = !1, q && o) {
|
|
60205
60209
|
let o = await r.predict(u);
|
|
60206
|
-
!
|
|
60210
|
+
!p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
|
|
60207
60211
|
let r = nn(t, "card.corners");
|
|
60208
60212
|
if (r && Array.isArray(r) && r.length > 0) {
|
|
60209
60213
|
let { x: t, y: o } = nn(r, "[0].location");
|
|
@@ -60232,7 +60236,7 @@
|
|
|
60232
60236
|
};
|
|
60233
60237
|
K.current = window.requestAnimationFrame(h);
|
|
60234
60238
|
}, [
|
|
60235
|
-
|
|
60239
|
+
p,
|
|
60236
60240
|
I,
|
|
60237
60241
|
l,
|
|
60238
60242
|
ei,
|
|
@@ -60285,7 +60289,7 @@
|
|
|
60285
60289
|
refBlurScores: X,
|
|
60286
60290
|
refGlareScores: H,
|
|
60287
60291
|
resetState: ek,
|
|
60288
|
-
resetRecordVideo:
|
|
60292
|
+
resetRecordVideo: ef
|
|
60289
60293
|
};
|
|
60290
60294
|
}({
|
|
60291
60295
|
isAutoCapture: q,
|
|
@@ -60303,17 +60307,17 @@
|
|
|
60303
60307
|
});
|
|
60304
60308
|
reactExports.useContext(aO);
|
|
60305
60309
|
let eh = reactExports.useCallback(()=>{
|
|
60306
|
-
|
|
60310
|
+
ep(), eo(), k();
|
|
60307
60311
|
}, [
|
|
60308
60312
|
eo,
|
|
60309
|
-
|
|
60313
|
+
ep,
|
|
60310
60314
|
k
|
|
60311
60315
|
]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
|
|
60312
|
-
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t,
|
|
60316
|
+
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, f = reactExports.useRef(new pT({
|
|
60313
60317
|
totalTime: i,
|
|
60314
60318
|
interruptible: r
|
|
60315
60319
|
}));
|
|
60316
|
-
reactExports.useEffect(()=>
|
|
60320
|
+
reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
|
|
60317
60321
|
t >= 0 && t <= i / 3 && "function" == typeof c && c({
|
|
60318
60322
|
curTimeLeft: t
|
|
60319
60323
|
});
|
|
@@ -60322,24 +60326,24 @@
|
|
|
60322
60326
|
c,
|
|
60323
60327
|
i,
|
|
60324
60328
|
r
|
|
60325
|
-
]), reactExports.useEffect(()=>
|
|
60326
|
-
r &&
|
|
60329
|
+
]), reactExports.useEffect(()=>f.current.on("reset", ({ attemptCount: t })=>{
|
|
60330
|
+
r && f.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
|
|
60327
60331
|
}), [
|
|
60328
60332
|
l,
|
|
60329
60333
|
u,
|
|
60330
60334
|
s?.enable,
|
|
60331
60335
|
s?.total,
|
|
60332
60336
|
r
|
|
60333
|
-
]), reactExports.useEffect(()=>d ?
|
|
60337
|
+
]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
|
|
60334
60338
|
d
|
|
60335
60339
|
]);
|
|
60336
|
-
let
|
|
60337
|
-
|
|
60340
|
+
let p = reactExports.useCallback(()=>{
|
|
60341
|
+
f.current.resume();
|
|
60338
60342
|
}, []);
|
|
60339
60343
|
return {
|
|
60340
|
-
resumeTimer:
|
|
60344
|
+
resumeTimer: p,
|
|
60341
60345
|
pauseTimer: reactExports.useCallback(()=>{
|
|
60342
|
-
|
|
60346
|
+
f.current.pause();
|
|
60343
60347
|
}, [])
|
|
60344
60348
|
};
|
|
60345
60349
|
})({
|
|
@@ -60353,24 +60357,24 @@
|
|
|
60353
60357
|
}), eb = reactExports.useCallback(()=>{
|
|
60354
60358
|
x.current = !1;
|
|
60355
60359
|
}, []), ev = reactExports.useCallback(async ()=>{
|
|
60356
|
-
eb(), em(),
|
|
60360
|
+
eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
|
|
60357
60361
|
en()
|
|
60358
60362
|
]);
|
|
60359
60363
|
}, [
|
|
60360
60364
|
eb,
|
|
60361
|
-
|
|
60365
|
+
ef,
|
|
60362
60366
|
U,
|
|
60363
60367
|
u,
|
|
60364
60368
|
en,
|
|
60365
60369
|
em
|
|
60366
60370
|
]), ew = reactExports.useCallback(async (t = {})=>{
|
|
60367
|
-
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash:
|
|
60371
|
+
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;
|
|
60368
60372
|
if (x.current) return;
|
|
60369
60373
|
x.current = !0, E(!0), eo(), eg(), Y(null);
|
|
60370
60374
|
let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
|
|
60371
|
-
if (v && null !==
|
|
60375
|
+
if (v && null !== f) {
|
|
60372
60376
|
let t = [
|
|
60373
|
-
|
|
60377
|
+
f,
|
|
60374
60378
|
...ec.current
|
|
60375
60379
|
];
|
|
60376
60380
|
t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
|
|
@@ -60379,7 +60383,7 @@
|
|
|
60379
60383
|
h7.addExifData("user_action", {
|
|
60380
60384
|
start_id_card: F.current,
|
|
60381
60385
|
end_id_card: Date.now()
|
|
60382
|
-
}), 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",
|
|
60386
|
+
}), 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)));
|
|
60383
60387
|
let T = await h7.writeCurrentExif({
|
|
60384
60388
|
imageData: {
|
|
60385
60389
|
blob: o
|
|
@@ -60517,14 +60521,14 @@
|
|
|
60517
60521
|
};
|
|
60518
60522
|
})({
|
|
60519
60523
|
shouldStart: !0,
|
|
60520
|
-
refVideo:
|
|
60524
|
+
refVideo: p,
|
|
60521
60525
|
cropArea: eo,
|
|
60522
60526
|
settings: C,
|
|
60523
|
-
onModelErrorChange:
|
|
60527
|
+
onModelErrorChange: ef,
|
|
60524
60528
|
frontSide: k,
|
|
60525
60529
|
allowedCardTypes: y,
|
|
60526
60530
|
onDebugInfoChange: K,
|
|
60527
|
-
onSessionTimeout:
|
|
60531
|
+
onSessionTimeout: ep,
|
|
60528
60532
|
onCaptureDone: eh,
|
|
60529
60533
|
onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
|
|
60530
60534
|
ee(Y("remaining_time", {
|
|
@@ -60553,9 +60557,9 @@
|
|
|
60553
60557
|
}), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
|
|
60554
60558
|
reactExports.useEffect(()=>{
|
|
60555
60559
|
if (u) {
|
|
60556
|
-
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX:
|
|
60557
|
-
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 *
|
|
60558
|
-
x: Math.floor((c - i) / 2) +
|
|
60560
|
+
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: f, lostY: p, clientHeight: h } = u;
|
|
60561
|
+
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({
|
|
60562
|
+
x: Math.floor((c - i) / 2) + f,
|
|
60559
60563
|
y: s,
|
|
60560
60564
|
width: i,
|
|
60561
60565
|
height: a,
|
|
@@ -61025,8 +61029,8 @@
|
|
|
61025
61029
|
Object.keys(l || {}).forEach(function(t) {
|
|
61026
61030
|
l[t] = i[t] || l[t];
|
|
61027
61031
|
});
|
|
61028
|
-
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,
|
|
61029
|
-
return
|
|
61032
|
+
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);
|
|
61033
|
+
return p || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (p = c(s ? u : f)), p;
|
|
61030
61034
|
}
|
|
61031
61035
|
d.default = d, r.default = d;
|
|
61032
61036
|
},
|
|
@@ -61047,10 +61051,10 @@
|
|
|
61047
61051
|
r.binarize = function(t, r, o, a) {
|
|
61048
61052
|
if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
|
|
61049
61053
|
for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
|
|
61050
|
-
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1],
|
|
61051
|
-
s.set(c, l, .2126 * d + .7152 * u + .0722 *
|
|
61054
|
+
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], f = t[(l * r + c) * 4 + 2];
|
|
61055
|
+
s.set(c, l, .2126 * d + .7152 * u + .0722 * f);
|
|
61052
61056
|
}
|
|
61053
|
-
for(var
|
|
61057
|
+
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++){
|
|
61054
61058
|
for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
|
|
61055
61059
|
var y = s.get(8 * b + c, 8 * g + l);
|
|
61056
61060
|
v += y, w = Math.min(w, y), k = Math.max(k, y);
|
|
@@ -61064,8 +61068,8 @@
|
|
|
61064
61068
|
}
|
|
61065
61069
|
var _ = n.BitMatrix.createEmpty(r, o), x = null;
|
|
61066
61070
|
a && (x = n.BitMatrix.createEmpty(r, o));
|
|
61067
|
-
for(var g = 0; g < h; g++)for(var b = 0; b <
|
|
61068
|
-
for(var P, S, E, T, D = (P = b, S =
|
|
61071
|
+
for(var g = 0; g < h; g++)for(var b = 0; b < p; b++){
|
|
61072
|
+
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);
|
|
61069
61073
|
for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
|
|
61070
61074
|
var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
|
|
61071
61075
|
_.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
|
|
@@ -61346,16 +61350,16 @@
|
|
|
61346
61350
|
for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
|
|
61347
61351
|
r = t.get(u, d), l = l << 1 | r;
|
|
61348
61352
|
}
|
|
61349
|
-
for(var
|
|
61350
|
-
o = t.get(u, d),
|
|
61353
|
+
for(var f = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
|
|
61354
|
+
o = t.get(u, d), f = f << 1 | o;
|
|
61351
61355
|
}
|
|
61352
|
-
for(var
|
|
61356
|
+
for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
|
|
61353
61357
|
var g = m[h];
|
|
61354
|
-
if (g.infoBits === l || g.infoBits ===
|
|
61358
|
+
if (g.infoBits === l || g.infoBits === f) return g;
|
|
61355
61359
|
var b = c(l, g.infoBits);
|
|
61356
|
-
b <
|
|
61360
|
+
b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
|
|
61357
61361
|
}
|
|
61358
|
-
if (
|
|
61362
|
+
if (p <= 3) return n;
|
|
61359
61363
|
}(t);
|
|
61360
61364
|
if (!r) return null;
|
|
61361
61365
|
var o = function(t) {
|
|
@@ -61365,19 +61369,19 @@
|
|
|
61365
61369
|
for(var d = 7; d >= 0; d--){
|
|
61366
61370
|
6 !== d && (o = t.get(8, d), a = a << 1 | o);
|
|
61367
61371
|
}
|
|
61368
|
-
for(var u = t.height,
|
|
61369
|
-
n = t.get(8, d),
|
|
61372
|
+
for(var u = t.height, f = 0, d = u - 1; d >= u - 7; d--){
|
|
61373
|
+
n = t.get(8, d), f = f << 1 | n;
|
|
61370
61374
|
}
|
|
61371
61375
|
for(var s = u - 8; s < u; s++){
|
|
61372
|
-
i = t.get(s, 8),
|
|
61376
|
+
i = t.get(s, 8), f = f << 1 | i;
|
|
61373
61377
|
}
|
|
61374
|
-
for(var
|
|
61378
|
+
for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
|
|
61375
61379
|
var g = l[m], b = g.bits, v = g.formatInfo;
|
|
61376
|
-
if (b === a || b ===
|
|
61380
|
+
if (b === a || b === f) return v;
|
|
61377
61381
|
var w = c(a, b);
|
|
61378
|
-
w <
|
|
61382
|
+
w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
|
|
61379
61383
|
}
|
|
61380
|
-
return
|
|
61384
|
+
return p <= 3 ? h : null;
|
|
61381
61385
|
}(t);
|
|
61382
61386
|
if (!o) return null;
|
|
61383
61387
|
var u = function(t, r, o) {
|
|
@@ -61394,10 +61398,10 @@
|
|
|
61394
61398
|
d.codewords.push(t.shift());
|
|
61395
61399
|
}
|
|
61396
61400
|
if (n.ecBlocks.length > 1) {
|
|
61397
|
-
for(var u = n.ecBlocks[0].numBlocks,
|
|
61401
|
+
for(var u = n.ecBlocks[0].numBlocks, f = n.ecBlocks[1].numBlocks, c = 0; c < f; c++)i[u + c].codewords.push(t.shift());
|
|
61398
61402
|
}
|
|
61399
|
-
for(; t.length > 0;)for(var
|
|
61400
|
-
var d = i[
|
|
61403
|
+
for(; t.length > 0;)for(var p = 0; p < i.length; p++){
|
|
61404
|
+
var d = i[p];
|
|
61401
61405
|
d.codewords.push(t.shift());
|
|
61402
61406
|
}
|
|
61403
61407
|
return i;
|
|
@@ -61412,11 +61416,11 @@
|
|
|
61412
61416
|
}
|
|
61413
61417
|
}
|
|
61414
61418
|
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;
|
|
61415
|
-
}(r), c = [], l = 0, u = 0,
|
|
61416
|
-
6 ===
|
|
61419
|
+
}(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
|
|
61420
|
+
6 === p && p--;
|
|
61417
61421
|
for(var h = 0; h < a; h++){
|
|
61418
|
-
for(var m =
|
|
61419
|
-
var b =
|
|
61422
|
+
for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
|
|
61423
|
+
var b = p - g;
|
|
61420
61424
|
if (!s.get(b, m)) {
|
|
61421
61425
|
u++;
|
|
61422
61426
|
var v = t.get(b, m);
|
|
@@ -61427,20 +61431,20 @@
|
|
|
61427
61431
|
}
|
|
61428
61432
|
}
|
|
61429
61433
|
}
|
|
61430
|
-
|
|
61434
|
+
f = !f;
|
|
61431
61435
|
}
|
|
61432
61436
|
return c;
|
|
61433
61437
|
}(t, r, o), r, o.errorCorrectionLevel);
|
|
61434
61438
|
if (!u) return null;
|
|
61435
|
-
for(var
|
|
61439
|
+
for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
|
|
61436
61440
|
return t + r.numDataCodewords;
|
|
61437
|
-
}, 0)),
|
|
61441
|
+
}, 0)), p = 0, h = 0; h < u.length; h++){
|
|
61438
61442
|
var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
|
|
61439
61443
|
if (!g) return null;
|
|
61440
|
-
for(var b = 0; b < m.numDataCodewords; b++)p
|
|
61444
|
+
for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
|
|
61441
61445
|
}
|
|
61442
61446
|
try {
|
|
61443
|
-
return i.decode(
|
|
61447
|
+
return i.decode(f, r.versionNumber);
|
|
61444
61448
|
} catch (t) {
|
|
61445
61449
|
return null;
|
|
61446
61450
|
}
|
|
@@ -61507,23 +61511,23 @@
|
|
|
61507
61511
|
":"
|
|
61508
61512
|
];
|
|
61509
61513
|
r.decode = function(t, r) {
|
|
61510
|
-
for(var o, n, i, u,
|
|
61514
|
+
for(var o, n, i, u, f = new c.BitStream(t), p = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
|
|
61511
61515
|
text: "",
|
|
61512
61516
|
bytes: [],
|
|
61513
61517
|
chunks: [],
|
|
61514
61518
|
version: r
|
|
61515
|
-
};
|
|
61516
|
-
var m =
|
|
61519
|
+
}; f.available() >= 4;){
|
|
61520
|
+
var m = f.readBits(4);
|
|
61517
61521
|
if (m === s.Terminator) return h;
|
|
61518
|
-
if (m === s.ECI) 0 ===
|
|
61522
|
+
if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
|
|
61519
61523
|
type: a.ECI,
|
|
61520
|
-
assignmentNumber:
|
|
61521
|
-
}) : 0 ===
|
|
61524
|
+
assignmentNumber: f.readBits(7)
|
|
61525
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61522
61526
|
type: a.ECI,
|
|
61523
|
-
assignmentNumber:
|
|
61524
|
-
}) : 0 ===
|
|
61527
|
+
assignmentNumber: f.readBits(14)
|
|
61528
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61525
61529
|
type: a.ECI,
|
|
61526
|
-
assignmentNumber:
|
|
61530
|
+
assignmentNumber: f.readBits(21)
|
|
61527
61531
|
}) : h.chunks.push({
|
|
61528
61532
|
type: a.ECI,
|
|
61529
61533
|
assignmentNumber: -1
|
|
@@ -61554,7 +61558,7 @@
|
|
|
61554
61558
|
bytes: o,
|
|
61555
61559
|
text: n
|
|
61556
61560
|
};
|
|
61557
|
-
}(
|
|
61561
|
+
}(f, p);
|
|
61558
61562
|
h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
|
|
61559
61563
|
type: a.Numeric,
|
|
61560
61564
|
text: g.text
|
|
@@ -61577,7 +61581,7 @@
|
|
|
61577
61581
|
bytes: o,
|
|
61578
61582
|
text: n
|
|
61579
61583
|
};
|
|
61580
|
-
}(
|
|
61584
|
+
}(f, p);
|
|
61581
61585
|
h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
|
|
61582
61586
|
type: a.Alphanumeric,
|
|
61583
61587
|
text: b.text
|
|
@@ -61601,7 +61605,7 @@
|
|
|
61601
61605
|
bytes: o,
|
|
61602
61606
|
text: n
|
|
61603
61607
|
};
|
|
61604
|
-
}(
|
|
61608
|
+
}(f, p);
|
|
61605
61609
|
h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
|
|
61606
61610
|
type: a.Byte,
|
|
61607
61611
|
bytes: v.bytes,
|
|
@@ -61621,7 +61625,7 @@
|
|
|
61621
61625
|
bytes: o,
|
|
61622
61626
|
text: n
|
|
61623
61627
|
};
|
|
61624
|
-
}(
|
|
61628
|
+
}(f, p);
|
|
61625
61629
|
h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
|
|
61626
61630
|
type: a.Kanji,
|
|
61627
61631
|
bytes: w.bytes,
|
|
@@ -61629,7 +61633,7 @@
|
|
|
61629
61633
|
});
|
|
61630
61634
|
}
|
|
61631
61635
|
}
|
|
61632
|
-
if (0 ===
|
|
61636
|
+
if (0 === f.available() || 0 === f.readBits(f.available())) return h;
|
|
61633
61637
|
};
|
|
61634
61638
|
},
|
|
61635
61639
|
function(t, r, o) {
|
|
@@ -68715,7 +68719,7 @@
|
|
|
68715
68719
|
c[c.length - 1 - d] = u, 0 !== u && (l = !0);
|
|
68716
68720
|
}
|
|
68717
68721
|
if (!l) return o;
|
|
68718
|
-
var
|
|
68722
|
+
var f = new i.default(a, c), p = function(t, r, o, n) {
|
|
68719
68723
|
r.degree() < o.degree() && (r = (i = [
|
|
68720
68724
|
o,
|
|
68721
68725
|
r
|
|
@@ -68724,11 +68728,11 @@
|
|
|
68724
68728
|
var d = a, u = c;
|
|
68725
68729
|
if (a = s, c = l, a.isZero()) return null;
|
|
68726
68730
|
s = d;
|
|
68727
|
-
for(var
|
|
68731
|
+
for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
|
|
68728
68732
|
var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
|
|
68729
|
-
|
|
68733
|
+
f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
|
|
68730
68734
|
}
|
|
68731
|
-
if (l =
|
|
68735
|
+
if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
|
|
68732
68736
|
}
|
|
68733
68737
|
var b = l.getCoefficient(0);
|
|
68734
68738
|
if (0 === b) return null;
|
|
@@ -68737,8 +68741,8 @@
|
|
|
68737
68741
|
l.multiply(v),
|
|
68738
68742
|
s.multiply(v)
|
|
68739
68743
|
];
|
|
68740
|
-
}(a, a.buildMonomial(r, 1),
|
|
68741
|
-
if (null ===
|
|
68744
|
+
}(a, a.buildMonomial(r, 1), f, r);
|
|
68745
|
+
if (null === p) return null;
|
|
68742
68746
|
var h = function(t, r) {
|
|
68743
68747
|
var o = r.degree();
|
|
68744
68748
|
if (1 === o) return [
|
|
@@ -68746,7 +68750,7 @@
|
|
|
68746
68750
|
];
|
|
68747
68751
|
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++);
|
|
68748
68752
|
return i !== o ? null : n;
|
|
68749
|
-
}(a,
|
|
68753
|
+
}(a, p[0]);
|
|
68750
68754
|
if (null == h) return null;
|
|
68751
68755
|
for(var m = function(t, r, o) {
|
|
68752
68756
|
for(var i = o.length, a = Array(i), s = 0; s < i; s++){
|
|
@@ -68754,7 +68758,7 @@
|
|
|
68754
68758
|
a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
|
|
68755
68759
|
}
|
|
68756
68760
|
return a;
|
|
68757
|
-
}(a,
|
|
68761
|
+
}(a, p[1], h), g = 0; g < h.length; g++){
|
|
68758
68762
|
var b = o.length - 1 - a.log(h[g]);
|
|
68759
68763
|
if (b < 0) return null;
|
|
68760
68764
|
o[b] = n.addOrSubtractGF(o[b], m[g]);
|
|
@@ -71235,14 +71239,14 @@
|
|
|
71235
71239
|
a32: t.y,
|
|
71236
71240
|
a33: 1
|
|
71237
71241
|
};
|
|
71238
|
-
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,
|
|
71242
|
+
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;
|
|
71239
71243
|
return {
|
|
71240
|
-
a11: r.x - t.x +
|
|
71241
|
-
a12: r.y - t.y +
|
|
71242
|
-
a13:
|
|
71243
|
-
a21: n.x - t.x +
|
|
71244
|
-
a22: n.y - t.y +
|
|
71245
|
-
a23:
|
|
71244
|
+
a11: r.x - t.x + f * r.x,
|
|
71245
|
+
a12: r.y - t.y + f * r.y,
|
|
71246
|
+
a13: f,
|
|
71247
|
+
a21: n.x - t.x + p * n.x,
|
|
71248
|
+
a22: n.y - t.y + p * n.y,
|
|
71249
|
+
a23: p,
|
|
71246
71250
|
a31: t.x,
|
|
71247
71251
|
a32: t.y,
|
|
71248
71252
|
a33: 1
|
|
@@ -71271,7 +71275,7 @@
|
|
|
71271
71275
|
a31: c.a21 * c.a32 - c.a22 * c.a31,
|
|
71272
71276
|
a32: c.a12 * c.a31 - c.a11 * c.a32,
|
|
71273
71277
|
a33: c.a11 * c.a22 - c.a12 * c.a21
|
|
71274
|
-
}),
|
|
71278
|
+
}), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
|
|
71275
71279
|
a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
|
|
71276
71280
|
a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
|
|
71277
71281
|
a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
|
|
@@ -71281,18 +71285,18 @@
|
|
|
71281
71285
|
a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
|
|
71282
71286
|
a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
|
|
71283
71287
|
a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
|
|
71284
|
-
}),
|
|
71285
|
-
var o =
|
|
71288
|
+
}), p = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
|
|
71289
|
+
var o = f.a13 * t + f.a23 * r + f.a33;
|
|
71286
71290
|
return {
|
|
71287
|
-
x: (
|
|
71288
|
-
y: (
|
|
71291
|
+
x: (f.a11 * t + f.a21 * r + f.a31) / o,
|
|
71292
|
+
y: (f.a12 * t + f.a22 * r + f.a32) / o
|
|
71289
71293
|
};
|
|
71290
71294
|
}, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
|
|
71291
71295
|
var b = h(g + .5, m + .5);
|
|
71292
|
-
|
|
71296
|
+
p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
|
|
71293
71297
|
}
|
|
71294
71298
|
return {
|
|
71295
|
-
matrix:
|
|
71299
|
+
matrix: p,
|
|
71296
71300
|
mappingFunction: h
|
|
71297
71301
|
};
|
|
71298
71302
|
};
|
|
@@ -71317,15 +71321,15 @@
|
|
|
71317
71321
|
}
|
|
71318
71322
|
], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
|
|
71319
71323
|
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));
|
|
71320
|
-
for(var
|
|
71324
|
+
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){
|
|
71321
71325
|
var k = u ? w : v, y = u ? v : w;
|
|
71322
71326
|
if (o.get(k, y) !== b && (b = !b, d.push({
|
|
71323
71327
|
x: k,
|
|
71324
71328
|
y: y
|
|
71325
71329
|
}), d.length === i + 1)) break;
|
|
71326
|
-
if ((h +=
|
|
71330
|
+
if ((h += p) > 0) {
|
|
71327
71331
|
if (w === l) break;
|
|
71328
|
-
w += g, h -=
|
|
71332
|
+
w += g, h -= f;
|
|
71329
71333
|
}
|
|
71330
71334
|
}
|
|
71331
71335
|
for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
|
|
@@ -71361,7 +71365,7 @@
|
|
|
71361
71365
|
}, l = s(t, a, o, r.length), d = {
|
|
71362
71366
|
x: Math.min(o.width, t.x + t.y) + 1,
|
|
71363
71367
|
y: Math.min(o.height, t.y + t.x) + 1
|
|
71364
|
-
}, u = s(t, d, o, r.length),
|
|
71368
|
+
}, 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;
|
|
71365
71369
|
return g + v;
|
|
71366
71370
|
} catch (t) {
|
|
71367
71371
|
return 1 / 0;
|
|
@@ -71394,16 +71398,16 @@
|
|
|
71394
71398
|
dimension: l,
|
|
71395
71399
|
moduleSize: c
|
|
71396
71400
|
};
|
|
71397
|
-
}(a, o, c, t)).dimension,
|
|
71401
|
+
}(a, o, c, t)).dimension, f = d.moduleSize;
|
|
71398
71402
|
} catch (t) {
|
|
71399
71403
|
return null;
|
|
71400
71404
|
}
|
|
71401
|
-
var d, u,
|
|
71405
|
+
var d, u, f, p = {
|
|
71402
71406
|
x: o.x - a.x + c.x,
|
|
71403
71407
|
y: o.y - a.y + c.y
|
|
71404
|
-
}, h = (n(a, c) + n(a, o)) / 2 /
|
|
71405
|
-
x: a.x + m * (
|
|
71406
|
-
y: a.y + m * (
|
|
71408
|
+
}, h = (n(a, c) + n(a, o)) / 2 / f, m = 1 - 3 / h, g = {
|
|
71409
|
+
x: a.x + m * (p.x - a.x),
|
|
71410
|
+
y: a.y + m * (p.y - a.y)
|
|
71407
71411
|
}, b = r.map(function(r) {
|
|
71408
71412
|
var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
|
|
71409
71413
|
if (t.get(Math.floor(o), Math.floor(a))) {
|
|
@@ -71441,7 +71445,7 @@
|
|
|
71441
71445
|
};
|
|
71442
71446
|
}
|
|
71443
71447
|
r.locate = function(t) {
|
|
71444
|
-
for(var r, o, a, s, c,
|
|
71448
|
+
for(var r, o, a, s, c, f, p, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
|
|
71445
71449
|
for(var o = 0, n = !1, a = [
|
|
71446
71450
|
0,
|
|
71447
71451
|
0,
|
|
@@ -71459,21 +71463,21 @@
|
|
|
71459
71463
|
a[4],
|
|
71460
71464
|
o
|
|
71461
71465
|
], o = 1, n = c;
|
|
71462
|
-
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,
|
|
71466
|
+
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;
|
|
71463
71467
|
if (d) {
|
|
71464
|
-
var
|
|
71468
|
+
var p = s - a[3] - a[4], h = p - a[2], m = {
|
|
71465
71469
|
startX: h,
|
|
71466
|
-
endX:
|
|
71470
|
+
endX: p,
|
|
71467
71471
|
y: r
|
|
71468
71472
|
}, g = y.filter(function(t) {
|
|
71469
|
-
return h >= t.bottom.startX && h <= t.bottom.endX ||
|
|
71473
|
+
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;
|
|
71470
71474
|
});
|
|
71471
71475
|
g.length > 0 ? g[0].bottom = m : y.push({
|
|
71472
71476
|
top: m,
|
|
71473
71477
|
bottom: m
|
|
71474
71478
|
});
|
|
71475
71479
|
}
|
|
71476
|
-
if (
|
|
71480
|
+
if (f) {
|
|
71477
71481
|
var b = s - a[4], v = b - a[3], m = {
|
|
71478
71482
|
startX: v,
|
|
71479
71483
|
y: r,
|
|
@@ -71567,14 +71571,14 @@
|
|
|
71567
71571
|
r,
|
|
71568
71572
|
o,
|
|
71569
71573
|
a
|
|
71570
|
-
])[0], m = c[1], g = c[2]) : (h = (
|
|
71574
|
+
])[0], m = c[1], g = c[2]) : (h = (f = [
|
|
71571
71575
|
r,
|
|
71572
71576
|
a,
|
|
71573
71577
|
o
|
|
71574
|
-
])[0], m =
|
|
71578
|
+
])[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 = [
|
|
71575
71579
|
g,
|
|
71576
71580
|
h
|
|
71577
|
-
])[0], g =
|
|
71581
|
+
])[0], g = p[1]), {
|
|
71578
71582
|
bottomLeft: h,
|
|
71579
71583
|
topLeft: m,
|
|
71580
71584
|
topRight: g
|
|
@@ -71741,6 +71745,15 @@
|
|
|
71741
71745
|
text-align: center;
|
|
71742
71746
|
font-size: 20px;
|
|
71743
71747
|
font-weight: 600;
|
|
71748
|
+
`; dt$1.div`
|
|
71749
|
+
width: 100%;
|
|
71750
|
+
height: 100%;
|
|
71751
|
+
opacity: ${({ $showChildren: t })=>+!!t};
|
|
71752
|
+
`;
|
|
71753
|
+
dt$1.div`
|
|
71754
|
+
text-align: center;
|
|
71755
|
+
font-size: 20px;
|
|
71756
|
+
font-weight: 600;
|
|
71744
71757
|
`; dt$1.div`
|
|
71745
71758
|
width: 100%;
|
|
71746
71759
|
height: 100%;
|
|
@@ -71748,7 +71761,7 @@
|
|
|
71748
71761
|
`;
|
|
71749
71762
|
({
|
|
71750
71763
|
onOrientationChange: PropTypes.func,
|
|
71751
|
-
|
|
71764
|
+
unmountOnHidden: PropTypes.bool
|
|
71752
71765
|
});
|
|
71753
71766
|
({
|
|
71754
71767
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -71766,16 +71779,16 @@
|
|
|
71766
71779
|
scannerTypeCons: PropTypes.shape({}).isRequired,
|
|
71767
71780
|
customTexts: PropTypes.shape({})
|
|
71768
71781
|
});
|
|
71769
|
-
let { IDCardSide:
|
|
71770
|
-
iI.ID_CARD, ra$1.IDCardSide.FRONT,
|
|
71771
|
-
let
|
|
71782
|
+
let { IDCardSide: sU, IDCardType: sq, Errors: sQ } = ra$1;
|
|
71783
|
+
iI.ID_CARD, ra$1.IDCardSide.FRONT, sq.VN, iI.ID_CARD, ra$1.IDCardSide.BACK, sq.VN, iI.QR_CODE;
|
|
71784
|
+
let sX = [
|
|
71772
71785
|
{
|
|
71773
71786
|
scannerType: iI.ID_CARD,
|
|
71774
71787
|
title: "Chụp mặt trước",
|
|
71775
71788
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71776
71789
|
titleIcon: "id_card_front.svg",
|
|
71777
71790
|
cardSide: ra$1.IDCardSide.FRONT,
|
|
71778
|
-
cardType:
|
|
71791
|
+
cardType: sq.VN,
|
|
71779
71792
|
enableConfirmPopup: !1
|
|
71780
71793
|
},
|
|
71781
71794
|
{
|
|
@@ -71784,25 +71797,25 @@
|
|
|
71784
71797
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71785
71798
|
titleIcon: "id_card_back.svg",
|
|
71786
71799
|
cardSide: ra$1.IDCardSide.BACK,
|
|
71787
|
-
cardType:
|
|
71800
|
+
cardType: sq.VN,
|
|
71788
71801
|
enableConfirmPopup: !1
|
|
71789
71802
|
}
|
|
71790
71803
|
];
|
|
71791
|
-
function
|
|
71792
|
-
if (rh) return
|
|
71804
|
+
function sH() {
|
|
71805
|
+
if (rh) return rp;
|
|
71793
71806
|
rh = 1;
|
|
71794
71807
|
var t = o9();
|
|
71795
|
-
return
|
|
71808
|
+
return rp = function() {
|
|
71796
71809
|
try {
|
|
71797
71810
|
var r = t(Object, "defineProperty");
|
|
71798
71811
|
return r({}, "", {}), r;
|
|
71799
71812
|
} catch (t) {}
|
|
71800
71813
|
}();
|
|
71801
71814
|
}
|
|
71802
|
-
function
|
|
71815
|
+
function sG() {
|
|
71803
71816
|
if (rg) return rm;
|
|
71804
71817
|
rg = 1;
|
|
71805
|
-
var t =
|
|
71818
|
+
var t = sH();
|
|
71806
71819
|
return rm = function(r, o, n) {
|
|
71807
71820
|
"__proto__" == o && t ? t(r, o, {
|
|
71808
71821
|
configurable: !0,
|
|
@@ -71812,26 +71825,26 @@
|
|
|
71812
71825
|
}) : r[o] = n;
|
|
71813
71826
|
};
|
|
71814
71827
|
}
|
|
71815
|
-
function
|
|
71828
|
+
function sZ() {
|
|
71816
71829
|
if (rv) return rb;
|
|
71817
71830
|
rv = 1;
|
|
71818
|
-
var t =
|
|
71831
|
+
var t = sG(), r = o7();
|
|
71819
71832
|
return rb = function(o, n, i) {
|
|
71820
71833
|
(void 0 === i || r(o[n], i)) && (void 0 !== i || n in o) || t(o, n, i);
|
|
71821
71834
|
};
|
|
71822
71835
|
}
|
|
71823
|
-
var
|
|
71836
|
+
var sK = {
|
|
71824
71837
|
exports: {}
|
|
71825
71838
|
};
|
|
71826
|
-
|
|
71827
|
-
function
|
|
71839
|
+
sK.exports;
|
|
71840
|
+
function sY() {
|
|
71828
71841
|
return rR ? rA : (rR = 1, rA = (rM ? rO : (rM = 1, rO = function(t, r) {
|
|
71829
71842
|
return function(o) {
|
|
71830
71843
|
return t(r(o));
|
|
71831
71844
|
};
|
|
71832
71845
|
}))(Object.getPrototypeOf, Object));
|
|
71833
71846
|
}
|
|
71834
|
-
function
|
|
71847
|
+
function sJ() {
|
|
71835
71848
|
if (rF) return rL;
|
|
71836
71849
|
rF = 1;
|
|
71837
71850
|
var t = Object.prototype;
|
|
@@ -71840,7 +71853,7 @@
|
|
|
71840
71853
|
return r === ("function" == typeof o && o.prototype || t);
|
|
71841
71854
|
};
|
|
71842
71855
|
}
|
|
71843
|
-
function
|
|
71856
|
+
function s3() {
|
|
71844
71857
|
if (rq) return rU;
|
|
71845
71858
|
rq = 1;
|
|
71846
71859
|
var t = function() {
|
|
@@ -71857,41 +71870,41 @@
|
|
|
71857
71870
|
return r(t) && n.call(t, "callee") && !i.call(t, "callee");
|
|
71858
71871
|
};
|
|
71859
71872
|
}
|
|
71860
|
-
function
|
|
71873
|
+
function s2() {
|
|
71861
71874
|
return rX ? rQ : (rX = 1, rQ = function(t) {
|
|
71862
71875
|
return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 0x1fffffffffffff;
|
|
71863
71876
|
});
|
|
71864
71877
|
}
|
|
71865
|
-
function
|
|
71878
|
+
function s5() {
|
|
71866
71879
|
if (rG) return rH;
|
|
71867
71880
|
rG = 1;
|
|
71868
|
-
var t = o8(), r =
|
|
71881
|
+
var t = o8(), r = s2();
|
|
71869
71882
|
return rH = function(o) {
|
|
71870
71883
|
return null != o && r(o.length) && !t(o);
|
|
71871
71884
|
};
|
|
71872
71885
|
}
|
|
71873
|
-
var
|
|
71886
|
+
var s0 = {
|
|
71874
71887
|
exports: {}
|
|
71875
71888
|
};
|
|
71876
|
-
function
|
|
71889
|
+
function s1() {
|
|
71877
71890
|
var t, r, o, n, i, a, s, c;
|
|
71878
|
-
if (r3) return
|
|
71879
|
-
return r3 = 1, t =
|
|
71891
|
+
if (r3) return s0.exports;
|
|
71892
|
+
return r3 = 1, t = s0, r = s0.exports, o = oJ(), n = rJ ? rY : (rJ = 1, rY = function() {
|
|
71880
71893
|
return !1;
|
|
71881
|
-
}), 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,
|
|
71894
|
+
}), 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;
|
|
71882
71895
|
}
|
|
71883
|
-
|
|
71884
|
-
var
|
|
71896
|
+
s0.exports;
|
|
71897
|
+
var s8 = {
|
|
71885
71898
|
exports: {}
|
|
71886
71899
|
};
|
|
71887
|
-
|
|
71888
|
-
function
|
|
71900
|
+
s8.exports;
|
|
71901
|
+
function s9() {
|
|
71889
71902
|
if (r6) return r7;
|
|
71890
71903
|
r6 = 1;
|
|
71891
71904
|
var t = function() {
|
|
71892
71905
|
if (r1) return r0;
|
|
71893
71906
|
r1 = 1;
|
|
71894
|
-
var t = o2(), r =
|
|
71907
|
+
var t = o2(), r = s2(), o = o5(), n = {};
|
|
71895
71908
|
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) {
|
|
71896
71909
|
return o(i) && r(i.length) && !!n[t(i)];
|
|
71897
71910
|
};
|
|
@@ -71901,25 +71914,25 @@
|
|
|
71901
71914
|
};
|
|
71902
71915
|
}), o = function() {
|
|
71903
71916
|
var t, r, o, n, i, a;
|
|
71904
|
-
if (r4) return
|
|
71905
|
-
return r4 = 1, t =
|
|
71917
|
+
if (r4) return s8.exports;
|
|
71918
|
+
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() {
|
|
71906
71919
|
try {
|
|
71907
71920
|
var t = i && i.require && i.require("util").types;
|
|
71908
71921
|
if (t) return t;
|
|
71909
71922
|
return a && a.binding && a.binding("util");
|
|
71910
71923
|
} catch (t) {}
|
|
71911
|
-
}(),
|
|
71924
|
+
}(), s8.exports;
|
|
71912
71925
|
}(), n = o && o.isTypedArray;
|
|
71913
71926
|
return r7 = n ? r(n) : t;
|
|
71914
71927
|
}
|
|
71915
|
-
function
|
|
71928
|
+
function s4() {
|
|
71916
71929
|
return ot ? oe : (ot = 1, oe = function(t, r) {
|
|
71917
71930
|
if ("constructor" !== r || "function" != typeof t[r]) {
|
|
71918
71931
|
if ("__proto__" != r) return t[r];
|
|
71919
71932
|
}
|
|
71920
71933
|
});
|
|
71921
71934
|
}
|
|
71922
|
-
function
|
|
71935
|
+
function s7() {
|
|
71923
71936
|
if (ol) return oc;
|
|
71924
71937
|
ol = 1;
|
|
71925
71938
|
var t = /^(?:0|[1-9]\d*)$/;
|
|
@@ -71928,7 +71941,7 @@
|
|
|
71928
71941
|
return !!(o = null == o ? 0x1fffffffffffff : o) && ("number" == n || "symbol" != n && t.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
71929
71942
|
};
|
|
71930
71943
|
}
|
|
71931
|
-
function
|
|
71944
|
+
function s6() {
|
|
71932
71945
|
if (ob) return og;
|
|
71933
71946
|
ob = 1;
|
|
71934
71947
|
var t = function() {
|
|
@@ -71937,16 +71950,16 @@
|
|
|
71937
71950
|
var t = os ? oa : (os = 1, oa = function(t, r) {
|
|
71938
71951
|
for(var o = -1, n = Array(t); ++o < t;)n[o] = r(o);
|
|
71939
71952
|
return n;
|
|
71940
|
-
}), r =
|
|
71953
|
+
}), r = s3(), o = oK(), n = s1(), i = s7(), a = s9(), s = Object.prototype.hasOwnProperty;
|
|
71941
71954
|
return od = function(c, l) {
|
|
71942
|
-
var d = o(c), u = !d && r(c),
|
|
71943
|
-
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b ||
|
|
71955
|
+
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;
|
|
71956
|
+
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);
|
|
71944
71957
|
return m;
|
|
71945
71958
|
};
|
|
71946
71959
|
}(), r = function() {
|
|
71947
71960
|
if (om) return oh;
|
|
71948
71961
|
om = 1;
|
|
71949
|
-
var t = o1(), r =
|
|
71962
|
+
var t = o1(), r = sJ(), o = op ? of : (op = 1, of = function(t) {
|
|
71950
71963
|
var r = [];
|
|
71951
71964
|
if (null != t) for(var o in Object(t))r.push(o);
|
|
71952
71965
|
return r;
|
|
@@ -71957,12 +71970,12 @@
|
|
|
71957
71970
|
for(var c in i)"constructor" == c && (a || !n.call(i, c)) || s.push(c);
|
|
71958
71971
|
return s;
|
|
71959
71972
|
};
|
|
71960
|
-
}(), o =
|
|
71973
|
+
}(), o = s5();
|
|
71961
71974
|
return og = function(n) {
|
|
71962
71975
|
return o(n) ? t(n, !0) : r(n);
|
|
71963
71976
|
};
|
|
71964
71977
|
}
|
|
71965
|
-
function
|
|
71978
|
+
function ce() {
|
|
71966
71979
|
return ox ? o_ : (ox = 1, o_ = function(t) {
|
|
71967
71980
|
return t;
|
|
71968
71981
|
});
|
|
@@ -71974,8 +71987,8 @@
|
|
|
71974
71987
|
if (oB) return oC;
|
|
71975
71988
|
oB = 1;
|
|
71976
71989
|
var t = function() {
|
|
71977
|
-
if (
|
|
71978
|
-
|
|
71990
|
+
if (rf) return ru;
|
|
71991
|
+
rf = 1;
|
|
71979
71992
|
var t = ne(), r = function() {
|
|
71980
71993
|
if (rr) return rt;
|
|
71981
71994
|
rr = 1;
|
|
@@ -72012,7 +72025,7 @@
|
|
|
72012
72025
|
this.size = o.size;
|
|
72013
72026
|
}
|
|
72014
72027
|
return s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = n, s.prototype.has = i, s.prototype.set = a, ru = s;
|
|
72015
|
-
}(), r =
|
|
72028
|
+
}(), r = sZ(), o = rC ? ry : (rC = 1, ry = (rk ? rw : (rk = 1, rw = function(t) {
|
|
72016
72029
|
return function(r, o, n) {
|
|
72017
72030
|
for(var i = -1, a = Object(r), s = n(r), c = s.length; c--;){
|
|
72018
72031
|
var l = s[t ? c : ++i];
|
|
@@ -72023,14 +72036,14 @@
|
|
|
72023
72036
|
}))()), n = function() {
|
|
72024
72037
|
if (oy) return ok;
|
|
72025
72038
|
oy = 1;
|
|
72026
|
-
var t =
|
|
72039
|
+
var t = sZ(), r = function() {
|
|
72027
72040
|
var t, r, o, n, i, a, s;
|
|
72028
|
-
if (rB) return
|
|
72029
|
-
return rB = 1, t =
|
|
72041
|
+
if (rB) return sK.exports;
|
|
72042
|
+
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) {
|
|
72030
72043
|
if (r) return t.slice();
|
|
72031
72044
|
var o = t.length, n = s ? s(o) : new t.constructor(o);
|
|
72032
72045
|
return t.copy(n), n;
|
|
72033
|
-
},
|
|
72046
|
+
}, sK.exports;
|
|
72034
72047
|
}(), o = function() {
|
|
72035
72048
|
if (rT) return rE;
|
|
72036
72049
|
rT = 1;
|
|
@@ -72068,21 +72081,21 @@
|
|
|
72068
72081
|
return o.prototype = void 0, i;
|
|
72069
72082
|
};
|
|
72070
72083
|
}();
|
|
72071
|
-
}(), r =
|
|
72084
|
+
}(), r = sY(), o = sJ();
|
|
72072
72085
|
return rN = function(n) {
|
|
72073
72086
|
return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
|
|
72074
72087
|
};
|
|
72075
|
-
}(), a =
|
|
72088
|
+
}(), a = s3(), s = oK(), c = function() {
|
|
72076
72089
|
if (rK) return rZ;
|
|
72077
72090
|
rK = 1;
|
|
72078
|
-
var t =
|
|
72091
|
+
var t = s5(), r = o5();
|
|
72079
72092
|
return rZ = function(o) {
|
|
72080
72093
|
return r(o) && t(o);
|
|
72081
72094
|
};
|
|
72082
|
-
}(), l =
|
|
72095
|
+
}(), l = s1(), d = o8(), u = o1(), f = function() {
|
|
72083
72096
|
if (r5) return r2;
|
|
72084
72097
|
r5 = 1;
|
|
72085
|
-
var t = o2(), r =
|
|
72098
|
+
var t = o2(), r = sY(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
|
|
72086
72099
|
return r2 = function(n) {
|
|
72087
72100
|
if (!o(n) || "[object Object]" != t(n)) return !1;
|
|
72088
72101
|
var c = r(n);
|
|
@@ -72090,7 +72103,7 @@
|
|
|
72090
72103
|
var l = a.call(c, "constructor") && c.constructor;
|
|
72091
72104
|
return "function" == typeof l && l instanceof l && i.call(l) == s;
|
|
72092
72105
|
};
|
|
72093
|
-
}(),
|
|
72106
|
+
}(), p = s9(), h = s4(), m = function() {
|
|
72094
72107
|
if (ow) return ov;
|
|
72095
72108
|
ow = 1;
|
|
72096
72109
|
var t = function() {
|
|
@@ -72099,12 +72112,12 @@
|
|
|
72099
72112
|
var t = function() {
|
|
72100
72113
|
if (oo) return or;
|
|
72101
72114
|
oo = 1;
|
|
72102
|
-
var t =
|
|
72115
|
+
var t = sG(), r = o7(), o = Object.prototype.hasOwnProperty;
|
|
72103
72116
|
return or = function(n, i, a) {
|
|
72104
72117
|
var s = n[i];
|
|
72105
72118
|
o.call(n, i) && r(s, a) && (void 0 !== a || i in n) || t(n, i, a);
|
|
72106
72119
|
};
|
|
72107
|
-
}(), r =
|
|
72120
|
+
}(), r = sG();
|
|
72108
72121
|
return on = function(o, n, i, a) {
|
|
72109
72122
|
var s = !i;
|
|
72110
72123
|
i || (i = {});
|
|
@@ -72114,7 +72127,7 @@
|
|
|
72114
72127
|
}
|
|
72115
72128
|
return i;
|
|
72116
72129
|
};
|
|
72117
|
-
}(), r =
|
|
72130
|
+
}(), r = s6();
|
|
72118
72131
|
return ov = function(o) {
|
|
72119
72132
|
return t(o, r(o));
|
|
72120
72133
|
};
|
|
@@ -72124,17 +72137,17 @@
|
|
|
72124
72137
|
if (x) return void t(g, v, x);
|
|
72125
72138
|
var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
|
|
72126
72139
|
if (S) {
|
|
72127
|
-
var E = s(_), T = !E && l(_), D = !E && !T &&
|
|
72128
|
-
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 = [] :
|
|
72140
|
+
var E = s(_), T = !E && l(_), D = !E && !T && p(_);
|
|
72141
|
+
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;
|
|
72129
72142
|
}
|
|
72130
72143
|
S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
|
|
72131
72144
|
};
|
|
72132
|
-
}(), i = o1(), a =
|
|
72133
|
-
return oC = function c(l, d, u,
|
|
72145
|
+
}(), i = o1(), a = s6(), s = s4();
|
|
72146
|
+
return oC = function c(l, d, u, f, p) {
|
|
72134
72147
|
l !== d && o(d, function(o, a) {
|
|
72135
|
-
if (
|
|
72148
|
+
if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
|
|
72136
72149
|
else {
|
|
72137
|
-
var h =
|
|
72150
|
+
var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
|
|
72138
72151
|
void 0 === h && (h = o), r(l, a, h);
|
|
72139
72152
|
}
|
|
72140
72153
|
}, a);
|
|
@@ -72146,7 +72159,7 @@
|
|
|
72146
72159
|
var t = function() {
|
|
72147
72160
|
if (oF) return oL;
|
|
72148
72161
|
oF = 1;
|
|
72149
|
-
var t =
|
|
72162
|
+
var t = ce(), r = function() {
|
|
72150
72163
|
if (oT) return oE;
|
|
72151
72164
|
oT = 1;
|
|
72152
72165
|
var t = oS ? oP : (oS = 1, oP = function(t, r, o) {
|
|
@@ -72180,7 +72193,7 @@
|
|
|
72180
72193
|
return function() {
|
|
72181
72194
|
return t;
|
|
72182
72195
|
};
|
|
72183
|
-
}), r =
|
|
72196
|
+
}), r = sH(), o = ce();
|
|
72184
72197
|
return oj = r ? function(o, n) {
|
|
72185
72198
|
return r(o, "toString", {
|
|
72186
72199
|
configurable: !0,
|
|
@@ -72212,7 +72225,7 @@
|
|
|
72212
72225
|
}(), r = function() {
|
|
72213
72226
|
if (oz) return oN;
|
|
72214
72227
|
oz = 1;
|
|
72215
|
-
var t = o7(), r =
|
|
72228
|
+
var t = o7(), r = s5(), o = s7(), n = o1();
|
|
72216
72229
|
return oN = function(i, a, s) {
|
|
72217
72230
|
if (!n(s)) return !1;
|
|
72218
72231
|
var c = typeof a;
|
|
@@ -72233,7 +72246,7 @@
|
|
|
72233
72246
|
t(r, o, n);
|
|
72234
72247
|
});
|
|
72235
72248
|
}();
|
|
72236
|
-
let
|
|
72249
|
+
let ct = {
|
|
72237
72250
|
data: {
|
|
72238
72251
|
country: "vn",
|
|
72239
72252
|
settings: {
|
|
@@ -72384,12 +72397,12 @@
|
|
|
72384
72397
|
}
|
|
72385
72398
|
}
|
|
72386
72399
|
};
|
|
72387
|
-
let { DesignToken:
|
|
72388
|
-
|
|
72389
|
-
let { DesignToken:
|
|
72390
|
-
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary,
|
|
72391
|
-
let { DesignToken:
|
|
72392
|
-
|
|
72400
|
+
let { DesignToken: cr } = ra$1;
|
|
72401
|
+
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"];
|
|
72402
|
+
let { DesignToken: co } = ra$1;
|
|
72403
|
+
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;
|
|
72404
|
+
let { DesignToken: cn } = ra$1;
|
|
72405
|
+
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({
|
|
72393
72406
|
scannerType: PropTypes.string
|
|
72394
72407
|
})), PropTypes.func, PropTypes.shape({}), PropTypes.string, PropTypes.bool, PropTypes.arrayOf(PropTypes.string), PropTypes.shape({});
|
|
72395
72408
|
|
|
@@ -76606,8 +76619,7 @@
|
|
|
76606
76619
|
if (refVideoPlayed.current) return ()=>{};
|
|
76607
76620
|
if (!navigator.mediaDevices || libExports.browserName && [
|
|
76608
76621
|
'facebook'
|
|
76609
|
-
].includes(libExports.browserName.toLowerCase())
|
|
76610
|
-
) {
|
|
76622
|
+
].includes(libExports.browserName.toLowerCase())) {
|
|
76611
76623
|
setErrorMsg(t('not_supported'));
|
|
76612
76624
|
onError(Errors$9.not_supported);
|
|
76613
76625
|
} else if (videoEl) {
|
|
@@ -86880,7 +86892,7 @@
|
|
|
86880
86892
|
table-layout: auto;
|
|
86881
86893
|
border-collapse: collapse;
|
|
86882
86894
|
`;
|
|
86883
|
-
const ChildrenWrapper$
|
|
86895
|
+
const ChildrenWrapper$2 = dt$1.div`
|
|
86884
86896
|
position: relative;
|
|
86885
86897
|
`;
|
|
86886
86898
|
const rows = Array.from(Array(3).keys());
|
|
@@ -86912,7 +86924,7 @@
|
|
|
86912
86924
|
height: isCenteredCell ? height : 'auto',
|
|
86913
86925
|
...!isCenteredCell ? surroundStyle : {}
|
|
86914
86926
|
},
|
|
86915
|
-
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$
|
|
86927
|
+
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$2, {
|
|
86916
86928
|
style: {
|
|
86917
86929
|
width: cellWidth,
|
|
86918
86930
|
height
|
|
@@ -88732,6 +88744,97 @@
|
|
|
88732
88744
|
};
|
|
88733
88745
|
};
|
|
88734
88746
|
|
|
88747
|
+
/**
|
|
88748
|
+
* Custom hook to delay rendering when transitioning from hidden to visible state.
|
|
88749
|
+
* Useful for waiting for browser dimension updates after orientation changes.
|
|
88750
|
+
*
|
|
88751
|
+
* @param params - Hook parameters
|
|
88752
|
+
* @param params.isVisible - Whether the component is currently visible
|
|
88753
|
+
* @param params.enableDelay - Whether to apply delay logic for show transitions
|
|
88754
|
+
* @param params.delayMs - Delay in milliseconds before showing (default: 500)
|
|
88755
|
+
* @returns Delayed visibility state
|
|
88756
|
+
*/ function useDelayedRender({ isVisible, enableDelay, delayMs = 500 }) {
|
|
88757
|
+
const [isVisibleDelayed, setIsVisibleDelayed] = reactExports.useState(isVisible);
|
|
88758
|
+
const prevIsVisibleRef = reactExports.useRef(isVisible);
|
|
88759
|
+
const timeoutRef = reactExports.useRef(null);
|
|
88760
|
+
reactExports.useEffect(()=>{
|
|
88761
|
+
const prevIsVisible = prevIsVisibleRef.current;
|
|
88762
|
+
// When delay is disabled, always sync immediately
|
|
88763
|
+
if (!enableDelay) {
|
|
88764
|
+
setIsVisibleDelayed(isVisible);
|
|
88765
|
+
prevIsVisibleRef.current = isVisible;
|
|
88766
|
+
return undefined;
|
|
88767
|
+
}
|
|
88768
|
+
// Handle transitions when delay is enabled
|
|
88769
|
+
const isTransitionToShow = !prevIsVisible && isVisible;
|
|
88770
|
+
const isTransitionToHide = prevIsVisible && !isVisible;
|
|
88771
|
+
if (isTransitionToShow) {
|
|
88772
|
+
// Delay showing when transitioning from hidden to visible
|
|
88773
|
+
timeoutRef.current = setTimeout(()=>{
|
|
88774
|
+
setIsVisibleDelayed(true);
|
|
88775
|
+
}, delayMs);
|
|
88776
|
+
} else if (isTransitionToHide) {
|
|
88777
|
+
// Immediately hide and cancel pending show
|
|
88778
|
+
if (timeoutRef.current) {
|
|
88779
|
+
clearTimeout(timeoutRef.current);
|
|
88780
|
+
timeoutRef.current = null;
|
|
88781
|
+
}
|
|
88782
|
+
setIsVisibleDelayed(false);
|
|
88783
|
+
}
|
|
88784
|
+
prevIsVisibleRef.current = isVisible;
|
|
88785
|
+
return ()=>{
|
|
88786
|
+
if (timeoutRef.current) {
|
|
88787
|
+
clearTimeout(timeoutRef.current);
|
|
88788
|
+
}
|
|
88789
|
+
};
|
|
88790
|
+
}, [
|
|
88791
|
+
isVisible,
|
|
88792
|
+
enableDelay,
|
|
88793
|
+
delayMs
|
|
88794
|
+
]);
|
|
88795
|
+
return isVisibleDelayed;
|
|
88796
|
+
}
|
|
88797
|
+
|
|
88798
|
+
const PopupContent$1 = dt$1.div`
|
|
88799
|
+
text-align: center;
|
|
88800
|
+
font-size: 20px;
|
|
88801
|
+
font-weight: 600;
|
|
88802
|
+
`;
|
|
88803
|
+
const ChildrenWrapper$1 = dt$1.div`
|
|
88804
|
+
width: 100%;
|
|
88805
|
+
height: 100%;
|
|
88806
|
+
opacity: ${({ $showChildren })=>$showChildren ? 1 : 0};
|
|
88807
|
+
`;
|
|
88808
|
+
const defaultPreferredOrientations = [
|
|
88809
|
+
MODE.PORTRAIT,
|
|
88810
|
+
MODE.DESKTOP
|
|
88811
|
+
];
|
|
88812
|
+
function OrientationDetectionV2({ onOrientationChange = noop$1, unmountOnHidden = false, remountDelayMs = 500, preferredOrientations = defaultPreferredOrientations, children }) {
|
|
88813
|
+
const t = gB();
|
|
88814
|
+
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88815
|
+
const hasCorrectOrientation = preferredOrientations.includes(curOrientation);
|
|
88816
|
+
const isVisible = useDelayedRender({
|
|
88817
|
+
isVisible: hasCorrectOrientation,
|
|
88818
|
+
enableDelay: unmountOnHidden,
|
|
88819
|
+
delayMs: remountDelayMs
|
|
88820
|
+
});
|
|
88821
|
+
const shouldMountChildrenOnDom = unmountOnHidden ? isVisible : true;
|
|
88822
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
88823
|
+
children: [
|
|
88824
|
+
!preferredOrientations.includes(curOrientation) && /*#__PURE__*/ jsxRuntimeExports.jsx(PopupComponent, {
|
|
88825
|
+
open: true,
|
|
88826
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(PopupContent$1, {
|
|
88827
|
+
children: t('wrong_orientation')
|
|
88828
|
+
})
|
|
88829
|
+
}),
|
|
88830
|
+
shouldMountChildrenOnDom && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$1, {
|
|
88831
|
+
$showChildren: hasCorrectOrientation,
|
|
88832
|
+
children: children
|
|
88833
|
+
})
|
|
88834
|
+
]
|
|
88835
|
+
});
|
|
88836
|
+
}
|
|
88837
|
+
|
|
88735
88838
|
const PopupContent = dt$1.div`
|
|
88736
88839
|
text-align: center;
|
|
88737
88840
|
font-size: 20px;
|
|
@@ -88743,7 +88846,7 @@
|
|
|
88743
88846
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88744
88847
|
`;
|
|
88745
88848
|
// eslint-disable-next-line react/require-default-props
|
|
88746
|
-
function
|
|
88849
|
+
function OrientationDetectionV1({ onOrientationChange, unmountOnHidden, children }) {
|
|
88747
88850
|
const t = gB();
|
|
88748
88851
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88749
88852
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88755,22 +88858,35 @@
|
|
|
88755
88858
|
children: t('wrong_orientation')
|
|
88756
88859
|
})
|
|
88757
88860
|
}),
|
|
88758
|
-
(
|
|
88861
|
+
(unmountOnHidden ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88759
88862
|
showChildren: shouldShowChildren,
|
|
88760
88863
|
children: children
|
|
88761
88864
|
})
|
|
88762
88865
|
]
|
|
88763
88866
|
});
|
|
88764
88867
|
}
|
|
88765
|
-
|
|
88868
|
+
OrientationDetectionV1.defaultProps = {
|
|
88766
88869
|
onOrientationChange: ()=>{},
|
|
88767
|
-
|
|
88870
|
+
unmountOnHidden: false
|
|
88768
88871
|
};
|
|
88769
|
-
|
|
88872
|
+
OrientationDetectionV1.propTypes = {
|
|
88770
88873
|
onOrientationChange: PropTypes.func,
|
|
88771
|
-
|
|
88874
|
+
unmountOnHidden: PropTypes.bool
|
|
88772
88875
|
};
|
|
88773
88876
|
|
|
88877
|
+
function OrientationDetection({ version = 'v1', children, ...rest }) {
|
|
88878
|
+
if (version === 'v2') {
|
|
88879
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV2, {
|
|
88880
|
+
...rest,
|
|
88881
|
+
children: children
|
|
88882
|
+
});
|
|
88883
|
+
}
|
|
88884
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV1, {
|
|
88885
|
+
...rest,
|
|
88886
|
+
children: children
|
|
88887
|
+
});
|
|
88888
|
+
}
|
|
88889
|
+
|
|
88774
88890
|
const useEkycSession = ()=>{
|
|
88775
88891
|
const [sessionId, setSessionId] = reactExports.useState(Date.now());
|
|
88776
88892
|
const updateSessionId = reactExports.useCallback(()=>{
|
|
@@ -113492,7 +113608,7 @@
|
|
|
113492
113608
|
};
|
|
113493
113609
|
};
|
|
113494
113610
|
|
|
113495
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.
|
|
113611
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.20260106-111700/assets";
|
|
113496
113612
|
class TVWebSDK extends gU {
|
|
113497
113613
|
constructor(props){
|
|
113498
113614
|
super({
|
|
@@ -113507,8 +113623,8 @@
|
|
|
113507
113623
|
exports.SDK = TVWebSDK;
|
|
113508
113624
|
exports.SDKAdapter = gV;
|
|
113509
113625
|
exports.ScannerType = iI;
|
|
113510
|
-
exports.defaultClientSettings =
|
|
113511
|
-
exports.defaultReadIDCardSteps =
|
|
113626
|
+
exports.defaultClientSettings = ct;
|
|
113627
|
+
exports.defaultReadIDCardSteps = sX;
|
|
113512
113628
|
exports.getSDKVersion = nB$1;
|
|
113513
113629
|
|
|
113514
113630
|
}));
|