FacialRecognition/build/static/js/main.e5880f00.js

3 lines
316 KiB
JavaScript
Raw Normal View History

2024-01-31 19:55:11 +05:30
/*! For license information please see main.e5880f00.js.LICENSE.txt */
(()=>{var e={888:(e,t,n)=>{"use strict";var r=n(47);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},7:(e,t,n)=>{e.exports=n(888)()},47:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},848:function(e){e.exports=function(){"use strict";var e=3.1415926,t={PI:e,PIx2:2*e,PI_2:e/2,PI_180:e/180,N180_PI:180/e,Infinity:-999,isInfinity:function(e){return e===this.Infinity||e===1/0},randomAToB:function(e,t,n){return 2<arguments.length&&void 0!==n&&n?Math.floor(Math.random()*(t-e))+e:e+Math.random()*(t-e)},randomFloating:function(e,t,n){return this.randomAToB(e-t,e+t,n)},randomColor:function(){return"#"+("00000"+(16777216*Math.random()<<0).toString(16)).slice(-6)},randomZone:function(){},floor:function(e,t){return t=1<arguments.length&&void 0!==t?t:4,t=Math.pow(10,t),Math.floor(e*t)/t},degreeTransform:function(t){return t*e/180},toColor16:function(e){return"#"+e.toString(16)}},n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},a=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e};function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);return void 0!==r?"value"in r?r.value:void 0!==(r=r.get)?r.call(n):void 0:null!==(e=Object.getPrototypeOf(e))?o(e,t,n):void 0}var l=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},u=(a(c,[{key:"getValue",value:function(e){return e=0<arguments.length&&void 0!==e&&e,this.isArray?S.getRandFromArray(this.a):this.center?t.randomFloating(this.a,this.b,e):t.randomAToB(this.a,this.b,e)}}],[{key:"setSpanValue",value:function(e,t,n){return e instanceof c?e:void 0===t?new c(e):void 0===n?new c(e,t):new c(e,t,n)}},{key:"getSpanValue",value:function(e){return e instanceof c?e.getValue():e}}]),c);function c(e,t,n){r(this,c),S.isArray(e)?(this.isArray=!0,this.a=e):(this.isArray=!1,this.a=S.initValue(e,1),this.b=S.initValue(t,this.a),this.center=S.initValue(n,!1))}var f=function(e){--e;for(var t=1;t<32;t<<=1)e|=e>>t;return e+1},d=function(e,t){return[1,0,0,0,1,0,e,t,1]},h=function(e){var t=Math.cos(e);return[t,-(e=Math.sin(e)),0,e,t,0,0,0,1]},p=function(e,t){return[e,0,0,0,t,0,0,0,1]},m=function(e,t){var n=e[0],r=e[1],a=e[2],i=e[3],o=e[4],l=e[5],s=e[6],u=e[7],c=e[8],f=t[0],d=t[1],h=t[2],p=t[3],m=t[4],v=t[5],g=t[6];return[n*f+r*p+a*g,n*d+r*m+a*(e=t[7]),n*h+r*v+a*(t=t[8]),i*f+o*p+l*g,i*d+o*m+l*e,i*h+o*v+l*t,s*f+u*p+c*g,s*d+u*m+c*e,s*h+u*v+c*t]},v={createCanvas:function(e,t,n,r){var a=3<arguments.length&&void 0!==r?r:"absolute";return(r=document.createElement("canvas")).id=e,r.width=t,r.height=n,r.style.opacity=0,r.style.position=a,this.transform(r,-500,-500,0,0),r},createDiv:function(e,t,n){var r=document.createElement("div");return r.id=e,r.style.position="absolut
//# sourceMappingURL=main.e5880f00.js.map