PageSourceSearch

https://panel.preyproject.com/packs/js/684-6a0446698fcd9ef24435.chunk.js

js preyproject.com collected 2026-10-01 12:01:05 UTC 17,976 bytes, 3 lines download raw bytes

1/*! For license information please see 684-6a0446698fcd9ef24435.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunkprey_control_panel=self.webpackChunkprey_control_panel||[]).push([[684],{70741(e,t,n){function r(){var e,t,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function s(n,r,a,i){var s=r&&r.prototype instanceof u?r:u,l=Object.create(s.prototype);return o(l,"_invoke",function(n,r,o){var a,i,s,u=0,l=o||[],p=!1,d={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return a=t,i=0,s=e,d.n=n,c}};function f(n,r){for(i=n,s=r,t=0;!p&&u&&!o&&t<l.length;t++){var o,a=l[t],f=d.p,w=a[2];n>3?(o=w===r)&&(s=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=f&&((o=n<2&&f<a[1])?(i=0,d.v=r,d.n=a[1]):f<w&&(o=n<3||a[0]>r||r>w)&&(a[4]=n,a[5]=r,d.n=w,i=0))}if(o||n>1)return c;throw p=!0,r}return function(o,l,w){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&f(l,w),i=l,s=w;(t=i<2?e:s)||!p;){a||(i?i<3?(i>1&&(d.n=-1),f(i,s)):d.n=s:d.v=s);try{if(u=2,a){if(i||(o="next"),t=a[o]){if(!(t=t.call(a,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,i<2&&(i=0)}else 1===i&&(t=a.return)&&t.call(a),i<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=e}else if((t=(p=d.n<0)?s:n.call(r,d))!==c)break}catch(t){a=e,i=1,s=t}finally{u=1}}return{value:t,done:p}}}(n,a,i),!0),l}var c={};function u(){}function l(){}function p(){}t=Object.getPrototypeOf;var d=[][a]?t(t([][a]())):(o(t={},a,function(){return this}),t),f=p.prototype=u.prototype=Object.create(d);function w(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,o(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=p,o(f,"constructor",p),o(p,"constructor",l),l.displayName="GeneratorFunction",o(p,i,"GeneratorFunction"),o(f),o(f,i,"Generator"),o(f,a,function(){return this}),o(f,"toString",function(){return"[object Generator]"}),(r=function(){return{w:s,m:w}})()}function o(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}o=function(e,t,n,r){function i(t,n){o(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},o(e,t,n,r)}function a(e){return a="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},a(e)}function i(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}n.d(t,{o:()=>s});var s=function(){var e=!1,t=null;function n(){var e=document.cookie.match("(^|;) ?lang=([^;]*)(;|$)");return e?unescape(e[2]):null}function o(){var e;return e=r().m(function e(n){var o,a;return r().w(function(e){for(;;)switch(e.p=e.n){case 0:if(t){e.n=1;break}return console.error("Recaptcha: Not initialized. Call init() first with your site key."),e.a(2,null);case 1:if("undefined"!==typeof grecaptcha&&"function"===typeof grecaptcha.execute){e.n=2;break}return console.warn("Recaptcha: grecaptcha.execute is not yet available. Script might still be loading or failed to load."),e.a(2,null);case 2:return e.p=2,e.n=3,grecaptcha.execute(t,{action:"submit_form"});case 3:if(o=e.v){e.n=4;break}return console.error("Recaptcha: Could not get token for action: submit_form"),e.a(2,null);case 4:return c(o),s(o,n),e.a(2,o);case 5:return e.p=5,a=e.v,console.error("Recaptcha: Error executing for action submit_form:",a),e.a(2,null)}},e,null,[[2,5]])}),o=function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,c,"next",e)}function c(e){i(a,r,o,s,c,"throw",e)}s(void 0)})},o.apply(this,arguments)}function s(e,t){if(t)if("function"===typeof t)t(e);else if("object"===a(t)&&null!==t){var n=localStorage.getItem("recaptchaCallbackOption");n&&"function"===typeof t[n]?t[n](e):console.warn("Recaptcha: Callback option not found or not a function in callback object.")}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"g-recaptcha-response",n=document.getElementById(t);return n?(n.value=e,!0):(console.error("Recaptcha: Hidden input field '".concat(t,"' not found.")),!1)}return{userLang:n,requestFromIosClient:function(){return"Mozilla/5.0"===navigator.userAgent},init:function(){t=window.google_captcha_key,function(){if(!e&&t){e=!0;var r=document.createElement("script");r.id="recaptcha-script",r.src="https://www.google.com/recaptcha/api.js?render=".concat(t,"&hl=").concat(n()||"en"),r.async=!0,r.defer=!0,r.onerror=function(){console.error("Recaptcha: Failed to load reCAPTCHA script."),e=!1},document.head.appendChild(r)}}()},execute:function(e){return o.apply(this,arguments)},handleCallback:s,setTokenToInput:c}}()},94120(e,t,n){n.d(t,{A:()=>b});var r=n(96540),o=n(2445);const a=function(e){e.height,e.width;var t=e.color;return(0,o.FD)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.Y)("path",{d:"M3.10441 2.39409C2.90753 2.20074 2.59113 2.20074 2.39777 2.39761C2.20441 2.59097 2.20441 2.90738 2.39777 3.10074L14.8958 15.6058C15.0259 15.7359 15.2122 15.7781 15.3775 15.7324C15.4618 15.7113 15.5392 15.6656 15.6025 15.6023C15.7958 15.4089 15.7958 15.0925 15.6025 14.8992L3.10441 2.39409ZM9.14777 12.1605C7.28448 12.2449 5.75167 10.7121 5.83956 8.8523C5.86066 8.42339 5.96613 8.01558 6.14191 7.64644L4.26456 5.76558C3.29073 6.51792 2.31691 7.48472 1.27277 8.62378C1.07941 8.83824 1.07589 9.15816 1.26925 9.37261C3.55089 11.8933 5.56183 14.0625 8.99308 14.0625C10.0372 14.0625 11.0005 13.8023 11.8864 13.3875L10.3571 11.8582C9.98448 12.0339 9.57667 12.1394 9.14777 12.1605ZM16.7275 9.35152C16.9138 9.14761 16.9243 8.83824 16.745 8.62378C14.9064 6.39136 12.3575 3.93745 8.99308 3.93745C7.97003 3.93745 7.02433 4.16949 6.11027 4.60542L7.64659 6.14175C8.01573 5.96597 8.42355 5.85699 8.85245 5.83941C10.7157 5.75503 12.2485 7.28785 12.1607 9.14761C12.1396 9.57652 12.0341 9.98433 11.8583 10.3535L13.7392 12.2343C14.8993 11.3449 15.8942 10.2691 16.7275 9.35152Z",fill:t||"white"}),(0,o.Y)("path",{d:"M6.75687 9.17227C6.84125 10.2727 7.72719 11.1586 8.82758 11.243C9.11586 11.2641 9.39359 11.2324 9.65023 11.1516L6.84476 8.34609C6.76742 8.60625 6.73578 8.88398 6.75687 9.17227ZM11.2498 9C11.2498 8.9543 11.2463 8.90859 11.2463 8.86289C11.0495 8.95078 10.835 9 10.6065 9C10.5678 9 10.5327 9 10.4975 8.99648L11.1514 9.65391C11.2147 9.44648 11.2498 9.225 11.2498 9ZM8.99984 7.34766C8.99984 7.13672 9.03851 6.93633 9.10883 6.75352C9.07367 6.75352 9.03851 6.75 8.99984 6.75C8.77484 
26.75 8.55687 6.78516 8.34945 6.84844L9.00687 7.50586C9.00336 7.45312 8.99984 7.40039 8.99984 7.34766Z",fill:t||"white"})]})};const i=function(e){e.height,e.width;var t=e.color;return(0,o.FD)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.Y)("path",{d:"M9.14777 12.1605C7.28448 12.2449 5.75167 10.7121 5.83956 8.85234C5.86066 8.42344 6.15891 6.85022 7.64659 6.1418L6.11027 4.60547C3.6943 5.83945 2.31691 7.48477 1.27277 8.62383C1.07941 8.83828 1.07589 9.1582 1.26925 9.37266C3.55089 11.8934 5.56183 14.0625 8.99308 14.0625C10 14 11.5 14 13.7392 12.2344L11.8583 10.3535C11.21 11.7149 9.57667 12.1395 9.14777 12.1605ZM16.7275 9.35156C16.9138 9.14766 16.9243 8.83828 16.745 8.62383C14.9064 6.39141 12.3575 3.9375 8.99308 3.9375C7.97003 3.9375 7.02433 4.16953 6.11027 4.60547L7.64659 6.1418C8.01573 5.96602 8.42355 5.85703 8.85245 5.83945C10.7157 5.75508 12.2485 7.28789 12.1607 9.14766C12.1396 9.57656 12.0341 9.98438 11.8583 10.3535L13.7392 12.2344C14.8993 11.3449 15.8942 10.2691 16.7275 9.35156Z",fill:t||"white"}),(0,o.Y)("path",{d:"M6.75725 9.17227C6.84163 10.2727 7.72757 11.1586 8.82796 11.243C9.11624 11.2641 10.4979 11.243 11.1518 9.65391C11.1518 9.65391 11.0003 9.5 10.4979 8.99648C10.0853 8.91084 9.76043 8.76017 9.50026 8.5C9.00026 8 9.00026 7.5 9.00026 7.5L8.67517 7.17422L8.35008 6.84844C6.75747 7.33438 6.7329 8.86289 6.75725 9.17227ZM11.2502 9C11.2502 8.9543 11.2467 8.90859 11.2467 8.86289C11.0498 8.95078 10.8354 9 10.6069 9C10.5682 9 10.533 9 10.4979 8.99648L11.1518 9.65391C11.2151 9.44648 11.2502 9.225 11.2502 9ZM9.00022 7.34766C9.00022 7.13672 9.03889 6.93633 9.10921 6.75352C9.07405 6.75352 9.03889 6.75 9.00022 6.75C8.77522 6.75 8.5575 6.78516 8.35008 6.84844L8.67867 7.17715L9.00725 7.50586C9.00374 7.45312 9.00022 7.40039 9.00022 7.34766Z",fill:t||"white"})]})};function s(e){return s="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},s(e)}function c(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,u(r.key),r)}}function u(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}function l(e,t,n){return t=w(t),p(e,f()?Reflect.construct(t,n||[],w(e).constructor):t.apply(e,n))}function p(e,t){if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return p(e,(e=l(this,t,[].concat(r)),Object.defineProperty(d(e),"state",{enumerable:!0,writable:!0,value:{pwdContainUpperCase:!1,pwdContainSymbol:!1,pwdMissMatch:!1,confirmPwdEmpty:!0,regUpperCase:/[A-Z]/,regSymbol:/[^\w\s]/,showPwdRequirements:!1,confirmPwdMessage:!1,pwdContainMinLength:!1,pwdContainMaxLength:!0,pwdConfirmationDisabled:!0,inputType:"password",inputTypeConfirmation:"password"}}),Object.defineProperty(d(e),"toggleInputType",{enumerable:!0,writable:!0,value:function(t){return 1===t?e.setState({inputType:"text"===e.state.inputType?"password":"text"}):e.setState({inputTypeConfirmation:"text"===e.state.inputTypeConfirmation?"password":"text"})}}),Object.defineProperty(d(e),"validStrongPassword",{enumerable:!0,writable:!0,value:function(){return e.props.validStrongPassword(e.state.pwdContainUpperCase&&e.state.pwdContainSymbol&&e.state.pwdContainMinLength&&!e.state.confirmPwdEmpty&&!e.state.pwdMissMatch)}}),Object.defineProperty(d(e),"checkStrongPassword",{enumerable:!0,writable:!0,value:function(t){e.setState({pwdContainUpperCase:e.state.regUpperCase.test(t.target.value),pwdContainSymbol:e.state.regSymbol.test(t.target.value)||t.target.value.includes("_"),pwdContainMinLength:t.target.value.length>=6,pwdContainMaxLength:t.target.value.length<=32},function(){e.state.pwdContainUpperCase&&e.state.pwdContainSymbol&&e.state.pwdContainMinLength&&e.state.pwdContainMaxLength?e.setState({pwdConfirmationDisabled:!1}):(e.setState({pwdConfirmationDisabled:!0}),e.hideConfirmPassword()),e.matchConfirmPassword()})}}),Object.defineProperty(d(e),"matchConfirmPassword",{enumerable:!0,writable:!0,value:function(t){var n=document.getElementById("user_password"),r=document.getElementById("user_password_confirmation").value;e.setState({pwdMissMatch:n.value!==r,confirmPwdEmpty:0===r.length,confirmPwdMessage:!0},function(){e.validStrongPassword()})}}),Object.defineProperty(d(e),"showPwdRequirementsView",{enumerable:!0,writable:!0,value:function(){return e.state.showPwdRequirements&&(0,o.FD)("div",{className:"strong-password-requirements",children:[(0,o.Y)("p",{children:I18n.t("signup.strong_password")}),(0,o.FD)("p",{className:e.state.pwdContainMinLength?"req-accepted":"req-rejected",children:[e.state.pwdContainMinLength?"\u2713":"\u2717"," ",I18n.t("signup.min_length")]}),(0,o.FD)("p",{className:e.state.pwdContainMaxLength?"req-accepted":"req-rejected",children:[e.state.pwdContainMaxLength?"\u2713":"\u2717"," ",I18n.t("signup.max_length")]}),(0,o.FD)("p",{className:e.state.pwdContainUpperCase?"req-accepted":"req-rejected",children:[e.state.pwdContainUpperCase?"\u2713":"\u2717"," ",I18n.t("signup.uppercase")]}),(0,o.FD)("p",{className:e.state.pwdContainSymbol?"req-accepted":"req-rejected",children:[e.state.pwdContainSymbol?"\u2713":"\u2717"," ",I18n.t("signup.symbol")]})]})}}),Object.defineProperty(d(e),"showPwdRequirements",{enumerable:!0,writable:!0,value:function(){e.setState({showPwdRequirements:!0})}}),Object.defineProperty(d(e),"showConfirmPasswordView",{enumerable:!0,writable:!0,value:function(){return e.state.confirmPwdMessage&&(e.state.pwdMissMatch&&!e.state.confirmPwdEmpty?(0,o.Y)("div",{className:"strong-password-requirements",children:(0,o.Y)("p",{className:"req-rejected",children:I18n.t("signup.password_missmatch")})}):!e.state.confirmPwdEmpty&&(0,o.Y)("div",{className:"strong-password-requirements",children:(0,o.Y)("p",{className:"req-accepted",children:I18n.t("signup.password_match")})}))}}),Object.defineProperty(d(e),"hideConfirmPassword",{enumerable:!0,writable:!0,value:function(){e.setState({confirmPwdMessage:!1})}}),Object.defineProperty(d(e),"checkForm",{enumerable:!0,writable:!0,value:function(t){switch(t){case"profile":return(0,o.FD)("div",{children:[(0,o.FD)("li",{className:"form-group",children:[(0,o.FD)("label",{htmlFor:"user_password",className:"input-newui__label",children:[" ",I18n.t("v1.login.password")]}),(0,o.Y)("input",{className:"input-newui__input",id:"user_password",name:"user[password]",tabIndex:"5",type:"password",onFocus:e.showPwdRequirements,onBlur:e.hidePwdRequirements,onChange:e.checkStrongPassword})]}),e.showPwdRequirementsView(),(0,o.FD)("li",{className:"form-group",children:[(0,o.Y)("label",{htmlFor:"user_password_confirmation",className:"input-newui__label",children:I18n.t("v1.signup.password_confirm")}),(0,o.Y)("input",{className:"input-newui__input",id:"user_password_confirmation",name:"user[password_confirmation]",tabIndex:"6",type:"password",onChange:e.matchConfirmPassword,onFocus:e.matchConfirmPassword,disabled:e.state.pwdConfirmationDisabled?"disabled":""})]}),e.showConfirmPasswordView()]});case"new_user":return(0,o.FD)("div",{children:[(0,o.FD)("div",{className:"form-group modal
2-edit__input-container password mxwidht-2",children:[(0,o.Y)("label",{htmlFor:"user_password",className:"modal-edit__label",children:I18n.t("user.create_user.password")}),(0,o.Y)("input",{className:"modal-edit__input",id:"user_password",name:"user[password]",tabIndex:"5",type:e.state.inputType,onFocus:e.showPwdRequirements,onBlur:e.hidePwdRequirements,onChange:e.checkStrongPassword}),(0,o.Y)("a",{rel:"noopener",href:"#",className:"visibility",onClick:function(){return e.toggleInputType(1)},children:"text"===e.state.inputType?(0,o.Y)(i,{color:"#787D86"}):(0,o.Y)(a,{color:"#787D86"})}),e.showPwdRequirementsView()]}),(0,o.FD)("div",{className:"form-group modal-edit__input-container password mxwidht-2",children:[(0,o.Y)("label",{htmlFor:"user_password_confirmation",className:"modal-edit__label",children:I18n.t("user.create_user.password_confirmation")}),(0,o.Y)("input",{className:"modal-edit__input",id:"user_password_confirmation",name:"user[password_confirmation]",tabIndex:"6",type:e.state.inputTypeConfirmation,onChange:e.matchConfirmPassword,onFocus:e.matchConfirmPassword,disabled:e.state.pwdConfirmationDisabled?"disabled":""}),(0,o.Y)("a",{rel:"noopener",href:"#",className:"visibility",onClick:function(){return e.toggleInputType(2)},children:"text"===e.state.inputTypeConfirmation?(0,o.Y)(i,{color:"#787D86"}):(0,o.Y)(a,{color:"#787D86"})}),e.showConfirmPasswordView()]})]});case"signup":return(0,o.FD)("div",{style:{display:"flex"},className:"login-newui__inputs-passwords",children:[(0,o.FD)("li",{className:"sep",children:[(0,o.Y)("label",{className:"login-newui__label",htmlFor:"user_password",children:I18n.t("signup.password")}),(0,o.Y)("input",{tabIndex:"4",className:"login-newui__input",type:"password",name:"user[password]",id:"user_password",onFocus:e.showPwdRequirements,onBlur:e.hidePwdRequirements,onChange:e.checkStrongPassword}),e.props.errorsFor("password"),e.showPwdRequirementsView()]}),(0,o.FD)("li",{className:"sep",children:[(0,o.Y)("label",{className:"login-newui__label",htmlFor:"user_password_confirmation",children:I18n.t("signup.password_confirm")}),(0,o.Y)("input",{tabIndex:"5",className:"login-newui__input",type:"password",name:"user[password_confirmation]",id:"user_password_confirmation",onChange:e.matchConfirmPassword,onFocus:e.matchConfirmPassword,disabled:e.state.pwdConfirmationDisabled?"login-newui__input--disabled":""}),e.props.errorsFor("password_confirmation"),e.showConfirmPasswordView()]})]})}}}),d(e)))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){return(0,o.Y)("div",{style:{width:"100%"},children:this.checkForm(this.props.source)})}}])&&c(n.prototype,r),s&&c(n,s),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,s}(r.Component);const b=h}}]);
3//# sourceMappingURL=684-6a0446698fcd9ef24435.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.