Plugin Directory

Changeset 3106067

Timestamp:
06/22/2024 05:02:40 PM (5 weeks ago)
Author:
ronalfy
Message:

Fixing lazy loading when not inline. Fixing bug with inline button loading text.

Location:
wp-ajaxify-comments/trunk
Files:
8 added
8 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • wp-ajaxify-comments/trunk/dist/wpac-admin-lazy-load-js.asset.php

    r3099622 r3106067  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-a11y', 'wp-components', 'wp-i18n'), 'version' => 'df9d73b183d166c7d3d8');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-a11y', 'wp-components', 'wp-i18n'), 'version' => '');
  • wp-ajaxify-comments/trunk/dist/wpac-admin-lazy-load-js.js

    r3099622 r3106067  
    11/*! For license information please see wpac-admin-lazy-load-js.js.LICENSE.txt */
    2 (()=>{var e,t,r={9669:(e,t,r)=>{e.exports=r(1609)},5448:(e,t,r)=>{"use strict";var n=r(4867),o=r(6026),a=r(4372),i=r(5327),s=r(4097),l=r(4109),u=r(7985),c=r(5061),f=r(7874),p=r(5263);e.exports=function(e){return new Promise((function(t,r){var d,y=e.data,h=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(y)&&delete h["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(b+":"+w)}var _=s(e.baseURL,e.url);function S(){if(v){var n="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,a={data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};o((function(e){t(e),g()}),(function(e){r(e),g()}),a),v=null}}if(v.open(e.method.toUpperCase(),i(_,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=S:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(S)},v.onabort=function(){v&&(r(c("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){r(c("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||f;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(c(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},n.isStandardBrowserEnv()){var E=(e.withCredentials||u(_))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;E&&(h[e.xsrfHeaderName]=E)}"setRequestHeader"in v&&n.forEach(h,(function(e,t){void 0===y&&"content-type"===t.toLowerCase()?delete h[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),m&&"json"!==m&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){v&&(r(!e||e&&e.type?new p("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),y||(y=null),v.send(y)}))}},1609:(e,t,r)=>{"use strict";var n=r(4867),o=r(1849),a=r(321),i=r(7185),s=function e(t){var r=new a(t),s=o(a.prototype.request,r);return n.extend(s,a.prototype,r),n.extend(s,r),s.create=function(r){return e(i(t,r))},s}(r(5546));s.Axios=a,s.Cancel=r(5263),s.CancelToken=r(4972),s.isCancel=r(6502),s.VERSION=r(7288).version,s.all=function(e){return Promise.all(e)},s.spread=r(8713),s.isAxiosError=r(6268),e.exports=s,e.exports.default=s},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,r)=>{"use strict";var n=r(5263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,r)=>{"use strict";var n=r(4867),o=r(5327),a=r(782),i=r(3572),s=r(7185),l=r(4875),u=l.validators;function c(e){this.defaults=e,this.interceptors={request:new a,response:new a}}c.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&l.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var a,c=[];if(this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)})),!o){var f=[i,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(c),a=Promise.resolve(t);f.length;)a=a.then(f.shift(),f.shift());return a}for(var p=t;n.length;){var d=n.shift(),y=n.shift();try{p=d(p)}catch(e){y(e);break}}try{a=i(p)}catch(e){return Promise.reject(e)}for(;c.length;)a=a.then(c.shift(),c.shift());return a},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=c},782:(e,t,r)=>{"use strict";var n=r(4867);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},4097:(e,t,r)=>{"use strict";var n=r(1793),o=r(7303);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},5061:(e,t,r)=>{"use strict";var n=r(481);e.exports=function(e,t,r,o,a){var i=new Error(e);return n(i,t,r,o,a)}},3572:(e,t,r)=>{"use strict";var n=r(4867),o=r(8527),a=r(6502),i=r(5546),s=r(5263);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},7185:(e,t,r)=>{"use strict";var n=r(4867);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function i(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function l(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||a,o=t(e);n.isUndefined(o)&&t!==l||(r[e]=o)})),r}},6026:(e,t,r)=>{"use strict";var n=r(5061);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},8527:(e,t,r)=>{"use strict";var n=r(4867),o=r(5546);e.exports=function(e,t,r){var a=this||o;return n.forEach(r,(function(r){e=r.call(a,e,t)})),e}},5546:(e,t,r)=>{"use strict";var n=r(4867),o=r(6016),a=r(481),i=r(7874),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:i,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(5448)),u),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c},7874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:e=>{e.exports={version:"0.26.1"}},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},5327:(e,t,r)=>{"use strict";var n=r(4867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(n.isURLSearchParams(t))a=t.toString();else{var i=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),a=i.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,r)=>{"use strict";var n=r(4867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,a,i){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:(e,t,r)=>{"use strict";var n=r(4867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},7985:(e,t,r)=>{"use strict";var n=r(4867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},6016:(e,t,r)=>{"use strict";var n=r(4867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},4109:(e,t,r)=>{"use strict";var n=r(4867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,i={};return e?(n.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([r]):i[t]?i[t]+", "+r:r}})),i):i}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4875:(e,t,r)=>{"use strict";var n=r(7288).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,i){if(!1===e)throw new Error(o(n," has been removed"+(t?" in "+t:"")));return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,i)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var a=n[o],i=t[a];if(i){var s=e[a],l=void 0===s||i(s,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==r)throw Error("Unknown option "+a)}},validators:o}},4867:(e,t,r)=>{"use strict";var n=r(1849),o=Object.prototype.toString;function a(e){return Array.isArray(e)}function i(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===o.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:u,isUndefined:i,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return l(e)&&c(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):a(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)f(arguments[n],r);return t},extend:function(e,t,r){return f(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},7202:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(9196),o=r.n(n),a=r(5697),i=r.n(a),s=r(5158),l=r(5736),u=r(5609),c=r(4184),f=r.n(c);function p(e){return p="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},p(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(e){var t,r=e.message,a=e.status,i=e.politeness,c=e.icon,p=e.className,h=e.inline,m=e.children,g=e.hasToTop,v=void 0!==g&&g;(0,n.useEffect)((function(){(0,s.speak)(r,i)}),[r,a,i]);var b,w=function(){return null!==c},_=f()(p,"ajaxify-admin__notice",(y(t={"ajaxify-admin__notice--has-icon":w()},"ajaxify-admin__notice-type--".concat(a),!0),y(t,"ajaxify-admin__notice-appearance--inline",h),y(t,"ajaxify-admin__notice-appearance--block",!h),t)),S=[{label:(0,l.__)("Back to Top","wp-ajaxify-comments"),url:"#ajaxify-admin-header",variant:"link",className:"ajaxify-admin__notice-action ajaxify-admin__notice-action--to-top"}];return o().createElement("div",{className:_},o().createElement(u.Notice,d({isDismissible:!1,spokenMessage:r,actions:v?S:[]},e),w()&&o().createElement("div",{className:"ajaxify-admin__notice-icon"},(b=c,o().createElement(b,{width:16,height:16,fill:"#6c757d"}))),o().createElement("div",{className:"ajaxify-admin__notice-message"},o().createElement(o().Fragment,null,r," ",m," "))))};h.defaultProps={message:"",status:"info",politeness:"polite",icon:null,className:"",inline:!1,hasToTop:!1},h.propTypes={message:i().string.isRequired,status:i().oneOf(["info","warning","success","error"]),politeness:i().oneOf(["assertive","polite"]),icon:i().func,className:i().string,inline:i().bool,hasToTop:i().bool};const m=h},1924:(e,t,r)=>{"use strict";var n=r(210),o=r(5559),a=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&a(e,".prototype.")>-1?o(r):r}},5559:(e,t,r)=>{"use strict";var n=r(8612),o=r(210),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),l=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=s(n,i,arguments);return l&&u&&l(t,"length").configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))}),t};var f=function(){return s(n,a,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},4184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},7648:e=>{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var o,a=t.call(arguments,1),i=Math.max(0,n.length-a.length),s=[],l=0;l<i;l++)s.push("$"+l);if(o=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var r=n.apply(this,a.concat(t.call(arguments)));return Object(r)===r?r:this}return n.apply(e,a.concat(t.call(arguments)))})),n.prototype){var u=function(){};u.prototype=n.prototype,o.prototype=new u,u.prototype=null}return o}},8612:(e,t,r)=>{"use strict";var n=r(7648);e.exports=Function.prototype.bind||n},210:(e,t,r)=>{"use strict";var n,o=SyntaxError,a=Function,i=TypeError,s=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new i},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,f=r(1405)(),p=r(8185)(),d=Object.getPrototypeOf||(p?function(e){return e.__proto__}:null),y={},h="undefined"!=typeof Uint8Array&&d?d(Uint8Array):n,m={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f&&d?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&d?d(d([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f&&d?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f&&d?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&d?d(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":h,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(d)try{null.error}catch(e){var g=d(d(e));m["%Error.prototype%"]=g}var v=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&d&&(r=d(o.prototype))}return m[t]=r,r},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=r(8612),_=r(7642),S=w.call(Function.call,Array.prototype.concat),E=w.call(Function.apply,Array.prototype.splice),x=w.call(Function.call,String.prototype.replace),j=w.call(Function.call,String.prototype.slice),L=w.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,I=function(e,t){var r,n=e;if(_(b,n)&&(n="%"+(r=b[n])[0]+"%"),_(m,n)){var a=m[n];if(a===y&&(a=v(n)),void 0===a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=j(e,0,1),r=j(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return x(e,A,(function(e,t,r,o){n[n.length]=r?x(o,O,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",a=I("%"+n+"%",t),s=a.name,u=a.value,c=!1,f=a.alias;f&&(n=f[0],E(r,S([0,1],f)));for(var p=1,d=!0;p<r.length;p+=1){var y=r[p],h=j(y,0,1),g=j(y,-1);if(('"'===h||"'"===h||"`"===h||'"'===g||"'"===g||"`"===g)&&h!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==y&&d||(c=!0),_(m,s="%"+(n+="."+y)+"%"))u=m[s];else if(null!=u){if(!(y in u)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&p+1>=r.length){var v=l(u,y);u=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:u[y]}else d=_(u,y),u=u[y];d&&!c&&(m[s]=u)}}return u}},8185:e=>{"use strict";var t={foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof r)}},1405:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(5419);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},5419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},7642:(e,t,r)=>{"use strict";var n=r(8612);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},6806:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(9196),o=r(9586),a=r(1602);const i=(0,n.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:s="",children:l,iconNode:u,...c},f)=>(0,n.createElement)("svg",{ref:f,...o.Z,width:t,height:t,stroke:e,strokeWidth:i?24*Number(r)/Number(t):r,className:(0,a.z)("lucide",s),...c},[...u.map((([e,t])=>(0,n.createElement)(e,t))),...Array.isArray(l)?l:[l]])))},2919:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(9196),o=r(1602),a=r(6806);const i=(e,t)=>{const r=(0,n.forwardRef)((({className:r,...i},s)=>(0,n.createElement)(a.Z,{ref:s,iconNode:t,className:(0,o.z)(`lucide-${(0,o.m)(e)}`,r),...i})));return r.displayName=`${e}`,r}},9586:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}},3510:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=(0,r(2919).Z)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},1602:(e,t,r)=>{"use strict";r.d(t,{m:()=>n,z:()=>o});const n=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=(...e)=>e.filter(((e,t,r)=>Boolean(e)&&r.indexOf(e)===t)).join(" ")},705:e=>{e.exports=function e(t,r,n){function o(i,s){if(!r[i]){if(!t[i]){if(a)return a(i,!0);throw new Error("Cannot find module '"+i+"'")}var l=r[i]={exports:{}};t[i][0].call(l.exports,(function(e){return o(t[i][1][e]||e)}),l,l.exports,e,t,r,n)}return r[i].exports}for(var a=void 0,i=0;i<n.length;i++)o(n[i]);return o}({1:[function(e,t,r){(function(n,o,a,i,s,l,u,c,f){"use strict";var p=e("crypto");function d(e,t){return function(e,t){var r;if(void 0===(r="passthrough"!==t.algorithm?p.createHash(t.algorithm):new b).write&&(r.write=r.update,r.end=r.update),v(t,r).dispatch(e),r.update||r.end(""),r.digest)return r.digest("buffer"===t.encoding?void 0:t.encoding);var n=r.read();return"buffer"!==t.encoding?n.toString(t.encoding):n}(e,t=m(e,t))}(r=t.exports=d).sha1=function(e){return d(e)},r.keys=function(e){return d(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return d(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return d(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var y=p.getHashes?p.getHashes().slice():["sha1","md5"];y.push("passthrough");var h=["buffer","hex","binary","base64"];function m(e,t){t=t||{};var r={};if(r.algorithm=t.algorithm||"sha1",r.encoding=t.encoding||"hex",r.excludeValues=!!t.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===t.ignoreUnknown,r.respectType=!1!==t.respectType,r.respectFunctionNames=!1!==t.respectFunctionNames,r.respectFunctionProperties=!1!==t.respectFunctionProperties,r.unorderedArrays=!0===t.unorderedArrays,r.unorderedSets=!1!==t.unorderedSets,r.unorderedObjects=!1!==t.unorderedObjects,r.replacer=t.replacer||void 0,r.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var n=0;n<y.length;++n)y[n].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=y[n]);if(-1===y.indexOf(r.algorithm))throw new Error('Algorithm "'+r.algorithm+'"  not supported. supported values: '+y.join(", "));if(-1===h.indexOf(r.encoding)&&"passthrough"!==r.algorithm)throw new Error('Encoding "'+r.encoding+'"  not supported. supported values: '+h.join(", "));return r}function g(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function v(e,t,r){function n(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return r=r||[],{dispatch:function(t){return e.replacer&&(t=e.replacer(t)),this["_"+(null===t?"null":typeof t)](t)},_object:function(t){var o,i=Object.prototype.toString.call(t),s=/\[object (.*)\]/i.exec(i);if(s=(s=s?s[1]:"unknown:["+i+"]").toLowerCase(),0<=(o=r.indexOf(t)))return this.dispatch("[CIRCULAR:"+o+"]");if(r.push(t),void 0!==a&&a.isBuffer&&a.isBuffer(t))return n("buffer:"),n(t);if("object"===s||"function"===s||"asyncfunction"===s){var l=Object.keys(t);e.unorderedObjects&&(l=l.sort()),!1===e.respectType||g(t)||l.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(l=l.filter((function(t){return!e.excludeKeys(t)}))),n("object:"+l.length+":");var u=this;return l.forEach((function(r){u.dispatch(r),n(":"),e.excludeValues||u.dispatch(t[r]),n(",")}))}if(!this["_"+s]){if(e.ignoreUnknown)return n("["+s+"]");throw new Error('Unknown object type "'+s+'"')}this["_"+s](t)},_array:function(t,o){o=void 0!==o?o:!1!==e.unorderedArrays;var a=this;if(n("array:"+t.length+":"),!o||t.length<=1)return t.forEach((function(e){return a.dispatch(e)}));var i=[],s=t.map((function(t){var n=new b,o=r.slice();return v(e,n,o).dispatch(t),i=i.concat(o.slice(r.length)),n.read().toString()}));return r=r.concat(i),s.sort(),this._array(s,!1)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())},_string:function(e){n("string:"+e.length+":"),n(e.toString())},_function:function(t){n("fn:"),g(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return n("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return n("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return n("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString())},_map:function(t){n("map:");var r=Array.from(t);return this._array(r,!1!==e.unorderedSets)},_set:function(t){n("set:");var r=Array.from(t);return this._array(r,!1!==e.unorderedSets)},_file:function(e){return n("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(e){return n("bigint:"+e.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function b(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}r.writeToStream=function(e,t,r){return void 0===r&&(r=t,t={}),v(t=m(e,t),r).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_7eac155c.js","/")},{buffer:3,crypto:5,lYpoI2:10}],2:[function(e,t,r){(function(e,t,n,o,a,i,s,l,u){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array,r="+".charCodeAt(0),n="/".charCodeAt(0),o="0".charCodeAt(0),a="a".charCodeAt(0),i="A".charCodeAt(0),s="-".charCodeAt(0),l="_".charCodeAt(0);function u(e){var t=e.charCodeAt(0);return t===r||t===s?62:t===n||t===l?63:t<o?-1:t<o+10?t-o+26+26:t<i+26?t-i:t<a+26?t-a+26:void 0}e.toByteArray=function(e){var r,n;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var o=e.length,a="="===e.charAt(o-2)?2:"="===e.charAt(o-1)?1:0,i=new t(3*e.length/4-a),s=0<a?e.length-4:e.length,l=0;function c(e){i[l++]=e}for(r=0;r<s;r+=4,0)c((16711680&(n=u(e.charAt(r))<<18|u(e.charAt(r+1))<<12|u(e.charAt(r+2))<<6|u(e.charAt(r+3))))>>16),c((65280&n)>>8),c(255&n);return 2==a?c(255&(n=u(e.charAt(r))<<2|u(e.charAt(r+1))>>4)):1==a&&(c((n=u(e.charAt(r))<<10|u(e.charAt(r+1))<<4|u(e.charAt(r+2))>>2)>>8&255),c(255&n)),i},e.fromByteArray=function(e){var t,r,n,o,a=e.length%3,i="";function s(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,n=e.length-a;t<n;t+=3)i+=s((o=r=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+s(o>>12&63)+s(o>>6&63)+s(63&o);switch(a){case 1:i+=s((r=e[e.length-1])>>2),i+=s(r<<4&63),i+="==";break;case 2:i+=s((r=(e[e.length-2]<<8)+e[e.length-1])>>10),i+=s(r>>4&63),i+=s(r<<2&63),i+="="}return i}}(void 0===r?this.base64js={}:r)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:10}],3:[function(e,t,r){(function(t,n,o,a,i,s,l,u,c){var f=e("base64-js"),p=e("ieee754");function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);var n,a,i,s,l,u=typeof e;if("base64"===t&&"string"==u)for(e=(n=e).trim?n.trim():n.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==u)a=A(e);else if("string"==u)a=o.byteLength(e,t);else{if("object"!=u)throw new Error("First argument needs to be a number, array or string.");a=A(e.length)}if(o._useTypedArrays?i=o._augment(new Uint8Array(a)):((i=this).length=a,i._isBuffer=!0),o._useTypedArrays&&"number"==typeof e.byteLength)i._set(e);else if(O(l=e)||o.isBuffer(l)||l&&"object"==typeof l&&"number"==typeof l.length)for(s=0;s<a;s++)o.isBuffer(e)?i[s]=e.readUInt8(s):i[s]=e[s];else if("string"==u)i.write(e,0,t);else if("number"==u&&!o._useTypedArrays&&!r)for(s=0;s<a;s++)i[s]=0;return i}function d(e,t,r,n){n||(N("boolean"==typeof r,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+1<e.length,"Trying to read beyond buffer length"));var o,a=e.length;if(!(a<=t))return r?(o=e[t],t+1<a&&(o|=e[t+1]<<8)):(o=e[t]<<8,t+1<a&&(o|=e[t+1])),o}function y(e,t,r,n){n||(N("boolean"==typeof r,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+3<e.length,"Trying to read beyond buffer length"));var o,a=e.length;if(!(a<=t))return r?(t+2<a&&(o=e[t+2]<<16),t+1<a&&(o|=e[t+1]<<8),o|=e[t],t+3<a&&(o+=e[t+3]<<24>>>0)):(t+1<a&&(o=e[t+1]<<16),t+2<a&&(o|=e[t+2]<<8),t+3<a&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}function h(e,t,r,n){if(n||(N("boolean"==typeof r,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t)){var o=d(e,t,r,!0);return 32768&o?-1*(65535-o+1):o}}function m(e,t,r,n){if(n||(N("boolean"==typeof r,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t)){var o=y(e,t,r,!0);return 2147483648&o?-1*(4294967295-o+1):o}}function g(e,t,r,n){return n||(N("boolean"==typeof r,"missing or invalid endian"),N(t+3<e.length,"Trying to read beyond buffer length")),p.read(e,t,r,23,4)}function v(e,t,r,n){return n||(N("boolean"==typeof r,"missing or invalid endian"),N(t+7<e.length,"Trying to read beyond buffer length")),p.read(e,t,r,52,8)}function b(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+1<e.length,"trying to write beyond buffer length"),B(t,65535));var a=e.length;if(!(a<=r))for(var i=0,s=Math.min(a-r,2);i<s;i++)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function w(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+3<e.length,"trying to write beyond buffer length"),B(t,4294967295));var a=e.length;if(!(a<=r))for(var i=0,s=Math.min(a-r,4);i<s;i++)e[r+i]=t>>>8*(n?i:3-i)&255}function _(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+1<e.length,"Trying to write beyond buffer length"),T(t,32767,-32768)),e.length<=r||b(e,0<=t?t:65535+t+1,r,n,o)}function S(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+3<e.length,"Trying to write beyond buffer length"),T(t,2147483647,-2147483648)),e.length<=r||w(e,0<=t?t:4294967295+t+1,r,n,o)}function E(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+3<e.length,"Trying to write beyond buffer length"),F(t,34028234663852886e22,-34028234663852886e22)),e.length<=r||p.write(e,t,r,n,23,4)}function x(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+7<e.length,"Trying to write beyond buffer length"),F(t,17976931348623157e292,-17976931348623157e292)),e.length<=r||p.write(e,t,r,n,52,8)}r.Buffer=o,r.SlowBuffer=o,r.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=k(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=P(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw new Error("Unknown encoding")}return r},o.concat=function(e,t){if(N(O(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new o(0);if(1===e.length)return e[0];if("number"!=typeof t)for(a=t=0;a<e.length;a++)t+=e[a].length;for(var r=new o(t),n=0,a=0;a<e.length;a++){var i=e[a];i.copy(r,n),n+=i.length}return r},o.prototype.write=function(e,t,r,n){var a;isFinite(t)?isFinite(r)||(n=r,r=void 0):(a=n,n=t,t=r,r=a),t=Number(t)||0;var i,s,l,u,c,f,p,d=this.length-t;switch((!r||d<(r=Number(r)))&&(r=d),n=String(n||"utf8").toLowerCase()){case"hex":i=function(e,t,r,n){r=Number(r)||0;var a=e.length-r;(!n||a<(n=Number(n)))&&(n=a);var i=t.length;N(i%2==0,"Invalid hex string"),i/2<n&&(n=i/2);for(var s=0;s<n;s++){var l=parseInt(t.substr(2*s,2),16);N(!isNaN(l),"Invalid hex string"),e[r+s]=l}return o._charsWritten=2*s,s}(this,e,t,r);break;case"utf8":case"utf-8":this,c=e,f=t,p=r,i=o._charsWritten=C(k(c),this,f,p);break;case"ascii":case"binary":i=function(e,t,r,n){return o._charsWritten=C(function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}(this,e,t,r);break;case"base64":this,s=e,l=t,u=r,i=o._charsWritten=C(P(s),this,l,u);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=function(e,t,r,n){return o._charsWritten=C(function(e){for(var t,r,n,o=[],a=0;a<e.length;a++)r=(t=e.charCodeAt(a))>>8,n=t%256,o.push(n),o.push(r);return o}(t),e,r,n)}(this,e,t,r);break;default:throw new Error("Unknown encoding")}return i},o.prototype.toString=function(e,t,r){var n,o,a,i,s=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(r=void 0!==r?Number(r):r=s.length)===t)return"";switch(e){case"hex":n=function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||n<r)&&(r=n);for(var o="",a=t;a<r;a++)o+=I(e[a]);return o}(s,t,r);break;case"utf8":case"utf-8":n=function(e,t,r){var n="",o="";r=Math.min(e.length,r);for(var a=t;a<r;a++)e[a]<=127?(n+=z(o)+String.fromCharCode(e[a]),o=""):o+="%"+e[a].toString(16);return n+z(o)}(s,t,r);break;case"ascii":case"binary":n=function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;o++)n+=String.fromCharCode(e[o]);return n}(s,t,r);break;case"base64":o=s,i=r,n=0===(a=t)&&i===o.length?f.fromByteArray(o):f.fromByteArray(o.slice(a,i));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(e,t,r){for(var n=e.slice(t,r),o="",a=0;a<n.length;a+=2)o+=String.fromCharCode(n[a]+256*n[a+1]);return o}(s,t,r);break;default:throw new Error("Unknown encoding")}return n},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(e,t,r,n){if(r=r||0,n||0===n||(n=this.length),t=t||0,n!==r&&0!==e.length&&0!==this.length){N(r<=n,"sourceEnd < sourceStart"),N(0<=t&&t<e.length,"targetStart out of bounds"),N(0<=r&&r<this.length,"sourceStart out of bounds"),N(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var a=n-r;if(a<100||!o._useTypedArrays)for(var i=0;i<a;i++)e[i+t]=this[i+r];else e._set(this.subarray(r,r+a),t)}},o.prototype.slice=function(e,t){var r=this.length;if(e=L(e,r,0),t=L(t,r,r),o._useTypedArrays)return o._augment(this.subarray(e,t));for(var n=t-e,a=new o(n,void 0,!0),i=0;i<n;i++)a[i]=this[i+e];return a},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.readUInt8=function(e,t){if(t||(N(null!=e,"missing offset"),N(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},o.prototype.readUInt16LE=function(e,t){return d(this,e,!0,t)},o.prototype.readUInt16BE=function(e,t){return d(this,e,!1,t)},o.prototype.readUInt32LE=function(e,t){return y(this,e,!0,t)},o.prototype.readUInt32BE=function(e,t){return y(this,e,!1,t)},o.prototype.readInt8=function(e,t){if(t||(N(null!=e,"missing offset"),N(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){return h(this,e,!0,t)},o.prototype.readInt16BE=function(e,t){return h(this,e,!1,t)},o.prototype.readInt32LE=function(e,t){return m(this,e,!0,t)},o.prototype.readInt32BE=function(e,t){return m(this,e,!1,t)},o.prototype.readFloatLE=function(e,t){return g(this,e,!0,t)},o.prototype.readFloatBE=function(e,t){return g(this,e,!1,t)},o.prototype.readDoubleLE=function(e,t){return v(this,e,!0,t)},o.prototype.readDoubleBE=function(e,t){return v(this,e,!1,t)},o.prototype.writeUInt8=function(e,t,r){r||(N(null!=e,"missing value"),N(null!=t,"missing offset"),N(t<this.length,"trying to write beyond buffer length"),B(e,255)),t>=this.length||(this[t]=e)},o.prototype.writeUInt16LE=function(e,t,r){b(this,e,t,!0,r)},o.prototype.writeUInt16BE=function(e,t,r){b(this,e,t,!1,r)},o.prototype.writeUInt32LE=function(e,t,r){w(this,e,t,!0,r)},o.prototype.writeUInt32BE=function(e,t,r){w(this,e,t,!1,r)},o.prototype.writeInt8=function(e,t,r){r||(N(null!=e,"missing value"),N(null!=t,"missing offset"),N(t<this.length,"Trying to write beyond buffer length"),T(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},o.prototype.writeInt16LE=function(e,t,r){_(this,e,t,!0,r)},o.prototype.writeInt16BE=function(e,t,r){_(this,e,t,!1,r)},o.prototype.writeInt32LE=function(e,t,r){S(this,e,t,!0,r)},o.prototype.writeInt32BE=function(e,t,r){S(this,e,t,!1,r)},o.prototype.writeFloatLE=function(e,t,r){E(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){E(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){x(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){x(this,e,t,!1,r)},o.prototype.fill=function(e,t,r){if(e=e||0,t=t||0,r=r||this.length,"string"==typeof e&&(e=e.charCodeAt(0)),N("number"==typeof e&&!isNaN(e),"value is not a number"),N(t<=r,"end < start"),r!==t&&0!==this.length){N(0<=t&&t<this.length,"start out of bounds"),N(0<=r&&r<=this.length,"end out of bounds");for(var n=t;n<r;n++)this[n]=e}},o.prototype.inspect=function(){for(var e=[],t=this.length,n=0;n<t;n++)if(e[n]=I(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(o._useTypedArrays)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;t<r;t+=1)e[t]=this[t];return e.buffer};var j=o.prototype;function L(e,t,r){return"number"!=typeof e?r:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function A(e){return(e=~~Math.ceil(+e))<0?0:e}function O(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function I(e){return e<16?"0"+e.toString(16):e.toString(16)}function k(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n<=127)t.push(e.charCodeAt(r));else{var o=r;55296<=n&&n<=57343&&r++;for(var a=encodeURIComponent(e.slice(o,r+1)).substr(1).split("%"),i=0;i<a.length;i++)t.push(parseInt(a[i],16))}}return t}function P(e){return f.toByteArray(e)}function C(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);o++)t[o+r]=e[o];return o}function z(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function B(e,t){N("number"==typeof e,"cannot write a non-number as a number"),N(0<=e,"specified a negative value for writing an unsigned value"),N(e<=t,"value is larger than maximum value for type"),N(Math.floor(e)===e,"value has a fractional component")}function T(e,t,r){N("number"==typeof e,"cannot write a non-number as a number"),N(e<=t,"value larger than maximum allowed value"),N(r<=e,"value smaller than minimum allowed value"),N(Math.floor(e)===e,"value has a fractional component")}function F(e,t,r){N("number"==typeof e,"cannot write a non-number as a number"),N(e<=t,"value larger than maximum allowed value"),N(r<=e,"value smaller than minimum allowed value")}function N(e,t){if(!e)throw new Error(t||"Failed assertion")}o._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=j.get,e.set=j.set,e.write=j.write,e.toString=j.toString,e.toLocaleString=j.toString,e.toJSON=j.toJSON,e.copy=j.copy,e.slice=j.slice,e.readUInt8=j.readUInt8,e.readUInt16LE=j.readUInt16LE,e.readUInt16BE=j.readUInt16BE,e.readUInt32LE=j.readUInt32LE,e.readUInt32BE=j.readUInt32BE,e.readInt8=j.readInt8,e.readInt16LE=j.readInt16LE,e.readInt16BE=j.readInt16BE,e.readInt32LE=j.readInt32LE,e.readInt32BE=j.readInt32BE,e.readFloatLE=j.readFloatLE,e.readFloatBE=j.readFloatBE,e.readDoubleLE=j.readDoubleLE,e.readDoubleBE=j.readDoubleBE,e.writeUInt8=j.writeUInt8,e.writeUInt16LE=j.writeUInt16LE,e.writeUInt16BE=j.writeUInt16BE,e.writeUInt32LE=j.writeUInt32LE,e.writeUInt32BE=j.writeUInt32BE,e.writeInt8=j.writeInt8,e.writeInt16LE=j.writeInt16LE,e.writeInt16BE=j.writeInt16BE,e.writeInt32LE=j.writeInt32LE,e.writeInt32BE=j.writeInt32BE,e.writeFloatLE=j.writeFloatLE,e.writeFloatBE=j.writeFloatBE,e.writeDoubleLE=j.writeDoubleLE,e.writeDoubleBE=j.writeDoubleBE,e.fill=j.fill,e.inspect=j.inspect,e.toArrayBuffer=j.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:11,lYpoI2:10}],4:[function(e,t,r){(function(r,n,o,a,i,s,l,u,c){o=e("buffer").Buffer;var f=new o(4);f.fill(0),t.exports={hash:function(e,t,r,n){return o.isBuffer(e)||(e=new o(e)),function(e,t,r){for(var n=new o(t),a=r?n.writeInt32BE:n.writeInt32LE,i=0;i<e.length;i++)a.call(n,e[i],4*i,!0);return n}(t(function(e,t){var r;e.length%4!=0&&(r=e.length+(4-e.length%4),e=o.concat([e,f],r));for(var n=[],a=t?e.readInt32BE:e.readInt32LE,i=0;i<e.length;i+=4)n.push(a.call(e,i));return n}(e,n),8*e.length),r,n)}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],5:[function(e,t,r){(function(t,n,o,a,i,s,l,u,c){o=e("buffer").Buffer;var f=e("./sha"),p=e("./sha256"),d=e("./rng"),y={sha1:f,sha256:p,md5:e("./md5")},h=64,m=new o(h);function g(e,t){var r=y[e=e||"sha1"],n=[];return r||v("algorithm:",e,"is not yet supported"),{update:function(e){return o.isBuffer(e)||(e=new o(e)),n.push(e),e.length,this},digest:function(e){var a=o.concat(n),i=t?function(e,t,r){o.isBuffer(t)||(t=new o(t)),o.isBuffer(r)||(r=new o(r)),t.length>h?t=e(t):t.length<h&&(t=o.concat([t,m],h));for(var n=new o(h),a=new o(h),i=0;i<h;i++)n[i]=54^t[i],a[i]=92^t[i];var s=e(o.concat([n,r]));return e(o.concat([a,s]))}(r,t,a):r(a);return n=null,e?i.toString(e):i}}}function v(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}m.fill(0),r.createHash=function(e){return g(e)},r.createHmac=g,r.randomBytes=function(e,t){if(!t||!t.call)return new o(d(e));try{t.call(this,void 0,new o(d(e)))}catch(e){t(e)}},function(e,t){for(var r in e)t(e[r])}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],(function(e){r[e]=function(){v("sorry,",e,"is not implemented yet")}}))}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:10}],6:[function(e,t,r){(function(r,n,o,a,i,s,l,u,c){var f=e("./helpers");function p(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,o=-1732584194,a=271733878,i=0;i<e.length;i+=16){var s=r,l=n,u=o,c=a;r=y(r,n,o,a,e[i+0],7,-680876936),a=y(a,r,n,o,e[i+1],12,-389564586),o=y(o,a,r,n,e[i+2],17,606105819),n=y(n,o,a,r,e[i+3],22,-1044525330),r=y(r,n,o,a,e[i+4],7,-176418897),a=y(a,r,n,o,e[i+5],12,1200080426),o=y(o,a,r,n,e[i+6],17,-1473231341),n=y(n,o,a,r,e[i+7],22,-45705983),r=y(r,n,o,a,e[i+8],7,1770035416),a=y(a,r,n,o,e[i+9],12,-1958414417),o=y(o,a,r,n,e[i+10],17,-42063),n=y(n,o,a,r,e[i+11],22,-1990404162),r=y(r,n,o,a,e[i+12],7,1804603682),a=y(a,r,n,o,e[i+13],12,-40341101),o=y(o,a,r,n,e[i+14],17,-1502002290),r=h(r,n=y(n,o,a,r,e[i+15],22,1236535329),o,a,e[i+1],5,-165796510),a=h(a,r,n,o,e[i+6],9,-1069501632),o=h(o,a,r,n,e[i+11],14,643717713),n=h(n,o,a,r,e[i+0],20,-373897302),r=h(r,n,o,a,e[i+5],5,-701558691),a=h(a,r,n,o,e[i+10],9,38016083),o=h(o,a,r,n,e[i+15],14,-660478335),n=h(n,o,a,r,e[i+4],20,-405537848),r=h(r,n,o,a,e[i+9],5,568446438),a=h(a,r,n,o,e[i+14],9,-1019803690),o=h(o,a,r,n,e[i+3],14,-187363961),n=h(n,o,a,r,e[i+8],20,1163531501),r=h(r,n,o,a,e[i+13],5,-1444681467),a=h(a,r,n,o,e[i+2],9,-51403784),o=h(o,a,r,n,e[i+7],14,1735328473),r=m(r,n=h(n,o,a,r,e[i+12],20,-1926607734),o,a,e[i+5],4,-378558),a=m(a,r,n,o,e[i+8],11,-2022574463),o=m(o,a,r,n,e[i+11],16,1839030562),n=m(n,o,a,r,e[i+14],23,-35309556),r=m(r,n,o,a,e[i+1],4,-1530992060),a=m(a,r,n,o,e[i+4],11,1272893353),o=m(o,a,r,n,e[i+7],16,-155497632),n=m(n,o,a,r,e[i+10],23,-1094730640),r=m(r,n,o,a,e[i+13],4,681279174),a=m(a,r,n,o,e[i+0],11,-358537222),o=m(o,a,r,n,e[i+3],16,-722521979),n=m(n,o,a,r,e[i+6],23,76029189),r=m(r,n,o,a,e[i+9],4,-640364487),a=m(a,r,n,o,e[i+12],11,-421815835),o=m(o,a,r,n,e[i+15],16,530742520),r=g(r,n=m(n,o,a,r,e[i+2],23,-995338651),o,a,e[i+0],6,-198630844),a=g(a,r,n,o,e[i+7],10,1126891415),o=g(o,a,r,n,e[i+14],15,-1416354905),n=g(n,o,a,r,e[i+5],21,-57434055),r=g(r,n,o,a,e[i+12],6,1700485571),a=g(a,r,n,o,e[i+3],10,-1894986606),o=g(o,a,r,n,e[i+10],15,-1051523),n=g(n,o,a,r,e[i+1],21,-2054922799),r=g(r,n,o,a,e[i+8],6,1873313359),a=g(a,r,n,o,e[i+15],10,-30611744),o=g(o,a,r,n,e[i+6],15,-1560198380),n=g(n,o,a,r,e[i+13],21,1309151649),r=g(r,n,o,a,e[i+4],6,-145523070),a=g(a,r,n,o,e[i+11],10,-1120210379),o=g(o,a,r,n,e[i+2],15,718787259),n=g(n,o,a,r,e[i+9],21,-343485551),r=v(r,s),n=v(n,l),o=v(o,u),a=v(a,c)}return Array(r,n,o,a)}function d(e,t,r,n,o,a){return v((i=v(v(t,e),v(n,a)))<<(s=o)|i>>>32-s,r);var i,s}function y(e,t,r,n,o,a,i){return d(t&r|~t&n,e,t,o,a,i)}function h(e,t,r,n,o,a,i){return d(t&n|r&~n,e,t,o,a,i)}function m(e,t,r,n,o,a,i){return d(t^r^n,e,t,o,a,i)}function g(e,t,r,n,o,a,i){return d(r^(t|~n),e,t,o,a,i)}function v(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}t.exports=function(e){return f.hash(e,p,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],7:[function(e,t,r){(function(e,r,n,o,a,i,s,l,u){var c;c=function(e){for(var t,r=new Array(e),n=0;n<e;n++)0==(3&n)&&(t=4294967296*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r},t.exports=c}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],8:[function(e,t,r){(function(r,n,o,a,i,s,l,u,c){var f=e("./helpers");function p(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var r,n,o,a,i,s=Array(80),l=1732584193,u=-271733879,c=-1732584194,f=271733878,p=-1009589776,h=0;h<e.length;h+=16){for(var m=l,g=u,v=c,b=f,w=p,_=0;_<80;_++){s[_]=_<16?e[h+_]:y(s[_-3]^s[_-8]^s[_-14]^s[_-16],1);var S=d(d(y(l,5),(o=u,a=c,i=f,(n=_)<20?o&a|~o&i:!(n<40)&&n<60?o&a|o&i|a&i:o^a^i)),d(d(p,s[_]),(r=_)<20?1518500249:r<40?1859775393:r<60?-1894007588:-899497514));p=f,f=c,c=y(u,30),u=l,l=S}l=d(l,m),u=d(u,g),c=d(c,v),f=d(f,b),p=d(p,w)}return Array(l,u,c,f,p)}function d(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function y(e,t){return e<<t|e>>>32-t}t.exports=function(e){return f.hash(e,p,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],9:[function(e,t,r){(function(r,n,o,a,i,s,l,u,c){function f(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function p(e,t){return e>>>t|e<<32-t}function d(e,t){var r,n,o,a,i,s,l,u,c,d,y=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),h=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),m=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var g,v,b,w,_,S,E,x,j=0;j<e.length;j+=16){r=h[0],n=h[1],o=h[2],a=h[3],i=h[4],s=h[5],l=h[6],u=h[7];for(var L=0;L<64;L++)m[L]=L<16?e[L+j]:f(f(f(p(x=m[L-2],17)^p(x,19)^x>>>10,m[L-7]),p(E=m[L-15],7)^p(E,18)^E>>>3),m[L-16]),c=f(f(f(f(u,p(S=i,6)^p(S,11)^p(S,25)),(_=i)&s^~_&l),y[L]),m[L]),d=f(p(w=r,2)^p(w,13)^p(w,22),(g=r)&(v=n)^g&(b=o)^v&b),u=l,l=s,s=i,i=f(a,c),a=o,o=n,n=r,r=f(c,d);h[0]=f(r,h[0]),h[1]=f(n,h[1]),h[2]=f(o,h[2]),h[3]=f(a,h[3]),h[4]=f(i,h[4]),h[5]=f(s,h[5]),h[6]=f(l,h[6]),h[7]=f(u,h[7])}return h}var y=e("./helpers");t.exports=function(e){return y.hash(e,d,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],10:[function(e,t,r){(function(e,r,n,o,a,i,s,l,u){function c(){}(e=t.exports={}).nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var r=[];return window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<r.length&&r.shift()())}),!0),function(e){r.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=c,e.addListener=c,e.once=c,e.off=c,e.removeListener=c,e.removeAllListeners=c,e.emit=c,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:10}],11:[function(e,t,r){(function(e,t,n,o,a,i,s,l,u){r.read=function(e,t,r,n,o){var a,i,s=8*o-n-1,l=(1<<s)-1,u=l>>1,c=-7,f=r?o-1:0,p=r?-1:1,d=e[t+f];for(f+=p,a=d&(1<<-c)-1,d>>=-c,c+=s;0<c;a=256*a+e[t+f],f+=p,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=n;0<c;i=256*i+e[t+f],f+=p,c-=8);if(0===a)a=1-u;else{if(a===l)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),a-=u}return(d?-1:1)*i*Math.pow(2,a-n)},r.write=function(e,t,r,n,o,a){var i,s,l,u=8*a-o-1,c=(1<<u)-1,f=c>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,y=n?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),2<=(t+=1<=i+f?p/l:p*Math.pow(2,1-f))*l&&(i++,l/=2),c<=i+f?(s=0,i=c):1<=i+f?(s=(t*l-1)*Math.pow(2,o),i+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),i=0));8<=o;e[r+d]=255&s,d+=y,s/=256,o-=8);for(i=i<<o|s,u+=o;0<u;e[r+d]=255&i,d+=y,i/=256,u-=8);e[r+d-y]|=128*h}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/ieee754/index.js","/node_modules/ieee754")},{buffer:3,lYpoI2:10}]},{},[1])(1)},631:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&o&&"function"==typeof o.get?o.get:null,i=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,h=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,S=RegExp.prototype.test,E=Array.prototype.concat,x=Array.prototype.join,j=Array.prototype.slice,L=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,P="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,C=Object.prototype.propertyIsEnumerable,z=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function B(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-L(-e):L(e);if(n!==e){var o=String(n),a=v.call(t,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var T=r(4654),F=T.custom,N=V(F)?F:null;function D(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function R(e){return b.call(String(e),/"/g,"&quot;")}function U(e){return!("[object Array]"!==W(e)||P&&"object"==typeof e&&P in e)}function M(e){return!("[object RegExp]"!==W(e)||P&&"object"==typeof e&&P in e)}function V(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,n,o){var s=r||{};if(q(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!q(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return $(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return h?B(t,w):w}if("bigint"==typeof t){var S=String(t)+"n";return h?B(t,S):S}var L=void 0===s.depth?5:s.depth;if(void 0===n&&(n=0),n>=L&&L>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var O,F=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=x.call(Array(e.indent+1)," ")}return{base:r,prev:x.call(Array(t+1),r)}}(s,n);if(void 0===o)o=[];else if(G(o,t)>=0)return"[Circular]";function H(t,r,a){if(r&&(o=j.call(o)).push(r),a){var i={depth:s.depth};return q(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(t,i,n+1,o)}return e(t,s,n+1,o)}if("function"==typeof t&&!M(t)){var Y=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=X(t,H);return"[Function"+(Y?": "+Y:" (anonymous)")+"]"+(ee.length>0?" { "+x.call(ee,", ")+" }":"")}if(V(t)){var te=k?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(t);return"object"!=typeof t||k?te:Z(te)}if((O=t)&&"object"==typeof O&&("undefined"!=typeof HTMLElement&&O instanceof HTMLElement||"string"==typeof O.nodeName&&"function"==typeof O.getAttribute)){for(var re="<"+_.call(String(t.nodeName)),ne=t.attributes||[],oe=0;oe<ne.length;oe++)re+=" "+ne[oe].name+"="+D(R(ne[oe].value),"double",s);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+"</"+_.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var ae=X(t,H);return F&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(ae)?"["+K(ae,F)+"]":"[ "+x.call(ae,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||P&&"object"==typeof e&&P in e)}(t)){var ie=X(t,H);return"cause"in Error.prototype||!("cause"in t)||C.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(ie,", ")+" }":"{ ["+String(t)+"] "+x.call(E.call("[cause]: "+H(t.cause),ie),", ")+" }"}if("object"==typeof t&&l){if(N&&"function"==typeof t[N]&&T)return T(t,{depth:L-n});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return i&&i.call(t,(function(e,r){se.push(H(r,t,!0)+" => "+H(e,t))})),Q("Map",a.call(t),se,F)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return c&&c.call(t,(function(e){le.push(H(e,t))})),Q("Set",u.call(t),le,F)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return J("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return J("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return J("WeakRef");if(function(e){return!("[object Number]"!==W(e)||P&&"object"==typeof e&&P in e)}(t))return Z(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return Z(H(A.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||P&&"object"==typeof e&&P in e)}(t))return Z(y.call(t));if(function(e){return!("[object String]"!==W(e)||P&&"object"==typeof e&&P in e)}(t))return Z(H(String(t)));if(!function(e){return!("[object Date]"!==W(e)||P&&"object"==typeof e&&P in e)}(t)&&!M(t)){var ue=X(t,H),ce=z?z(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",pe=!ce&&P&&Object(t)===t&&P in t?v.call(W(t),8,-1):fe?"Object":"",de=(ce||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||fe?"["+x.call(E.call([],pe||[],fe||[]),": ")+"] ":"");return 0===ue.length?de+"{}":F?de+"{"+K(ue,F)+"}":de+"{ "+x.call(ue,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return H.call(e,t)}function W(e){return h.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function $(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return $(v.call(e,0,t.maxStringLength),t)+n}return D(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Y),"single",t)}function Y(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Z(e){return"Object("+e+")"}function J(e){return e+" { ? }"}function Q(e,t,r,n){return e+" ("+t+") {"+(n?K(r,n):x.call(r,", "))+"}"}function K(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+x.call(e,","+r)+"\n"+t.prev}function X(e,t){var r=U(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=q(e,o)?t(e[o],e):""}var a,i="function"==typeof O?O(e):[];if(k){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var l in e)q(e,l)&&(r&&String(Number(l))===l&&l<e.length||k&&a["$"+l]instanceof Symbol||(S.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"==typeof O)for(var u=0;u<i.length;u++)C.call(e,i[u])&&n.push("["+t(i[u])+"]: "+t(e[i[u]],e));return n}},2703:(e,t,r)=>{"use strict";var n=r(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={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:a,resetWarningCache:o};return r.PropTypes=r,r}},5697:(e,t,r)=>{e.exports=r(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5798:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},129:(e,t,r)=>{"use strict";var n=r(8261),o=r(5235),a=r(5798);e.exports={formats:a,parse:o,stringify:n}},5235:(e,t,r)=>{"use strict";var n=r(2769),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,r,n){if(e){var a=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,c=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+a.slice(s.index)+"]"),function(e,t,r,n){for(var o=n?t:l(t,r),a=e.length-1;a>=0;--a){var i,s=e[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&s!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(i=[])[c]=o:"__proto__"!==u&&(i[u]=o):i={0:o}}o=i}return o}(c,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,u={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=c.split(t.delimiter,f),d=-1,y=t.charset;if(t.charsetSentinel)for(r=0;r<p.length;++r)0===p[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[r]?y="utf-8":"utf8=%26%2310003%3B"===p[r]&&(y="iso-8859-1"),d=r,r=p.length);for(r=0;r<p.length;++r)if(r!==d){var h,m,g=p[r],v=g.indexOf("]="),b=-1===v?g.indexOf("="):v+1;-1===b?(h=t.decoder(g,i.decoder,y,"key"),m=t.strictNullHandling?null:""):(h=t.decoder(g.slice(0,b),i.decoder,y,"key"),m=n.maybeMap(l(g.slice(b+1),t),(function(e){return t.decoder(e,i.decoder,y,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===y&&(m=s(m)),g.indexOf("[]=")>-1&&(m=a(m)?[m]:m),o.call(u,h)?u[h]=n.combine(u[h],m):u[h]=m}return u}(e,r):e,f=r.plainObjects?Object.create(null):{},p=Object.keys(c),d=0;d<p.length;++d){var y=p[d],h=u(y,c[y],r,"string"==typeof e);f=n.merge(f,h,r)}return!0===r.allowSparse?f:n.compact(f)}},8261:(e,t,r)=>{"use strict";var n=r(7478),o=r(2769),a=r(5798),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},f=Date.prototype.toISOString,p=a.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:a.formatters[p],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},y={},h=function e(t,r,a,i,s,u,f,p,h,m,g,v,b,w,_,S){for(var E,x=t,j=S,L=0,A=!1;void 0!==(j=j.get(y))&&!A;){var O=j.get(t);if(L+=1,void 0!==O){if(O===L)throw new RangeError("Cyclic object value");A=!0}void 0===j.get(y)&&(L=0)}if("function"==typeof p?x=p(r,x):x instanceof Date?x=g(x):"comma"===a&&l(x)&&(x=o.maybeMap(x,(function(e){return e instanceof Date?g(e):e}))),null===x){if(s)return f&&!w?f(r,d.encoder,_,"key",v):r;x=""}if("string"==typeof(E=x)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(x))return f?[b(w?r:f(r,d.encoder,_,"key",v))+"="+b(f(x,d.encoder,_,"value",v))]:[b(r)+"="+b(String(x))];var I,k=[];if(void 0===x)return k;if("comma"===a&&l(x))w&&f&&(x=o.maybeMap(x,f)),I=[{value:x.length>0?x.join(",")||null:void 0}];else if(l(p))I=p;else{var P=Object.keys(x);I=h?P.sort(h):P}for(var C=i&&l(x)&&1===x.length?r+"[]":r,z=0;z<I.length;++z){var B=I[z],T="object"==typeof B&&void 0!==B.value?B.value:x[B];if(!u||null!==T){var F=l(x)?"function"==typeof a?a(C,B):C:C+(m?"."+B:"["+B+"]");S.set(t,L);var N=n();N.set(y,S),c(k,e(T,F,a,i,s,u,"comma"===a&&w&&l(x)?null:f,p,h,m,g,v,b,w,_,N))}}return k};e.exports=function(e,t){var r,o=e,u=function(e){if(!e)return d;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=a.default;if(void 0!==e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=a.formatters[r],o=d.filter;return("function"==typeof e.filter||l(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof u.filter?o=(0,u.filter)("",o):l(u.filter)&&(r=u.filter);var f,p=[];if("object"!=typeof o||null===o)return"";f=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var y=s[f];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===y&&t&&t.commaRoundTrip;r||(r=Object.keys(o)),u.sort&&r.sort(u.sort);for(var g=n(),v=0;v<r.length;++v){var b=r[v];u.skipNulls&&null===o[b]||c(p,h(o[b],b,y,m,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,g))}var w=p.join(u.delimiter),_=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),w.length>0?_+w:""}},2769:(e,t,r)=>{"use strict";var n=r(5798),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],s=Object.keys(i),l=0;l<s.length;++l){var u=s[l],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:i,prop:u}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,a){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",u=0;u<s.length;++u){var c=s.charCodeAt(u);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===n.RFC1738&&(40===c||41===c)?l+=s.charAt(u):c<128?l+=i[c]:c<2048?l+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?l+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(u+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(u)),l+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(a(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var i=t;return a(t)&&!a(r)&&(i=s(t,n)),a(t)&&a(r)?(r.forEach((function(r,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&r&&"object"==typeof r?t[a]=e(i,r,n):t.push(r)}else t[a]=r})),t):Object.keys(r).reduce((function(t,a){var i=r[a];return o.call(t,a)?t[a]=e(t[a],i,n):t[a]=i,t}),i)}}},745:(e,t,r)=>{"use strict";var n=r(1850);t.s=n.createRoot,n.hydrateRoot},8498:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var l=i(r(9196)),u=r(6657),c=(0,r(10).createAnimation)("BeatLoader","50% {transform: scale(0.75);opacity: 0.2} 100% {transform: scale(1);opacity: 1}","beat");t.default=function(e){var t=e.loading,r=void 0===t||t,o=e.color,a=void 0===o?"#000000":o,i=e.speedMultiplier,f=void 0===i?1:i,p=e.cssOverride,d=void 0===p?{}:p,y=e.size,h=void 0===y?15:y,m=e.margin,g=void 0===m?2:m,v=s(e,["loading","color","speedMultiplier","cssOverride","size","margin"]),b=n({display:"inherit"},d),w=function(e){return{display:"inline-block",backgroundColor:a,width:(0,u.cssValue)(h),height:(0,u.cssValue)(h),margin:(0,u.cssValue)(g),borderRadius:"100%",animation:"".concat(c," ").concat(.7/f,"s ").concat(e%2?"0s":"".concat(.35/f,"s")," infinite linear"),animationFillMode:"both"}};return r?l.createElement("span",n({style:b},v),l.createElement("span",{style:w(1)}),l.createElement("span",{style:w(2)}),l.createElement("span",{style:w(3)})):null}},10:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=void 0,t.createAnimation=function(e,t,r){var n="react-spinners-".concat(e,"-").concat(r);if("undefined"==typeof window||!window.document)return n;var o=document.createElement("style");document.head.appendChild(o);var a=o.sheet,i="\n    @keyframes ".concat(n," {\n      ").concat(t,"\n    }\n  ");return a&&a.insertRule(i,0),n}},6657:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssValue=t.parseLengthAndUnit=void 0;var r={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function n(e){if("number"==typeof e)return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();t=n.includes(".")?parseFloat(n):parseInt(n,10);var o=(e.match(/[^0-9]*$/)||"").toString();return r[o]?{value:t,unit:o}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}t.parseLengthAndUnit=n,t.cssValue=function(e){var t=n(e);return"".concat(t.value).concat(t.unit)}},7478:(e,t,r)=>{"use strict";var n=r(210),o=r(1924),a=r(631),i=n("%TypeError%"),s=n("%WeakMap%",!0),l=n("%Map%",!0),u=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),y=o("Map.prototype.has",!0),h=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new i("Side channel does not contain "+a(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(l){if(t)return p(t,n)}else if(r)return function(e,t){var r=h(e,t);return r&&r.value}(r,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(l){if(t)return y(t,n)}else if(r)return function(e,t){return!!h(e,t)}(r,n);return!1},set:function(n,o){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),c(e,n,o)):l?(t||(t=new l),d(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=h(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},7814:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=a(r(9196)),l=i(r(7969));t.default=({children:e,fallback:t,errorMessage:r,errorComponent:n})=>{const o=n||l.default;return s.createElement(o,{errorMessage:r},s.createElement(s.Suspense,{fallback:t},e))}},7969:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const i=a(r(9196));class s extends i.Component{static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps({errorMessage:e},t){return t.error?{errorMessage:"function"==typeof e?e(t.error):e||t.error.message}:t}constructor(e){super(e),this.state={}}render(){return this.state.errorMessage?this.state.errorMessage:this.props.children}}t.default=s},3481:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.resourceCache=void 0;const o=n(r(705)),a=new Map;t.resourceCache=function(e){a.has(e)||a.set(e,new Map);const t=a.get(e);return{get:(...e)=>t.get((0,o.default)(e)),set:(e,...r)=>t.set((0,o.default)(r),e),delete:(...e)=>t.delete((0,o.default)(e)),clear:()=>(a.delete(e),t.clear())}}},3890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initializeDataReader=void 0;const n=r(3481);t.initializeDataReader=function(e,...t){const r=(0,n.resourceCache)(e),o=r.get(...t);if(o)return o;let a,i,s="init";const l=e(...t).then((e=>(a=e,s="done",e))).catch((e=>{i=e,s="error"}));function u(e){if("init"===s)throw l;if("error"===s)throw i;return"function"==typeof e?e(a):a}return r.set(u,...t),u}},6957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.script=t.image=void 0,t.image=function(e){return new Promise(((t,r)=>{const n=new Image;n.onload=()=>{t(e)},n.onerror=r,n.src=e}))},t.script=function(e){return new Promise(((t,r)=>{const n=document.createElement("script");n.onload=()=>{t(e)},n.onerror=r,n.src=e,document.getElementsByTagName("body")[0].appendChild(n)}))}},5302:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncResourceContent=t.resourceCache=t.fileResource=t.preloadResource=t.useAsyncResource=void 0,a(r(9180),t);const l=r(3256);Object.defineProperty(t,"useAsyncResource",{enumerable:!0,get:function(){return l.useAsyncResource}});const u=i(r(6957));t.fileResource=u;const c=r(3481);Object.defineProperty(t,"resourceCache",{enumerable:!0,get:function(){return c.resourceCache}});const f=r(3890);Object.defineProperty(t,"preloadResource",{enumerable:!0,get:function(){return f.initializeDataReader}});const p=s(r(7814));t.AsyncResourceContent=p.default},9180:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAsyncResource=void 0;const n=r(9196),o=r(3890);t.useAsyncResource=function(e,...t){const r=(0,n.useRef)((()=>{}));(0,n.useMemo)((()=>{t.length&&(!e.length&&1===t.length&&Array.isArray(t[0])&&0===t[0].length?r.current=(0,o.initializeDataReader)(e):r.current=(0,o.initializeDataReader)(e,...t))}),[e,...t]);const[,a]=(0,n.useState)(0),i=(0,n.useCallback)(((...t)=>{r.current=(0,o.initializeDataReader)(e,...t),a((e=>1-e))}),[e]);return[r.current,i]}},9196:e=>{"use strict";e.exports=window.React},1850:e=>{"use strict";e.exports=window.ReactDOM},5158:e=>{"use strict";e.exports=window.wp.a11y},5609:e=>{"use strict";e.exports=window.wp.components},5736:e=>{"use strict";e.exports=window.wp.i18n},4654:()=>{},7536:(e,t,r)=>{"use strict";r.d(t,{Qr:()=>F,cI:()=>xe,cl:()=>I,qo:()=>C});var n=r(9196),o=e=>"checkbox"===e.type,a=e=>e instanceof Date,i=e=>null==e;const s=e=>"object"==typeof e;var l=e=>!i(e)&&!Array.isArray(e)&&s(e)&&!a(e),u=e=>l(e)&&e.target?o(e.target)?e.target.checked:e.target.value:e,c=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),f=e=>{const t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},p="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function d(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(p&&(e instanceof Blob||e instanceof FileList)||!r&&!l(e))return e;if(t=r?[]:{},r||f(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=d(e[r]));else t=e}return t}var y=e=>Array.isArray(e)?e.filter(Boolean):[],h=e=>void 0===e,m=(e,t,r)=>{if(!t||!l(e))return r;const n=y(t.split(/[,[\].]+?/)).reduce(((e,t)=>i(e)?e:e[t]),e);return h(n)||n===e?h(e[t])?r:e[t]:n};const g={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},v={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},b="pattern",w="required",_=n.createContext(null),S=()=>n.useContext(_);var E=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(o,a,{get:()=>{const o=a;return t._proxyFormState[o]!==v.all&&(t._proxyFormState[o]=!n||v.all),r&&(r[o]=!0),e[o]}});return o},x=e=>l(e)&&!Object.keys(e).length,j=(e,t,r,n)=>{r(e);const{name:o,...a}=e;return x(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find((e=>t[e]===(!n||v.all)))},L=e=>Array.isArray(e)?e:[e],A=(e,t,r)=>r&&t?e===t:!e||!t||e===t||L(e).some((e=>e&&(e.startsWith(t)||t.startsWith(e))));function O(e){const t=n.useRef(e);t.current=e,n.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}function I(e){const t=S(),{control:r=t.control,disabled:o,name:a,exact:i}=e||{},[s,l]=n.useState(r._formState),u=n.useRef(!0),c=n.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),f=n.useRef(a);return f.current=a,O({disabled:o,next:e=>u.current&&A(f.current,e.name,i)&&j(e,c.current,r._updateFormState)&&l({...r._formState,...e}),subject:r._subjects.state}),n.useEffect((()=>(u.current=!0,c.current.isValid&&r._updateValid(!0),()=>{u.current=!1})),[r]),E(s,r,c.current,!1)}var k=e=>"string"==typeof e,P=(e,t,r,n,o)=>k(e)?(n&&t.watch.add(e),m(r,e,o)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),m(r,e)))):(n&&(t.watchAll=!0),r);function C(e){const t=S(),{control:r=t.control,name:o,defaultValue:a,disabled:i,exact:s}=e||{},l=n.useRef(o);l.current=o,O({disabled:i,subject:r._subjects.values,next:e=>{A(l.current,e.name,s)&&c(d(P(l.current,r._names,e.values||r._formValues,!1,a)))}});const[u,c]=n.useState(r._getWatch(o,a));return n.useEffect((()=>r._removeUnmounted())),u}var z=e=>/^\w*$/.test(e),B=e=>y(e.replace(/["|']|\]/g,"").split(/\.|\[/));function T(e,t,r){let n=-1;const o=z(t)?[t]:B(t),a=o.length,i=a-1;for(;++n<a;){const t=o[n];let a=r;if(n!==i){const r=e[t];a=l(r)||Array.isArray(r)?r:isNaN(+o[n+1])?{}:[]}e[t]=a,e=e[t]}return e}const F=e=>e.render(function(e){const t=S(),{name:r,control:o=t.control,shouldUnregister:a}=e,i=c(o._names.array,r),s=C({control:o,name:r,defaultValue:m(o._formValues,r,m(o._defaultValues,r,e.defaultValue)),exact:!0}),l=I({control:o,name:r}),f=n.useRef(o.register(r,{...e.rules,value:s}));return f.current=o.register(r,e.rules),n.useEffect((()=>{const e=o._options.shouldUnregister||a,t=(e,t)=>{const r=m(o._fields,e);r&&(r._f.mount=t)};if(t(r,!0),e){const e=d(m(o._options.defaultValues,r));T(o._defaultValues,r,e),h(m(o._formValues,r))&&T(o._formValues,r,e)}return()=>{(i?e&&!o._state.action:e)?o.unregister(r):t(r,!1)}}),[r,o,i,a]),{field:{name:r,value:s,onChange:n.useCallback((e=>f.current.onChange({target:{value:u(e),name:r},type:g.CHANGE})),[r]),onBlur:n.useCallback((()=>f.current.onBlur({target:{value:m(o._formValues,r),name:r},type:g.BLUR})),[r,o]),ref:e=>{const t=m(o._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!m(l.errors,r)},isDirty:{enumerable:!0,get:()=>!!m(l.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!m(l.touchedFields,r)},error:{enumerable:!0,get:()=>m(l.errors,r)}})}}(e));var N=(e,t,r,n,o)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:o||!0}}:{};const D=(e,t,r)=>{for(const n of r||Object.keys(e)){const r=m(e,n);if(r){const{_f:e,...n}=r;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else l(n)&&D(n,t)}}};var R=e=>({isOnSubmit:!e||e===v.onSubmit,isOnBlur:e===v.onBlur,isOnChange:e===v.onChange,isOnAll:e===v.all,isOnTouch:e===v.onTouched}),U=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))))),M=(e,t,r)=>{const n=y(m(e,r));return T(n,"root",t[r]),T(e,r,n),e},V=e=>"boolean"==typeof e,H=e=>"file"===e.type,q=e=>"function"==typeof e,W=e=>{if(!p)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},G=e=>k(e),$=e=>"radio"===e.type,Y=e=>e instanceof RegExp;const Z={value:!1,isValid:!1},J={value:!0,isValid:!0};var Q=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!h(e[0].attributes.value)?h(e[0].value)||""===e[0].value?J:{value:e[0].value,isValid:!0}:J:Z}return Z};const K={isValid:!1,value:null};var X=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),K):K;function ee(e,t,r="validate"){if(G(e)||Array.isArray(e)&&e.every(G)||V(e)&&!e)return{type:r,message:G(e)?e:"",ref:t}}var te=e=>l(e)&&!Y(e)?e:{value:e,message:""},re=async(e,t,r,n,a)=>{const{ref:s,refs:u,required:c,maxLength:f,minLength:p,min:d,max:y,pattern:g,validate:v,name:_,valueAsNumber:S,mount:E,disabled:j}=e._f,L=m(t,_);if(!E||j)return{};const A=u?u[0]:s,O=e=>{n&&A.reportValidity&&(A.setCustomValidity(V(e)?"":e||""),A.reportValidity())},I={},P=$(s),C=o(s),z=P||C,B=(S||H(s))&&h(s.value)&&h(L)||W(s)&&""===s.value||""===L||Array.isArray(L)&&!L.length,T=N.bind(null,_,r,I),F=(e,t,r,n="maxLength",o="minLength")=>{const a=e?t:r;I[_]={type:e?n:o,message:a,ref:s,...T(e?n:o,a)}};if(a?!Array.isArray(L)||!L.length:c&&(!z&&(B||i(L))||V(L)&&!L||C&&!Q(u).isValid||P&&!X(u).isValid)){const{value:e,message:t}=G(c)?{value:!!c,message:c}:te(c);if(e&&(I[_]={type:w,message:t,ref:A,...T(w,t)},!r))return O(t),I}if(!(B||i(d)&&i(y))){let e,t;const n=te(y),o=te(d);if(i(L)||isNaN(L)){const r=s.valueAsDate||new Date(L),a=e=>new Date((new Date).toDateString()+" "+e),i="time"==s.type,l="week"==s.type;k(n.value)&&L&&(e=i?a(L)>a(n.value):l?L>n.value:r>new Date(n.value)),k(o.value)&&L&&(t=i?a(L)<a(o.value):l?L<o.value:r<new Date(o.value))}else{const r=s.valueAsNumber||(L?+L:L);i(n.value)||(e=r>n.value),i(o.value)||(t=r<o.value)}if((e||t)&&(F(!!e,n.message,o.message,"max","min"),!r))return O(I[_].message),I}if((f||p)&&!B&&(k(L)||a&&Array.isArray(L))){const e=te(f),t=te(p),n=!i(e.value)&&L.length>+e.value,o=!i(t.value)&&L.length<+t.value;if((n||o)&&(F(n,e.message,t.message),!r))return O(I[_].message),I}if(g&&!B&&k(L)){const{value:e,message:t}=te(g);if(Y(e)&&!L.match(e)&&(I[_]={type:b,message:t,ref:s,...T(b,t)},!r))return O(t),I}if(v)if(q(v)){const e=ee(await v(L,t),A);if(e&&(I[_]={...e,...T("validate",e.message)},!r))return O(e.message),I}else if(l(v)){let e={};for(const n in v){if(!x(e)&&!r)break;const o=ee(await v[n](L,t),A,n);o&&(e={...o,...T(n,o.message)},O(o.message),r&&(I[_]=e))}if(!x(e)&&(I[_]={ref:A,...e},!r))return I}return O(!0),I};function ne(e,t){const r=Array.isArray(t)?t:z(t)?[t]:B(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=h(e)?n++:e[t[n++]];return e}(e,r),o=r.length-1,a=r[o];return n&&delete n[a],0!==o&&(l(n)&&x(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!h(e[t]))return!1;return!0}(n))&&ne(e,r.slice(0,-1)),e}function oe(){let e=[];return{get observers(){return e},next:t=>{for(const r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}}var ae=e=>i(e)||!s(e);function ie(e,t){if(ae(e)||ae(t))return e===t;if(a(e)&&a(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const o of r){const r=e[o];if(!n.includes(o))return!1;if("ref"!==o){const e=t[o];if(a(r)&&a(e)||l(r)&&l(e)||Array.isArray(r)&&Array.isArray(e)?!ie(r,e):r!==e)return!1}}return!0}var se=e=>"select-multiple"===e.type,le=e=>$(e)||o(e),ue=e=>W(e)&&e.isConnected,ce=e=>{for(const t in e)if(q(e[t]))return!0;return!1};function fe(e,t={}){const r=Array.isArray(e);if(l(e)||r)for(const r in e)Array.isArray(e[r])||l(e[r])&&!ce(e[r])?(t[r]=Array.isArray(e[r])?[]:{},fe(e[r],t[r])):i(e[r])||(t[r]=!0);return t}function pe(e,t,r){const n=Array.isArray(e);if(l(e)||n)for(const n in e)Array.isArray(e[n])||l(e[n])&&!ce(e[n])?h(t)||ae(r[n])?r[n]=Array.isArray(e[n])?fe(e[n],[]):{...fe(e[n])}:pe(e[n],i(t)?{}:t[n],r[n]):r[n]=!ie(e[n],t[n]);return r}var de=(e,t)=>pe(e,t,fe(t)),ye=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>h(e)?e:t?""===e?NaN:e?+e:e:r&&k(e)?new Date(e):n?n(e):e;function he(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return H(t)?t.files:$(t)?X(e.refs).value:se(t)?[...t.selectedOptions].map((({value:e})=>e)):o(t)?Q(e.refs).value:ye(h(t.value)?e.ref.value:t.value,e)}var me=(e,t,r,n)=>{const o={};for(const r of e){const e=m(t,r);e&&T(o,r,e._f)}return{criteriaMode:r,names:[...e],fields:o,shouldUseNativeValidation:n}},ge=e=>h(e)?e:Y(e)?e.source:l(e)?Y(e.value)?e.value.source:e.value:e,ve=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function be(e,t,r){const n=m(e,r);if(n||z(r))return{error:n,name:r};const o=r.split(".");for(;o.length;){const n=o.join("."),a=m(t,n),i=m(e,n);if(a&&!Array.isArray(a)&&r!==n)return{name:r};if(i&&i.type)return{name:n,error:i};o.pop()}return{name:r}}var we=(e,t,r,n,o)=>!o.isOnAll&&(!r&&o.isOnTouch?!(t||e):(r?n.isOnBlur:o.isOnBlur)?!e:!(r?n.isOnChange:o.isOnChange)||e),_e=(e,t)=>!y(m(e,t)).length&&ne(e,t);const Se={mode:v.onSubmit,reValidateMode:v.onChange,shouldFocusError:!0};function Ee(e={},t){let r,n={...Se,...e},s={submitCount:0,isDirty:!1,isLoading:q(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},f={},b=(l(n.defaultValues)||l(n.values))&&d(n.defaultValues||n.values)||{},w=n.shouldUnregister?{}:d(b),_={action:!1,mount:!1,watch:!1},S={mount:new Set,unMount:new Set,array:new Set,watch:new Set},E=0;const j={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},A={values:oe(),array:oe(),state:oe()},O=e.resetOptions&&e.resetOptions.keepDirtyValues,I=R(n.mode),C=R(n.reValidateMode),z=n.criteriaMode===v.all,B=async e=>{if(j.isValid||e){const e=n.resolver?x((await $()).errors):await Y(f,!0);e!==s.isValid&&A.state.next({isValid:e})}},F=e=>j.isValidating&&A.state.next({isValidating:e}),N=(e,t,r,n)=>{const o=m(f,e);if(o){const a=m(w,e,h(r)?m(b,e):r);h(a)||n&&n.defaultChecked||t?T(w,e,t?a:he(o._f)):Q(e,a),_.mount&&B()}},G=(e,t,r,n,o)=>{let a=!1,i=!1;const l={name:e};if(!r||n){j.isDirty&&(i=s.isDirty,s.isDirty=l.isDirty=Z(),a=i!==l.isDirty);const r=ie(m(b,e),t);i=m(s.dirtyFields,e),r?ne(s.dirtyFields,e):T(s.dirtyFields,e,!0),l.dirtyFields=s.dirtyFields,a=a||j.dirtyFields&&i!==!r}if(r){const t=m(s.touchedFields,e);t||(T(s.touchedFields,e,r),l.touchedFields=s.touchedFields,a=a||j.touchedFields&&t!==r)}return a&&o&&A.state.next(l),a?l:{}},$=async e=>n.resolver(w,n.context,me(e||S.mount,f,n.criteriaMode,n.shouldUseNativeValidation)),Y=async(e,t,r={valid:!0})=>{for(const o in e){const a=e[o];if(a){const{_f:e,...o}=a;if(e){const o=S.array.has(e.name),i=await re(a,w,z,n.shouldUseNativeValidation&&!t,o);if(i[e.name]&&(r.valid=!1,t))break;!t&&(m(i,e.name)?o?M(s.errors,i,e.name):T(s.errors,e.name,i[e.name]):ne(s.errors,e.name))}o&&await Y(o,t,r)}}return r.valid},Z=(e,t)=>(e&&t&&T(w,e,t),!ie(ce(),b)),J=(e,t,r)=>P(e,S,{..._.mount?w:h(t)?b:k(e)?{[e]:t}:t},r,t),Q=(e,t,r={})=>{const n=m(f,e);let a=t;if(n){const r=n._f;r&&(!r.disabled&&T(w,e,ye(t,r)),a=W(r.ref)&&i(t)?"":t,se(r.ref)?[...r.ref.options].forEach((e=>e.selected=a.includes(e.value))):r.refs?o(r.ref)?r.refs.length>1?r.refs.forEach((e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(a)?!!a.find((t=>t===e.value)):a===e.value))):r.refs[0]&&(r.refs[0].checked=!!a):r.refs.forEach((e=>e.checked=e.value===a)):H(r.ref)?r.ref.value="":(r.ref.value=a,r.ref.type||A.values.next({name:e,values:{...w}})))}(r.shouldDirty||r.shouldTouch)&&G(e,a,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&te(e)},K=(e,t,r)=>{for(const n in t){const o=t[n],i=`${e}.${n}`,s=m(f,i);!S.array.has(e)&&ae(o)&&(!s||s._f)||a(o)?Q(i,o,r):K(i,o,r)}},X=(e,r,n={})=>{const o=m(f,e),a=S.array.has(e),l=d(r);T(w,e,l),a?(A.array.next({name:e,values:{...w}}),(j.isDirty||j.dirtyFields)&&n.shouldDirty&&A.state.next({name:e,dirtyFields:de(b,w),isDirty:Z(e,l)})):!o||o._f||i(l)?Q(e,l,n):K(e,l,n),U(e,S)&&A.state.next({...s}),A.values.next({name:e,values:{...w}}),!_.mount&&t()},ee=async t=>{const o=t.target;let a=o.name,i=!0;const l=m(f,a);if(l){let c,p;const d=o.type?he(l._f):u(t),y=t.type===g.BLUR||t.type===g.FOCUS_OUT,h=!ve(l._f)&&!n.resolver&&!m(s.errors,a)&&!l._f.deps||we(y,m(s.touchedFields,a),s.isSubmitted,C,I),v=U(a,S,y);T(w,a,d),y?(l._f.onBlur&&l._f.onBlur(t),r&&r(0)):l._f.onChange&&l._f.onChange(t);const b=G(a,d,y,!1),_=!x(b)||v;if(!y&&A.values.next({name:a,type:t.type,values:{...w}}),h)return j.isValid&&B(),_&&A.state.next({name:a,...v?{}:b});if(!y&&v&&A.state.next({...s}),F(!0),n.resolver){const{errors:e}=await $([a]),t=be(s.errors,f,a),r=be(e,f,t.name||a);c=r.error,a=r.name,p=x(e)}else c=(await re(l,w,z,n.shouldUseNativeValidation))[a],i=isNaN(d)||d===m(w,a,d),i&&(c?p=!1:j.isValid&&(p=await Y(f,!0)));i&&(l._f.deps&&te(l._f.deps),((t,n,o,a)=>{const i=m(s.errors,t),l=j.isValid&&V(n)&&s.isValid!==n;var u;if(e.delayError&&o?(u=()=>((e,t)=>{T(s.errors,e,t),A.state.next({errors:s.errors})})(t,o),r=e=>{clearTimeout(E),E=setTimeout(u,e)},r(e.delayError)):(clearTimeout(E),r=null,o?T(s.errors,t,o):ne(s.errors,t)),(o?!ie(i,o):i)||!x(a)||l){const e={...a,...l&&V(n)?{isValid:n}:{},errors:s.errors,name:t};s={...s,...e},A.state.next(e)}F(!1)})(a,p,c,b))}},te=async(e,t={})=>{let r,o;const a=L(e);if(F(!0),n.resolver){const t=await(async e=>{const{errors:t}=await $();if(e)for(const r of e){const e=m(t,r);e?T(s.errors,r,e):ne(s.errors,r)}else s.errors=t;return t})(h(e)?e:a);r=x(t),o=e?!a.some((e=>m(t,e))):r}else e?(o=(await Promise.all(a.map((async e=>{const t=m(f,e);return await Y(t&&t._f?{[e]:t}:t)})))).every(Boolean),(o||s.isValid)&&B()):o=r=await Y(f);return A.state.next({...!k(e)||j.isValid&&r!==s.isValid?{}:{name:e},...n.resolver||!e?{isValid:r}:{},errors:s.errors,isValidating:!1}),t.shouldFocus&&!o&&D(f,(e=>e&&m(s.errors,e)),e?a:S.mount),o},ce=e=>{const t={...b,..._.mount?w:{}};return h(e)?t:k(e)?m(t,e):e.map((e=>m(t,e)))},fe=(e,t)=>({invalid:!!m((t||s).errors,e),isDirty:!!m((t||s).dirtyFields,e),isTouched:!!m((t||s).touchedFields,e),error:m((t||s).errors,e)}),pe=(e,t,r)=>{const n=(m(f,e,{_f:{}})._f||{}).ref;T(s.errors,e,{...t,ref:n}),A.state.next({name:e,errors:s.errors,isValid:!1}),r&&r.shouldFocus&&n&&n.focus&&n.focus()},Ee=(e,t={})=>{for(const r of e?L(e):S.mount)S.mount.delete(r),S.array.delete(r),t.keepValue||(ne(f,r),ne(w,r)),!t.keepError&&ne(s.errors,r),!t.keepDirty&&ne(s.dirtyFields,r),!t.keepTouched&&ne(s.touchedFields,r),!n.shouldUnregister&&!t.keepDefaultValue&&ne(b,r);A.values.next({values:{...w}}),A.state.next({...s,...t.keepDirty?{isDirty:Z()}:{}}),!t.keepIsValid&&B()},xe=(e,t={})=>{let r=m(f,e);const o=V(t.disabled);return T(f,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),S.mount.add(e),r?o&&T(w,e,t.disabled?void 0:m(w,e,he(r._f))):N(e,!0,t.value),{...o?{disabled:t.disabled}:{},...n.progressive?{required:!!t.required,min:ge(t.min),max:ge(t.max),minLength:ge(t.minLength),maxLength:ge(t.maxLength),pattern:ge(t.pattern)}:{},name:e,onChange:ee,onBlur:ee,ref:o=>{if(o){xe(e,t),r=m(f,e);const n=h(o.value)&&o.querySelectorAll&&o.querySelectorAll("input,select,textarea")[0]||o,a=le(n),i=r._f.refs||[];if(a?i.find((e=>e===n)):n===r._f.ref)return;T(f,e,{_f:{...r._f,...a?{refs:[...i.filter(ue),n,...Array.isArray(m(b,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),N(e,!1,void 0,n)}else r=m(f,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!c(S.array,e)||!_.action)&&S.unMount.add(e)}}},je=()=>n.shouldFocusError&&D(f,(e=>e&&m(s.errors,e)),S.mount),Le=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let o=d(w);if(A.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await $();s.errors=e,o=t}else await Y(f);ne(s.errors,"root"),x(s.errors)?(A.state.next({errors:{}}),await e(o,r)):(t&&await t({...s.errors},r),je(),setTimeout(je)),A.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:x(s.errors),submitCount:s.submitCount+1,errors:s.errors})},Ae=(r,n={})=>{const o=r||b,a=d(o),i=r&&!x(r)?a:b;if(n.keepDefaultValues||(b=o),!n.keepValues){if(n.keepDirtyValues||O)for(const e of S.mount)m(s.dirtyFields,e)?T(i,e,m(w,e)):X(e,m(i,e));else{if(p&&h(r))for(const e of S.mount){const t=m(f,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(W(e)){const t=e.closest("form");if(t){t.reset();break}}}}f={}}w=e.shouldUnregister?n.keepDefaultValues?d(b):{}:d(i),A.array.next({values:{...i}}),A.values.next({values:{...i}})}S={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!_.mount&&t(),_.mount=!j.isValid||!!n.keepIsValid,_.watch=!!e.shouldUnregister,A.state.next({submitCount:n.keepSubmitCount?s.submitCount:0,isDirty:n.keepDirty?s.isDirty:!(!n.keepDefaultValues||ie(r,b)),isSubmitted:!!n.keepIsSubmitted&&s.isSubmitted,dirtyFields:n.keepDirtyValues?s.dirtyFields:n.keepDefaultValues&&r?de(b,r):{},touchedFields:n.keepTouched?s.touchedFields:{},errors:n.keepErrors?s.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},Oe=(e,t)=>Ae(q(e)?e(w):e,t);return{control:{register:xe,unregister:Ee,getFieldState:fe,handleSubmit:Le,setError:pe,_executeSchema:$,_getWatch:J,_getDirty:Z,_updateValid:B,_removeUnmounted:()=>{for(const e of S.unMount){const t=m(f,e);t&&(t._f.refs?t._f.refs.every((e=>!ue(e))):!ue(t._f.ref))&&Ee(e)}S.unMount=new Set},_updateFieldArray:(e,t=[],r,n,o=!0,a=!0)=>{if(n&&r){if(_.action=!0,a&&Array.isArray(m(f,e))){const t=r(m(f,e),n.argA,n.argB);o&&T(f,e,t)}if(a&&Array.isArray(m(s.errors,e))){const t=r(m(s.errors,e),n.argA,n.argB);o&&T(s.errors,e,t),_e(s.errors,e)}if(j.touchedFields&&a&&Array.isArray(m(s.touchedFields,e))){const t=r(m(s.touchedFields,e),n.argA,n.argB);o&&T(s.touchedFields,e,t)}j.dirtyFields&&(s.dirtyFields=de(b,w)),A.state.next({name:e,isDirty:Z(e,t),dirtyFields:s.dirtyFields,errors:s.errors,isValid:s.isValid})}else T(w,e,t)},_getFieldArray:t=>y(m(_.mount?w:b,t,e.shouldUnregister?m(b,t,[]):[])),_reset:Ae,_resetDefaultValues:()=>q(n.defaultValues)&&n.defaultValues().then((e=>{Oe(e,n.resetOptions),A.state.next({isLoading:!1})})),_updateFormState:e=>{s={...s,...e}},_subjects:A,_proxyFormState:j,get _fields(){return f},get _formValues(){return w},get _state(){return _},set _state(e){_=e},get _defaultValues(){return b},get _names(){return S},set _names(e){S=e},get _formState(){return s},set _formState(e){s=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:te,register:xe,handleSubmit:Le,watch:(e,t)=>q(e)?A.values.subscribe({next:r=>e(J(void 0,t),r)}):J(e,t,!0),setValue:X,getValues:ce,reset:Oe,resetField:(e,t={})=>{m(f,e)&&(h(t.defaultValue)?X(e,m(b,e)):(X(e,t.defaultValue),T(b,e,t.defaultValue)),t.keepTouched||ne(s.touchedFields,e),t.keepDirty||(ne(s.dirtyFields,e),s.isDirty=t.defaultValue?Z(e,m(b,e)):Z()),t.keepError||(ne(s.errors,e),j.isValid&&B()),A.state.next({...s}))},clearErrors:e=>{e&&L(e).forEach((e=>ne(s.errors,e))),A.state.next({errors:e?s.errors:{}})},unregister:Ee,setError:pe,setFocus:(e,t={})=>{const r=m(f,e),n=r&&r._f;if(n){const e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:fe}}function xe(e={}){const t=n.useRef(),r=n.useRef(),[o,a]=n.useState({isDirty:!1,isValidating:!1,isLoading:q(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:q(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...Ee(e,(()=>a((e=>({...e}))))),formState:o});const i=t.current.control;return i._options=e,O({subject:i._subjects.state,next:e=>{j(e,i._proxyFormState,i._updateFormState,!0)&&a({...i._formState})}}),n.useEffect((()=>{e.values&&!ie(e.values,r.current)?(i._reset(e.values,i._options.resetOptions),r.current=e.values):i._resetDefaultValues()}),[e.values,i]),n.useEffect((()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()})),t.current.formState=E(o,i),t.current}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return r[e].call(a.exports,a,a.exports,o),a.exports}o.m=r,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>(({656:"inline-button-0.0.1",680:"inline-skeleton-0.0.2",964:"inline-spinner-0.0.1"}[e]||e)+".js"),o.miniCssF=e=>({656:"inline-button-0.0.1",680:"inline-skeleton-0.0.2",964:"inline-spinner-0.0.1"}[e]+".css"),o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="wp-ajaxify-comments:",o.l=(r,n,a,i)=>{if(e[r])e[r].push(n);else{var s,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var f=u[c];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+a){s=f;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+a),s.src=r),e[r]=[n];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(d);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{if("undefined"!=typeof document){var e={178:0};o.f.miniCss=(t,r)=>{e[t]?r.push(e[t]):0!==e[t]&&{656:1,680:1,964:1}[t]&&r.push(e[t]=(e=>new Promise(((t,r)=>{var n=o.miniCssF(e),a=o.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(i=r[n]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(o===e||o===t))return i}var a=document.getElementsByTagName("style");for(n=0;n<a.length;n++){var i;if((o=(i=a[n]).getAttribute("data-href"))===e||o===t)return i}})(n,a))return t();((e,t,r,n,o)=>{var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=r=>{if(a.onerror=a.onload=null,"load"===r.type)n();else{var i=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,a.parentNode&&a.parentNode.removeChild(a),o(l)}},a.href=t,document.head.appendChild(a)})(e,a,0,t,r)})))(t).then((()=>{e[t]=0}),(r=>{throw delete e[t],r})))}}})(),(()=>{var e={178:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var a=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=a);var i=o.p+o.u(t),s=new Error;o.l(i,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[i,s,l]=r,u=0;if(i.some((t=>0!==e[t]))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);l&&l(o)}for(t&&t(r);u<i.length;u++)a=i[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunkwp_ajaxify_comments=self.webpackChunkwp_ajaxify_comments||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{"use strict";var e=o(9196),t=o.n(e),r=o(745),n=o(5609),a=o(7536),i=o(4184),s=o.n(i),l=o(5302),u=o(5736),c=o(8498),f=o.n(c),p=o(2919);const d=(0,p.Z)("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);var y=o(3510);function h(e){return h="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},h(e)}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,w(n.key),n)}}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function w(e){var t=function(e,t){if("object"!==h(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===h(t)?t:String(t)}const _=function(e){!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&&g(e,t)}(s,e);var t,r,n,o,a,i=(o=s,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(o);if(a){var r=b(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}(this,e)});function s(){var e,t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var o=arguments.length,a=new Array(o),l=0;l<o;l++)a[l]=arguments[l];return t=v(e=i.call.apply(i,[this].concat(a))),n={hasError:!1,error:null},(r=w(r="state"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e}return t=s,n=[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0,error:e}}}],(r=[{key:"render",value:function(){return this.state.hasError?this.props.fallback:this.props.children}}])&&m(t.prototype,r),n&&m(t,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(t().Component);var S=o(9669),E=o.n(S),x=o(129),j=o.n(x);function L(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"json",o={action:e},a={nonce:!1,action:e};for(var i in void 0===t&&(t={}),a)t.hasOwnProperty(i)||(t[i]=a[i]);var s={method:"post",url:"undefined"==typeof ajaxurl?r:ajaxurl,responseType:n,params:o,paramsSerializer:function(e){return j().stringify(e,{arrayFormat:"brackets"})},data:j().stringify(t)};return E()(s)}var A=o(7202);const O=(0,p.Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),I=(0,p.Z)("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]),k=(0,p.Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);function P(e){return P="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},P(e)}function C(){C=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),s=new k(n||[]);return o(i,"_invoke",{value:L(e,r,s)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",d="suspendedYield",y="executing",h="completed",m={};function g(){}function v(){}function b(){}var w={};u(w,i,(function(){return this}));var _=Object.getPrototypeOf,S=_&&_(_(z([])));S&&S!==r&&n.call(S,i)&&(w=S);var E=b.prototype=g.prototype=Object.create(w);function x(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,a,i,s){var l=f(e[o],e,a);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==P(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(c).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,s)}))}s(l.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function L(t,r,n){var o=p;return function(a,i){if(o===y)throw new Error("Generator is already running");if(o===h){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var l=A(s,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var u=f(t,r,n);if("normal"===u.type){if(o=n.done?h:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=h,n.method="throw",n.arg=u.arg)}}}function A(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,A(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function z(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(P(t)+" is not iterable")}return v.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:v,configurable:!0}),v.displayName=u(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},x(j.prototype),u(j.prototype,s,(function(){return this})),t.AsyncIterator=j,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new j(c(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),u(E,l,"Generator"),u(E,i,(function(){return this})),u(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=z,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:z(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function z(e,t,r,n,o,a,i){try{var s=e[a](i),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function B(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const F=function(r){var o=r.ajaxOptions,a=r.loadingMessage,i={type:"info",message:"",title:"",isDismissable:!1,isPersistent:!1,isSuccess:!1,loadingMessage:a,politeness:"polite"},l=B((0,e.useState)(i),2),c=l[0],f=l[1],p=B((0,e.useState)(!1),2),d=p[0],h=p[1],m=B((0,e.useState)(!1),2),g=m[0],v=m[1],b=B((0,e.useState)(!1),2),w=b[0],_=b[1],S=B((0,e.useState)(null),2),E=S[0],x=S[1];if((0,e.useEffect)((function(){var e=function(){var e,t=(e=C().mark((function e(){var t;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o;case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){z(a,n,o,i,s,"next",e)}function s(e){z(a,n,o,i,s,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();o instanceof Promise&&(f(i),_(!0),h(!0),e().then((function(e){var t=e.data,r=t.success,n=t.data,o=n.type||"info",a=n.message||"",s=n.title||"",l=n.dismissable||!1,u=n.persistent||!1;f({type:o,message:a,title:s,isDismissable:l,isBusy:!1,isPersistent:u,politeness:r?"polite":"assertive"}),"critical"===o?(_(!1),f(i),v(!0)):(clearTimeout(E),x(setTimeout((function(){_(!1),f(i)}),6e3)))})).catch((function(e){f({type:"critical",message:e.message,title:(0,u.__)("An Error Has Occurred","wp-ajaxify-comments"),isDismissable:!1,isBusy:!1,isPersistent:!0,politeness:"assertive"})})).then((function(){h(!1)})))}),[o]),null===o)return t().createElement(t().Fragment,null);var j,L=function(){switch(c.type){case"success":return t().createElement(k,null);case"error":case"critical":return t().createElement(y.Z,null);default:return t().createElement(O,null)}};return t().createElement(t().Fragment,null,w&&t().createElement(n.Snackbar,{className:s()("ajaxify-snackbar ajaxify-snackbar-".concat(c.type),{"ajaxify-snackbar-loading":d}),actions:(j=[],"success"===c.type&&j.push({label:(0,u.__)("Back to Top","wp-ajaxify-comments"),url:"#ajaxify-admin-header",variant:"link",className:"ajaxify-admin__notice-action ajaxify-admin__notice-action--to-top"}),j),icon:L(),onDismiss:function(){return _(!1)},explicitDismiss:c.isDismissable},d?a:c.message)," ",g&&function(){if("critical"===c.type)return t().createElement(n.Modal,{className:s()("ajaxify-modal ajaxify-modal-".concat(c.type),{"ajaxify-modal-loading":d}),bodyOpenClassName:"ajaxify-modal-body-open",title:c.title,onRequestClose:function(){v(!1)},isDismissible:!0,shouldCloseOnClickOutside:c.isPersistent,shouldCloseOnEsc:c.isPersistent},t().createElement(A.Z,{message:c.message,status:c.type,politeness:c.politeness,icon:L,inline:!1}),t().createElement("div",{className:"ajaxify-modal-button-group"},t().createElement(n.Button,{className:"button button-error",variant:"secondary",onClick:function(){v(!1)}},(0,u.__)("OK","wp-ajaxify-comments"))))}()," ")};function N(e){return 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},N(e)}function D(){D=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),s=new k(n||[]);return o(i,"_invoke",{value:L(e,r,s)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var p="suspendedStart",d="suspendedYield",y="executing",h="completed",m={};function g(){}function v(){}function b(){}var w={};u(w,i,(function(){return this}));var _=Object.getPrototypeOf,S=_&&_(_(P([])));S&&S!==r&&n.call(S,i)&&(w=S);var E=b.prototype=g.prototype=Object.create(w);function x(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,a,i,s){var l=f(e[o],e,a);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==N(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(c).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,s)}))}s(l.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function L(t,r,n){var o=p;return function(a,i){if(o===y)throw new Error("Generator is already running");if(o===h){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var l=A(s,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var u=f(t,r,n);if("normal"===u.type){if(o=n.done?h:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=h,n.method="throw",n.arg=u.arg)}}}function A(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,A(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=f(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(N(t)+" is not iterable")}return v.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:v,configurable:!0}),v.displayName=u(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},x(j.prototype),u(j.prototype,s,(function(){return this})),t.AsyncIterator=j,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new j(c(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),u(E,l,"Generator"),u(E,i,(function(){return this})),u(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function R(e,t,r,n,o,a,i){try{var s=e[a](i),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function U(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){R(a,n,o,i,s,"next",e)}function s(e){R(a,n,o,i,s,"throw",e)}i(void 0)}))}}function M(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return V(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const H=function(r){var o=r.formValues,a=(r.setError,r.reset),i=r.errors,l=(r.isDirty,r.dirtyFields,r.trigger),c=M((0,e.useState)(!1),2),f=c[0],p=c[1],d=M((0,e.useState)(!1),2),y=d[0],h=d[1],m=M((0,e.useState)(!1),2),g=m[0],v=(m[1],M((0,e.useState)(!1),2)),b=v[0],w=(v[1],M((0,e.useState)(null),2)),_=w[0],S=w[1],E=M((0,e.useState)(null),2),x=E[0],j=E[1],k=function(){var e=U(D().mark((function e(){var t;return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=L("wpac_save_options",{ajaxifyFormData:o}),S(t),p(!0),e.next=5,t;case 5:p(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),P=function(){var e=U(D().mark((function e(){var t,r;return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=L("wpac_reset_options",{ajaxifyFormData:o}),j(t),h(!0),e.next=5,t;case 5:r=e.sent,a(r.data.data.formData,{keepErrors:!1,keepDirty:!1}),h(!1);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),C=function(){return Object.keys(i).length>0};return t().createElement(t().Fragment,null,t().createElement("div",{className:"ajaxify-admin-buttons"},t().createElement(n.Button,{className:s()("ajaxify__btn ajaxify__btn-primary ajaxify__btn--icon-right",{"has-error":C()},{"has-icon":f||g},{"is-saving":f&&!g},{"is-saved":g}),type:"button",text:f?(0,u.__)("Saving…","wp-ajaxify-comments"):g?(0,u.__)("Saved","wp-ajaxify-comments"):(0,u.__)("Save Options","wp-ajaxify-comments"),icon:f?function(){return t().createElement(O,null)}:!!g&&function(){return t().createElement(I,null)},iconSize:"18",iconPosition:"right",disabled:f,onClick:function(){var e=U(D().mark((function e(t){return D().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,l();case 3:e.sent&&k();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}),t().createElement(n.Button,{className:s()("ajaxify__btn ajaxify__btn-danger ajaxify__btn--icon-right",{"has-icon":y},{"is-resetting":{resetting:y}}),type:"button",text:y?(0,u.__)("Resetting to Defaults…","wp-ajaxify-comments"):b?(0,u.__)("Options Restored to Defaults","wp-ajaxify-comments"):(0,u.__)("Reset to Defaults","wp-ajaxify-comments"),icon:!!y&&t().createElement(O,null),iconSize:"18",iconPosition:"right",disabled:f||y,onClick:function(e){e.preventDefault(),P()}})),t().createElement("div",{className:"ajaxify-admin-notices-bottom"},t().createElement(F,{ajaxOptions:_,loadingMessage:(0,u.__)("Saving Options…","wp-ajaxify-comments")}),t().createElement(F,{ajaxOptions:x,loadingMessage:(0,u.__)("Resetting to defaults…","wp-ajaxify-comments")}),C()&&t().createElement(A.Z,{message:(0,u.__)("There are form validation errors. Please correct them above.","wp-ajaxify-comments"),status:"error",politeness:"polite"})))};function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},q.apply(this,arguments)}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var G=t().lazy((function(){return o.e(964).then(o.bind(o,7172))})),$=t().lazy((function(){return Promise.all([o.e(811),o.e(680)]).then(o.bind(o,1962))})),Y=t().lazy((function(){return Promise.all([o.e(811),o.e(656)]).then(o.bind(o,5210))})),Z=function(){return L("wpac_get_lazy_load_options",{nonce:wpacAdminLazyLoad.getNonce})},J=/^(?:(?:\*|(?:[a-z0-9_-]+(?:\|[a-z0-9_-]+)?))|\[(?:[a-z0-9_-]+)(?:=[\'"]?(.*?)[\'"]?)?\]|#[a-z0-9_-]+|\.(?:[a-z0-9_-]+))+(?:\s*,\s*(?:(?:\*|(?:[a-z0-9_-]+(?:\|[a-z0-9_-]+)?))|\[(?:[a-z0-9_-]+)(?:=[\'"]?(.*?)[\'"]?)?\]|#[a-z0-9_-]+|\.(?:[a-z0-9_-]+))+)*/i,Q=function(r){var o=(0,r.defaults)().data,i=o.data,l=(o.success,(0,a.cI)({defaultValues:{caller:"lazy-load",lazyLoadEnabled:i.lazyLoadEnabled,lazyLoadDisplay:i.lazyLoadDisplay,lazyLoadInlineLoadingType:i.lazyLoadInlineLoadingType,lazyLoadInlineSpinnerLabel:i.lazyLoadInlineSpinnerLabel,lazyLoadInlineSpinnerLabelEnabled:i.lazyLoadInlineSpinnerLabelEnabled,lazyLoadInlineSpinnerSpeed:i.lazyLoadInlineSpinnerSpeed,lazyLoadTrigger:i.lazyLoadTrigger,lazyLoadTriggerElement:i.lazyLoadTriggerElement,lazyLoadPaginationEnabled:i.lazyLoadPaginationEnabled,lazyLoadCommentsPerPage:i.lazyLoadCommentsPerPage,lazyLoadUseThemePagination:i.lazyLoadUseThemePagination,lazyLoadPaginationStyle:i.lazyLoadPaginationStyle,lazyLoadPaginationLocation:i.lazyLoadPaginationLocation,lazyLoadingPaginationScrollToTop:i.lazyLoadingPaginationScrollToTop,lazyLoadTriggerScrollOffset:i.lazyLoadTriggerScrollOffset,lazyLoadInlineSpinner:i.lazyLoadInlineSpinner,saveNonce:wpacAdminLazyLoad.saveNonce,resetNonce:wpacAdminLazyLoad.resetNonce,lazyLoadInlineDisplayLocation:i.lazyLoadInlineDisplayLocation,lazyLoadInlineDisplayElement:i.lazyLoadInlineDisplayElement,lazyLoadInlineSpinnerContainerBackgroundColor:i.lazyLoadInlineSpinnerContainerBackgroundColor,lazyLoadInlineSpinnerContainerBackgroundColorOpacity:i.lazyLoadInlineSpinnerContainerBackgroundColorOpacity,lazyLoadInlineSpinnerIconColor:i.lazyLoadInlineSpinnerIconColor,lazyLoadInlineSpinnerLabelColor:i.lazyLoadInlineSpinnerLabelColor,lazyLoadInlineSpinnerLayoutType:i.lazyLoadInlineSpinnerLayoutType,lazyLoadInlineSpinnerLayoutAlignment:i.lazyLoadInlineSpinnerLayoutAlignment,lazyLoadInlineSpinnerLayoutRTL:i.lazyLoadInlineSpinnerLayoutRTL,lazyLoadInlineSpinnerLabelFontSizeDesktop:i.lazyLoadInlineSpinnerLabelFontSizeDesktop,lazyLoadInlineSpinnerSizeDesktop:i.lazyLoadInlineSpinnerSizeDesktop,lazyLoadInlineSpinnerLabelLineHeightDesktop:i.lazyLoadInlineSpinnerLabelLineHeightDesktop,lazyLoadInlineSpinnerGapDesktop:i.lazyLoadInlineSpinnerGapDesktop,lazyLoadInlineSpinnerContainerPaddingDesktop:i.lazyLoadInlineSpinnerContainerPaddingDesktop,lazyLoadInlineSpinnerLabelFontSizeTablet:i.lazyLoadInlineSpinnerLabelFontSizeTablet,lazyLoadInlineSpinnerSizeTablet:i.lazyLoadInlineSpinnerSizeTablet,lazyLoadInlineSpinnerLabelLineHeightTablet:i.lazyLoadInlineSpinnerLabelLineHeightTablet,lazyLoadInlineSpinnerGapTablet:i.lazyLoadInlineSpinnerGapTablet,lazyLoadInlineSpinnerContainerPaddingTablet:i.lazyLoadInlineSpinnerContainerPaddingTablet,lazyLoadInlineSpinnerLabelFontSizeMobile:i.lazyLoadInlineSpinnerLabelFontSizeMobile,lazyLoadInlineSpinnerSizeMobile:i.lazyLoadInlineSpinnerSizeMobile,lazyLoadInlineSpinnerLabelLineHeightMobile:i.lazyLoadInlineSpinnerLabelLineHeightMobile,lazyLoadInlineSpinnerGapMobile:i.lazyLoadInlineSpinnerGapMobile,lazyLoadInlineSpinnerContainerPaddingMobile:i.lazyLoadInlineSpinnerContainerPaddingMobile,lazyLoadInlineSkeletonLoadingLabelEnabled:i.lazyLoadInlineSkeletonLoadingLabelEnabled,lazyLoadInlineSkeletonLoadingLabel:i.lazyLoadInlineSkeletonLoadingLabel,lazyLoadInlineSkeletonItemsShow:i.lazyLoadInlineSkeletonItemsShow,lazyLoadInlineSkeletonBackgroundColor:i.lazyLoadInlineSkeletonBackgroundColor,lazyLoadInlineSkeletonHighlightColor:i.lazyLoadInlineSkeletonHighlightColor,lazyLoadInlineSkeletonHeadingColor:i.lazyLoadInlineSkeletonHeadingColor,lazyLoadInlineSkeletonHeadingFontSize:i.lazyLoadInlineSkeletonHeadingFontSize,lazyLoadInlineSkeletonHeadingLineHeight:i.lazyLoadInlineSkeletonHeadingLineHeight,lazyLoadInlineShortcode:i.lazyLoadInlineShortcode,lazyLoadInlineButtonLabel:i.lazyLoadInlineButtonLabel,lazyLoadInlineButtonLabelLoading:i.lazyLoadInlineButtonLabelLoading,lazyLoadInlineButtonAppearance:i.lazyLoadInlineButtonAppearance,lazyLoadInlineButtonUseThemeStyles:i.lazyLoadInlineButtonUseThemeStyles,lazyLoadInlineButtonBackgroundColor:i.lazyLoadInlineButtonBackgroundColor,lazyLoadInlineButtonBackgroundColorHover:i.lazyLoadInlineButtonBackgroundColorHover,lazyLoadInlineButtonTextColor:i.lazyLoadInlineButtonTextColor,lazyLoadInlineButtonTextColorHover:i.lazyLoadInlineButtonTextColorHover,lazyLoadInlineButtonBorderColor:i.lazyLoadInlineButtonBorderColor,lazyLoadInlineButtonBorderColorHover:i.lazyLoadInlineButtonBorderColorHover,lazyLoadInlineButtonBorderWidth:i.lazyLoadInlineButtonBorderWidth,lazyLoadInlineButtonBorderRadius:i.lazyLoadInlineButtonBorderRadius,lazyLoadInlineButtonPaddingTop:i.lazyLoadInlineButtonPaddingTop,lazyLoadInlineButtonPaddingRight:i.lazyLoadInlineButtonPaddingRight,lazyLoadInlineButtonPaddingBottom:i.lazyLoadInlineButtonPaddingBottom,lazyLoadInlineButtonPaddingLeft:i.lazyLoadInlineButtonPaddingLeft,lazyLoadInlineButtonFontSize:i.lazyLoadInlineButtonFontSize,lazyLoadInlineButtonLineHeight:i.lazyLoadInlineButtonLineHeight,lazyLoadInlineButtonFontWeight:i.lazyLoadInlineButtonFontWeight,lazyLoadInlineButtonFontFamily:i.lazyLoadInlineButtonFontFamily,lazyLoadInlineButtonAlign:i.lazyLoadInlineButtonAlign}})),c=(l.register,l.control),p=l.handleSubmit,h=l.setValue,m=l.getValues,g=l.reset,v=l.setError,b=l.clearErrors,w=l.trigger,_=(0,a.qo)({control:c}),S=(0,a.cl)({control:c}),E=S.errors,x=S.isDirty,j=S.dirtyFields;return S.touchedFields,t().createElement(t().Fragment,null,t().createElement("div",{className:"ajaxify-admin-panel-area"},t().createElement(t().Fragment,null,t().createElement("h2",null,(0,u.__)("Lazy Load Comments Settings","wp-ajaxify-comments")),t().createElement("p",{className:"description"},(0,u.__)("Lazy loading comments can help speed up your page load time, especially if you have a page with a lot of comments.","wp-ajaxify-comments"))),t().createElement("form",{onSubmit:p((function(e){}))},t().createElement("table",{className:"form-table form-table-row-sections"},t().createElement("tbody",null,t().createElement("tr",null,t().createElement("th",{scope:"row"},(0,u.__)("Lazy Loading","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement("p",{className:"description"},(0,u.__)("Determine if you would like to lazy load your comments.","wp-ajaxify-comments"))),t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadEnabled",control:c,render:function(e){var r=e.field,o=r.onChange,a=r.value;return t().createElement(t().Fragment,null,t().createElement(n.ToggleControl,{label:(0,u.__)("Enable Lazy Loading","wp-ajaxify-comments"),help:(0,u.__)("Enable lazy loading of comments.","wp-ajaxify-comments"),checked:a,onChange:o}))}})))),t().createElement("tr",null,t().createElement("th",{scope:"row"},(0,u.__)("Loading Trigger","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement("p",{className:"description"},(0,u.__)("Choose how to load the comments. You can choose a specific location or even load comments in a custom container.","wp-ajaxify-comments"))),t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadTrigger",control:c,render:function(e){var r=e.field,o=r.onChange,a=r.value;return t().createElement(t().Fragment,null,t().createElement(n.SelectControl,{label:(0,u.__)("Trigger","wp-ajaxify-comments"),help:(0,u.__)("Choose what triggers the comments to load.","wp-ajaxify-comments"),value:a,onChange:o,options:[{value:"external",label:(0,u.__)("External Trigger","wp-ajaxify-comments")},{value:"comments",label:(0,u.__)("Comments Scrolled Into Viewport (Recommended)","wp-ajaxify-comments")},{value:"domready",label:(0,u.__)("Dom Ready","wp-ajaxify-comments")},{value:"element",label:(0,u.__)("Dom Element Reached","wp-ajaxify-comments")},{value:"scroll",label:(0,u.__)("Page Scroll Length","wp-ajaxify-comments")}]}),"external"===m("lazyLoadTrigger")&&t().createElement(t().Fragment,null,t().createElement(A.Z,{message:(0,u.__)("You can trigger the comments to load externally by using the following JavaScript function: WPAC.RefreshComments();","wp-ajaxify-comments"),status:"info",politeness:"assertive",inline:!1,icon:function(){return t().createElement(d,null)}})))}})),"element"===m("lazyLoadTrigger")&&t().createElement(t().Fragment,null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadTriggerElement",control:c,rules:{pattern:{value:J,message:(0,u.__)("Please enter a valid CSS selector.","wp-ajaxify-comments")},required:!0},render:function(e){var r,o,a=e.field,i=a.onChange,l=a.value;return t().createElement(t().Fragment,null,t().createElement(n.TextControl,{label:(0,u.__)("HTML ID, or Class","wp-ajaxify-comments"),help:(0,u.__)("Enter a CSS selector for the element that will trigger the comments to load.","wp-ajaxify-comments"),value:l,onChange:i,className:s()("ajaxify-admin__text-control",{"has-error":"required"===(null===(r=E.lazyLoadTriggerElement)||void 0===r?void 0:r.type)||"pattern"===(null===(o=E.lazyLoadTriggerElement)||void 0===o?void 0:o.type),"is-required":!0})}),E.lazyLoadTriggerElement&&t().createElement(A.Z,{message:(0,u.__)("A valid CSS selector must be entered.","wp-ajaxify-comments"),status:"error",politeness:"assertive",inline:!1,icon:function(){return t().createElement(y.Z,null)}}))}}))),("scroll"===m("lazyLoadTrigger")||"comments"===m("lazyLoadTrigger")||"element"===m("lazyLoadTrigger"))&&t().createElement(t().Fragment,null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadTriggerScrollOffset",control:c,rules:{required:!0,pattern:{value:/^[0-9]+$/,message:(0,u.__)("Please enter a valid number.","wp-ajaxify-comments")}},render:function(e){var r,o=e.field,a=o.onChange,i=o.value;return t().createElement(t().Fragment,null,t().createElement(n.TextControl,{label:(0,u.__)("Scroll Offset","wp-ajaxify-comments"),help:"scroll"===m("lazyLoadTrigger")?(0,u.__)("Enter a vertical offset that is relative to the top viewport. Entering 0 will assume an offest of 100%.","wp-ajaxify-comments"):(0,u.__)("Enter a vertical offset for that will trigger loading a certain number of pixels above the element. Entering 0 will assume an offest of 100%.","wp-ajaxify-comments"),value:i,type:"number",onChange:a,className:s()("ajaxify-admin__text-control",{"has-error":"required"===(null===(r=E.lazyLoadTriggerScrollOffset)||void 0===r?void 0:r.type),"is-required":!0})}),E.lazyLoadTriggerScrollOffset&&t().createElement(A.Z,{message:(0,u.__)("A valid number must be entered.","wp-ajaxify-comments"),status:"error",politeness:"assertive",inline:!1,icon:function(){return t().createElement(y.Z,null)}}))}}))),t().createElement("div",{className:"ajaxify-admin__control-row"}))),t().createElement("tr",null,t().createElement("th",{scope:"row"},(0,u.__)("Loading Message","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement("p",{className:"description"},(0,u.__)("While comments are loading, a loading message displays. How would you like to display the loading message?","wp-ajaxify-comments"))),t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadDisplay",control:c,render:function(e){var r=e.field,o=r.onChange,a=r.value;return t().createElement(t().Fragment,null,t().createElement(n.SelectControl,{label:(0,u.__)("Display","wp-ajaxify-comments"),help:(0,u.__)("Choose how you would like to display the loading message. Choose None to not show any loading indicator.","wp-ajaxify-comments"),value:a,onChange:o,options:[{value:"overlay",label:(0,u.__)("Overlay (default)","wp-ajaxify-comments")},{value:"inline",label:(0,u.__)("Inline","wp-ajaxify-comments")},{value:"none",label:(0,u.__)("None","wp-ajaxify-comments")}]}))}})),"inline"===m("lazyLoadDisplay")&&t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadInlineDisplayLocation",control:c,render:function(e){var r=e.field,o=r.onChange,a=r.value;return t().createElement(t().Fragment,null,t().createElement(n.SelectControl,{label:(0,u.__)("Inline Display Location","wp-ajaxify-comments"),help:(0,u.__)("Choose where you would like the loading message to appear on the page. Load in the comments section, or choose a custom element. If element is chosen, the comments will load within the element.","wp-ajaxify-comments"),value:a,onChange:o,options:[{value:"comments",label:(0,u.__)("Comment Section","wp-ajaxify-comments")},{value:"element",label:(0,u.__)("Custom HTML Element (Experimental)","wp-ajaxify-comments")}]}))}})),"inline"===m("lazyLoadDisplay")&&"element"===m("lazyLoadInlineDisplayLocation")&&t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadInlineDisplayElement",control:c,rules:{required:!0,pattern:J},render:function(e){var r,o,a,i,l=e.field,c=l.onChange,f=l.value;return t().createElement(t().Fragment,null,t().createElement(n.TextControl,{label:(0,u.__)("HTML ID, or Class","wp-ajaxify-comments"),help:(0,u.__)("Enter a CSS selector for the element that will display the loading message.","wp-ajaxify-comments"),value:f,onChange:c,className:s()("ajaxify-admin__text-control",{"has-error":"required"===(null===(r=E.lazyLoadInlineDisplayElement)||void 0===r?void 0:r.type)||"pattern"===(null===(o=E.lazyLoadInlineDisplayElement)||void 0===o?void 0:o.type),"is-required":!0})}),"pattern"===(null===(a=E.lazyLoadInlineDisplayElement)||void 0===a?void 0:a.type)&&t().createElement(A.Z,{message:(0,u.__)("Please use valid CSS selectors.","wp-ajaxify-comments"),status:"error",politeness:"assertive",inline:!1,icon:function(){return t().createElement(y.Z,null)}}),"required"===(null===(i=E.lazyLoadInlineDisplayElement)||void 0===i?void 0:i.type)&&t().createElement(A.Z,{message:(0,u.__)("This is a required field.","wp-ajaxify-comments"),status:"error",politeness:"assertive",inline:!1,icon:function(){return t().createElement(y.Z,null)}}))}})))),"inline"===m("lazyLoadDisplay")&&t().createElement(t().Fragment,null,t().createElement("tr",null,t().createElement("th",{scope:"row"},(0,u.__)("Inline Loading","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement("p",{className:"description"},(0,u.__)("If you choose to display the loading message inline, how would you like to display it?","wp-ajaxify-comments"))),t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadInlineLoadingType",control:c,render:function(e){var r=e.field,o=r.onChange,a=r.value;return t().createElement(t().Fragment,null,t().createElement(n.SelectControl,{label:(0,u.__)("Inline Loading Type","wp-ajaxify-comments"),help:(0,u.__)("Choose how you would like to display the loading message.","wp-ajaxify-comments"),value:a,onChange:o,options:[{value:"spinner",label:(0,u.__)("Spinner (default)","wp-ajaxify-comments")},{value:"skeleton",label:(0,u.__)("Loading Skeleton","wp-ajaxify-comments")},{value:"button",label:(0,u.__)("Loading Button","wp-ajaxify-comments")},{value:"shortcode",label:(0,u.__)("Shortcode","wp-ajaxify-comments")}]}))}})))),"spinner"===m("lazyLoadInlineLoadingType")&&t().createElement(t().Fragment,null,t().createElement(e.Suspense,{fallback:t().createElement(t().Fragment,null,t().createElement("tr",null,t().createElement("th",null,(0,u.__)("Inline Spinner","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("h2",null,(0,u.__)("Loading Inline Options","wp-ajaxify-comments")),t().createElement(f(),{color:"#873F49",loading:!0,cssOverride:!0,size:25,speedMultiplier:.65}))))},t().createElement(G,{control:c,errors:E,setValue:h,getValues:m,clearErrors:b}))),"skeleton"===m("lazyLoadInlineLoadingType")&&t().createElement(t().Fragment,null,t().createElement(e.Suspense,{fallback:t().createElement(t().Fragment,null,t().createElement("tr",null,t().createElement("th",null,(0,u.__)("Loading Skeleton","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("h2",null,(0,u.__)("Loading Skeleton Options","wp-ajaxify-comments")),t().createElement(f(),{color:"#873F49",loading:!0,cssOverride:!0,size:25,speedMultiplier:.65}))))},t().createElement($,{control:c,errors:E,setValue:h,getValues:m,clearErrors:b}))),"shortcode"===m("lazyLoadInlineLoadingType")&&t().createElement(t().Fragment,null,t().createElement("tr",null,t().createElement("th",{scope:"row"},(0,u.__)("Shortcode","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadInlineShortcode",control:c,rules:{required:!0},render:function(e){var r,o,a=e.field,i=a.onChange,l=a.value;return t().createElement(t().Fragment,null,t().createElement(n.TextControl,{label:(0,u.__)("Shortcode","wp-ajaxify-comments"),help:(0,u.__)("Enter a shortcode to display while comments are loading.","wp-ajaxify-comments"),value:l,onChange:i,className:s()("ajaxify-admin__text-control",{"has-error":"required"===(null===(r=E.lazyLoadInlineShortcode)||void 0===r?void 0:r.type),"is-required":!0})}),"required"===(null===(o=E.lazyLoadInlineShortcode)||void 0===o?void 0:o.type)&&t().createElement(A.Z,{message:(0,u.__)("This is a required field.","wp-ajaxify-comments"),status:"error",politeness:"assertive",inline:!1,icon:function(){return t().createElement(y.Z,null)}}))}})))))))),"button"===m("lazyLoadInlineLoadingType")&&"inline"===m("lazyLoadDisplay")&&t().createElement(t().Fragment,null,t().createElement(e.Suspense,{fallback:t().createElement(t().Fragment,null,t().createElement("div",null,t().createElement("h2",null,(0,u.__)("Loading Button Options","wp-ajaxify-comments")),t().createElement(f(),{color:"#873F49",loading:!0,cssOverride:!0,size:25,speedMultiplier:.65})))},t().createElement(Y,{control:c,errors:E,setValue:h,getValues:m,clearErrors:b}))),t().createElement(H,{formValues:_,setError:v,reset:g,errors:E,isDirty:x,dirtyFields:j,trigger:w}))))};const K=function(r){var n,o,a=(n=(0,l.useAsyncResource)(Z,[]),o=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(n,o)||function(e,t){if(e){if("string"==typeof e)return W(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?W(e,t):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=a[0];return a[1],t().createElement(_,{fallback:t().createElement("p",null,(0,u.__)("Could not load Lazy Load options.","highlight-and-share"),t().createElement("br",null),t().createElement("a",{href:"https://dlxplugins.com/support/",target:"_blank",rel:"noopener noreferrer"},"DLX Plugins Support"))},t().createElement(e.Suspense,{fallback:t().createElement(t().Fragment,null,t().createElement("h2",null,(0,u.__)("Loading Options","wp-ajaxify-comments")),t().createElement(f(),{color:"#873F49",loading:!0,cssOverride:!0,size:25,speedMultiplier:.65}))},t().createElement(Q,q({defaults:i},r))))};var X=document.getElementById("wpac-tab-lazy-load");(0,r.s)(X).render(t().createElement(t().StrictMode,null,t().createElement(n.SlotFillProvider,null,t().createElement(K,null),t().createElement(n.Popover.Slot,null))))})()})();
     2(()=>{var e,t,r={9669:(e,t,r)=>{e.exports=r(1609)},5448:(e,t,r)=>{"use strict";var n=r(4867),o=r(6026),a=r(4372),i=r(5327),s=r(4097),l=r(4109),u=r(7985),c=r(5061),f=r(7874),p=r(5263);e.exports=function(e){return new Promise((function(t,r){var d,y=e.data,h=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(y)&&delete h["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(b+":"+w)}var _=s(e.baseURL,e.url);function S(){if(v){var n="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,a={data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};o((function(e){t(e),g()}),(function(e){r(e),g()}),a),v=null}}if(v.open(e.method.toUpperCase(),i(_,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=S:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(S)},v.onabort=function(){v&&(r(c("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){r(c("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||f;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(c(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},n.isStandardBrowserEnv()){var E=(e.withCredentials||u(_))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;E&&(h[e.xsrfHeaderName]=E)}"setRequestHeader"in v&&n.forEach(h,(function(e,t){void 0===y&&"content-type"===t.toLowerCase()?delete h[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),m&&"json"!==m&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){v&&(r(!e||e&&e.type?new p("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),y||(y=null),v.send(y)}))}},1609:(e,t,r)=>{"use strict";var n=r(4867),o=r(1849),a=r(321),i=r(7185),s=function e(t){var r=new a(t),s=o(a.prototype.request,r);return n.extend(s,a.prototype,r),n.extend(s,r),s.create=function(r){return e(i(t,r))},s}(r(5546));s.Axios=a,s.Cancel=r(5263),s.CancelToken=r(4972),s.isCancel=r(6502),s.VERSION=r(7288).version,s.all=function(e){return Promise.all(e)},s.spread=r(8713),s.isAxiosError=r(6268),e.exports=s,e.exports.default=s},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,r)=>{"use strict";var n=r(5263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,r)=>{"use strict";var n=r(4867),o=r(5327),a=r(782),i=r(3572),s=r(7185),l=r(4875),u=l.validators;function c(e){this.defaults=e,this.interceptors={request:new a,response:new a}}c.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&l.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var a,c=[];if(this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)})),!o){var f=[i,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(c),a=Promise.resolve(t);f.length;)a=a.then(f.shift(),f.shift());return a}for(var p=t;n.length;){var d=n.shift(),y=n.shift();try{p=d(p)}catch(e){y(e);break}}try{a=i(p)}catch(e){return Promise.reject(e)}for(;c.length;)a=a.then(c.shift(),c.shift());return a},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=c},782:(e,t,r)=>{"use strict";var n=r(4867);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},4097:(e,t,r)=>{"use strict";var n=r(1793),o=r(7303);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},5061:(e,t,r)=>{"use strict";var n=r(481);e.exports=function(e,t,r,o,a){var i=new Error(e);return n(i,t,r,o,a)}},3572:(e,t,r)=>{"use strict";var n=r(4867),o=r(8527),a=r(6502),i=r(5546),s=r(5263);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},7185:(e,t,r)=>{"use strict";var n=r(4867);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function i(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function l(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||a,o=t(e);n.isUndefined(o)&&t!==l||(r[e]=o)})),r}},6026:(e,t,r)=>{"use strict";var n=r(5061);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},8527:(e,t,r)=>{"use strict";var n=r(4867),o=r(5546);e.exports=function(e,t,r){var a=this||o;return n.forEach(r,(function(r){e=r.call(a,e,t)})),e}},5546:(e,t,r)=>{"use strict";var n=r(4867),o=r(6016),a=r(481),i=r(7874),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:i,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(5448)),u),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c},7874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:e=>{e.exports={version:"0.26.1"}},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},5327:(e,t,r)=>{"use strict";var n=r(4867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(n.isURLSearchParams(t))a=t.toString();else{var i=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),a=i.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,r)=>{"use strict";var n=r(4867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,a,i){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:(e,t,r)=>{"use strict";var n=r(4867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},7985:(e,t,r)=>{"use strict";var n=r(4867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},6016:(e,t,r)=>{"use strict";var n=r(4867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},4109:(e,t,r)=>{"use strict";var n=r(4867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,i={};return e?(n.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([r]):i[t]?i[t]+", "+r:r}})),i):i}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4875:(e,t,r)=>{"use strict";var n=r(7288).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,i){if(!1===e)throw new Error(o(n," has been removed"+(t?" in "+t:"")));return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,i)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var a=n[o],i=t[a];if(i){var s=e[a],l=void 0===s||i(s,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==r)throw Error("Unknown option "+a)}},validators:o}},4867:(e,t,r)=>{"use strict";var n=r(1849),o=Object.prototype.toString;function a(e){return Array.isArray(e)}function i(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===o.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:u,isUndefined:i,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return l(e)&&c(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):a(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)f(arguments[n],r);return t},extend:function(e,t,r){return f(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},7202:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(9196),o=r.n(n),a=r(5697),i=r.n(a),s=r(5158),l=r(5736),u=r(5609),c=r(4184),f=r.n(c);function p(e){return p="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},p(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(e){var t,r=e.message,a=e.status,i=e.politeness,c=e.icon,p=e.className,h=e.inline,m=e.children,g=e.hasToTop,v=void 0!==g&&g;(0,n.useEffect)((function(){(0,s.speak)(r,i)}),[r,a,i]);var b,w=function(){return null!==c},_=f()(p,"ajaxify-admin__notice",(y(t={"ajaxify-admin__notice--has-icon":w()},"ajaxify-admin__notice-type--".concat(a),!0),y(t,"ajaxify-admin__notice-appearance--inline",h),y(t,"ajaxify-admin__notice-appearance--block",!h),t)),S=[{label:(0,l.__)("Back to Top","wp-ajaxify-comments"),url:"#ajaxify-admin-header",variant:"link",className:"ajaxify-admin__notice-action ajaxify-admin__notice-action--to-top"}];return o().createElement("div",{className:_},o().createElement(u.Notice,d({isDismissible:!1,spokenMessage:r,actions:v?S:[]},e),w()&&o().createElement("div",{className:"ajaxify-admin__notice-icon"},(b=c,o().createElement(b,{width:16,height:16,fill:"#6c757d"}))),o().createElement("div",{className:"ajaxify-admin__notice-message"},o().createElement(o().Fragment,null,r," ",m," "))))};h.defaultProps={message:"",status:"info",politeness:"polite",icon:null,className:"",inline:!1,hasToTop:!1},h.propTypes={message:i().string.isRequired,status:i().oneOf(["info","warning","success","error"]),politeness:i().oneOf(["assertive","polite"]),icon:i().func,className:i().string,inline:i().bool,hasToTop:i().bool};const m=h},1924:(e,t,r)=>{"use strict";var n=r(210),o=r(5559),a=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&a(e,".prototype.")>-1?o(r):r}},5559:(e,t,r)=>{"use strict";var n=r(8612),o=r(210),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(i,a),l=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=s(n,i,arguments);return l&&u&&l(t,"length").configurable&&u(t,"length",{value:1+c(0,e.length-(arguments.length-1))}),t};var f=function(){return s(n,a,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},4184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},7648:e=>{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var o,a=t.call(arguments,1),i=Math.max(0,n.length-a.length),s=[],l=0;l<i;l++)s.push("$"+l);if(o=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var r=n.apply(this,a.concat(t.call(arguments)));return Object(r)===r?r:this}return n.apply(e,a.concat(t.call(arguments)))})),n.prototype){var u=function(){};u.prototype=n.prototype,o.prototype=new u,u.prototype=null}return o}},8612:(e,t,r)=>{"use strict";var n=r(7648);e.exports=Function.prototype.bind||n},210:(e,t,r)=>{"use strict";var n,o=SyntaxError,a=Function,i=TypeError,s=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var u=function(){throw new i},c=l?function(){try{return u}catch(e){try{return l(arguments,"callee").get}catch(e){return u}}}():u,f=r(1405)(),p=r(8185)(),d=Object.getPrototypeOf||(p?function(e){return e.__proto__}:null),y={},h="undefined"!=typeof Uint8Array&&d?d(Uint8Array):n,m={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f&&d?d([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&d?d(d([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f&&d?d((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f&&d?d((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&d?d(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":h,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(d)try{null.error}catch(e){var g=d(d(e));m["%Error.prototype%"]=g}var v=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&d&&(r=d(o.prototype))}return m[t]=r,r},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=r(8612),_=r(7642),S=w.call(Function.call,Array.prototype.concat),E=w.call(Function.apply,Array.prototype.splice),x=w.call(Function.call,String.prototype.replace),j=w.call(Function.call,String.prototype.slice),L=w.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,I=function(e,t){var r,n=e;if(_(b,n)&&(n="%"+(r=b[n])[0]+"%"),_(m,n)){var a=m[n];if(a===y&&(a=v(n)),void 0===a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=j(e,0,1),r=j(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return x(e,A,(function(e,t,r,o){n[n.length]=r?x(o,O,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",a=I("%"+n+"%",t),s=a.name,u=a.value,c=!1,f=a.alias;f&&(n=f[0],E(r,S([0,1],f)));for(var p=1,d=!0;p<r.length;p+=1){var y=r[p],h=j(y,0,1),g=j(y,-1);if(('"'===h||"'"===h||"`"===h||'"'===g||"'"===g||"`"===g)&&h!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==y&&d||(c=!0),_(m,s="%"+(n+="."+y)+"%"))u=m[s];else if(null!=u){if(!(y in u)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&p+1>=r.length){var v=l(u,y);u=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:u[y]}else d=_(u,y),u=u[y];d&&!c&&(m[s]=u)}}return u}},8185:e=>{"use strict";var t={foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof r)}},1405:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(5419);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},5419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},7642:(e,t,r)=>{"use strict";var n=r(8612);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},6806:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(9196),o=r(9586),a=r(1602);const i=(0,n.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:s="",children:l,iconNode:u,...c},f)=>(0,n.createElement)("svg",{ref:f,...o.Z,width:t,height:t,stroke:e,strokeWidth:i?24*Number(r)/Number(t):r,className:(0,a.z)("lucide",s),...c},[...u.map((([e,t])=>(0,n.createElement)(e,t))),...Array.isArray(l)?l:[l]])))},2919:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(9196),o=r(1602),a=r(6806);const i=(e,t)=>{const r=(0,n.forwardRef)((({className:r,...i},s)=>(0,n.createElement)(a.Z,{ref:s,iconNode:t,className:(0,o.z)(`lucide-${(0,o.m)(e)}`,r),...i})));return r.displayName=`${e}`,r}},9586:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}},3510:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=(0,r(2919).Z)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},1602:(e,t,r)=>{"use strict";r.d(t,{m:()=>n,z:()=>o});const n=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=(...e)=>e.filter(((e,t,r)=>Boolean(e)&&r.indexOf(e)===t)).join(" ")},705:e=>{e.exports=function e(t,r,n){function o(i,s){if(!r[i]){if(!t[i]){if(a)return a(i,!0);throw new Error("Cannot find module '"+i+"'")}var l=r[i]={exports:{}};t[i][0].call(l.exports,(function(e){return o(t[i][1][e]||e)}),l,l.exports,e,t,r,n)}return r[i].exports}for(var a=void 0,i=0;i<n.length;i++)o(n[i]);return o}({1:[function(e,t,r){(function(n,o,a,i,s,l,u,c,f){"use strict";var p=e("crypto");function d(e,t){return function(e,t){var r;if(void 0===(r="passthrough"!==t.algorithm?p.createHash(t.algorithm):new b).write&&(r.write=r.update,r.end=r.update),v(t,r).dispatch(e),r.update||r.end(""),r.digest)return r.digest("buffer"===t.encoding?void 0:t.encoding);var n=r.read();return"buffer"!==t.encoding?n.toString(t.encoding):n}(e,t=m(e,t))}(r=t.exports=d).sha1=function(e){return d(e)},r.keys=function(e){return d(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return d(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return d(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var y=p.getHashes?p.getHashes().slice():["sha1","md5"];y.push("passthrough");var h=["buffer","hex","binary","base64"];function m(e,t){t=t||{};var r={};if(r.algorithm=t.algorithm||"sha1",r.encoding=t.encoding||"hex",r.excludeValues=!!t.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===t.ignoreUnknown,r.respectType=!1!==t.respectType,r.respectFunctionNames=!1!==t.respectFunctionNames,r.respectFunctionProperties=!1!==t.respectFunctionProperties,r.unorderedArrays=!0===t.unorderedArrays,r.unorderedSets=!1!==t.unorderedSets,r.unorderedObjects=!1!==t.unorderedObjects,r.replacer=t.replacer||void 0,r.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var n=0;n<y.length;++n)y[n].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=y[n]);if(-1===y.indexOf(r.algorithm))throw new Error('Algorithm "'+r.algorithm+'"  not supported. supported values: '+y.join(", "));if(-1===h.indexOf(r.encoding)&&"passthrough"!==r.algorithm)throw new Error('Encoding "'+r.encoding+'"  not supported. supported values: '+h.join(", "));return r}function g(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function v(e,t,r){function n(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return r=r||[],{dispatch:function(t){return e.replacer&&(t=e.replacer(t)),this["_"+(null===t?"null":typeof t)](t)},_object:function(t){var o,i=Object.prototype.toString.call(t),s=/\[object (.*)\]/i.exec(i);if(s=(s=s?s[1]:"unknown:["+i+"]").toLowerCase(),0<=(o=r.indexOf(t)))return this.dispatch("[CIRCULAR:"+o+"]");if(r.push(t),void 0!==a&&a.isBuffer&&a.isBuffer(t))return n("buffer:"),n(t);if("object"===s||"function"===s||"asyncfunction"===s){var l=Object.keys(t);e.unorderedObjects&&(l=l.sort()),!1===e.respectType||g(t)||l.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(l=l.filter((function(t){return!e.excludeKeys(t)}))),n("object:"+l.length+":");var u=this;return l.forEach((function(r){u.dispatch(r),n(":"),e.excludeValues||u.dispatch(t[r]),n(",")}))}if(!this["_"+s]){if(e.ignoreUnknown)return n("["+s+"]");throw new Error('Unknown object type "'+s+'"')}this["_"+s](t)},_array:function(t,o){o=void 0!==o?o:!1!==e.unorderedArrays;var a=this;if(n("array:"+t.length+":"),!o||t.length<=1)return t.forEach((function(e){return a.dispatch(e)}));var i=[],s=t.map((function(t){var n=new b,o=r.slice();return v(e,n,o).dispatch(t),i=i.concat(o.slice(r.length)),n.read().toString()}));return r=r.concat(i),s.sort(),this._array(s,!1)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())},_string:function(e){n("string:"+e.length+":"),n(e.toString())},_function:function(t){n("fn:"),g(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return n("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return n("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return n("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString())},_map:function(t){n("map:");var r=Array.from(t);return this._array(r,!1!==e.unorderedSets)},_set:function(t){n("set:");var r=Array.from(t);return this._array(r,!1!==e.unorderedSets)},_file:function(e){return n("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(e){return n("bigint:"+e.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function b(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}r.writeToStream=function(e,t,r){return void 0===r&&(r=t,t={}),v(t=m(e,t),r).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_7eac155c.js","/")},{buffer:3,crypto:5,lYpoI2:10}],2:[function(e,t,r){(function(e,t,n,o,a,i,s,l,u){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array,r="+".charCodeAt(0),n="/".charCodeAt(0),o="0".charCodeAt(0),a="a".charCodeAt(0),i="A".charCodeAt(0),s="-".charCodeAt(0),l="_".charCodeAt(0);function u(e){var t=e.charCodeAt(0);return t===r||t===s?62:t===n||t===l?63:t<o?-1:t<o+10?t-o+26+26:t<i+26?t-i:t<a+26?t-a+26:void 0}e.toByteArray=function(e){var r,n;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var o=e.length,a="="===e.charAt(o-2)?2:"="===e.charAt(o-1)?1:0,i=new t(3*e.length/4-a),s=0<a?e.length-4:e.length,l=0;function c(e){i[l++]=e}for(r=0;r<s;r+=4,0)c((16711680&(n=u(e.charAt(r))<<18|u(e.charAt(r+1))<<12|u(e.charAt(r+2))<<6|u(e.charAt(r+3))))>>16),c((65280&n)>>8),c(255&n);return 2==a?c(255&(n=u(e.charAt(r))<<2|u(e.charAt(r+1))>>4)):1==a&&(c((n=u(e.charAt(r))<<10|u(e.charAt(r+1))<<4|u(e.charAt(r+2))>>2)>>8&255),c(255&n)),i},e.fromByteArray=function(e){var t,r,n,o,a=e.length%3,i="";function s(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,n=e.length-a;t<n;t+=3)i+=s((o=r=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+s(o>>12&63)+s(o>>6&63)+s(63&o);switch(a){case 1:i+=s((r=e[e.length-1])>>2),i+=s(r<<4&63),i+="==";break;case 2:i+=s((r=(e[e.length-2]<<8)+e[e.length-1])>>10),i+=s(r>>4&63),i+=s(r<<2&63),i+="="}return i}}(void 0===r?this.base64js={}:r)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:10}],3:[function(e,t,r){(function(t,n,o,a,i,s,l,u,c){var f=e("base64-js"),p=e("ieee754");function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);var n,a,i,s,l,u=typeof e;if("base64"===t&&"string"==u)for(e=(n=e).trim?n.trim():n.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==u)a=A(e);else if("string"==u)a=o.byteLength(e,t);else{if("object"!=u)throw new Error("First argument needs to be a number, array or string.");a=A(e.length)}if(o._useTypedArrays?i=o._augment(new Uint8Array(a)):((i=this).length=a,i._isBuffer=!0),o._useTypedArrays&&"number"==typeof e.byteLength)i._set(e);else if(O(l=e)||o.isBuffer(l)||l&&"object"==typeof l&&"number"==typeof l.length)for(s=0;s<a;s++)o.isBuffer(e)?i[s]=e.readUInt8(s):i[s]=e[s];else if("string"==u)i.write(e,0,t);else if("number"==u&&!o._useTypedArrays&&!r)for(s=0;s<a;s++)i[s]=0;return i}function d(e,t,r,n){n||(N("boolean"==typeof r,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+1<e.length,"Trying to read beyond buffer length"));var o,a=e.length;if(!(a<=t))return r?(o=e[t],t+1<a&&(o|=e[t+1]<<8)):(o=e[t]<<8,t+1<a&&(o|=e[t+1])),o}function y(e,t,r,n){n||(N("boolean"==typeof r,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+3<e.length,"Trying to read beyond buffer length"));var o,a=e.length;if(!(a<=t))return r?(t+2<a&&(o=e[t+2]<<16),t+1<a&&(o|=e[t+1]<<8),o|=e[t],t+3<a&&(o+=e[t+3]<<24>>>0)):(t+1<a&&(o=e[t+1]<<16),t+2<a&&(o|=e[t+2]<<8),t+3<a&&(o|=e[t+3]),o+=e[t]<<24>>>0),o}function h(e,t,r,n){if(n||(N("boolean"==typeof r,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t)){var o=d(e,t,r,!0);return 32768&o?-1*(65535-o+1):o}}function m(e,t,r,n){if(n||(N("boolean"==typeof r,"missing or invalid endian"),N(null!=t,"missing offset"),N(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t)){var o=y(e,t,r,!0);return 2147483648&o?-1*(4294967295-o+1):o}}function g(e,t,r,n){return n||(N("boolean"==typeof r,"missing or invalid endian"),N(t+3<e.length,"Trying to read beyond buffer length")),p.read(e,t,r,23,4)}function v(e,t,r,n){return n||(N("boolean"==typeof r,"missing or invalid endian"),N(t+7<e.length,"Trying to read beyond buffer length")),p.read(e,t,r,52,8)}function b(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+1<e.length,"trying to write beyond buffer length"),B(t,65535));var a=e.length;if(!(a<=r))for(var i=0,s=Math.min(a-r,2);i<s;i++)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function w(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+3<e.length,"trying to write beyond buffer length"),B(t,4294967295));var a=e.length;if(!(a<=r))for(var i=0,s=Math.min(a-r,4);i<s;i++)e[r+i]=t>>>8*(n?i:3-i)&255}function _(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+1<e.length,"Trying to write beyond buffer length"),T(t,32767,-32768)),e.length<=r||b(e,0<=t?t:65535+t+1,r,n,o)}function S(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+3<e.length,"Trying to write beyond buffer length"),T(t,2147483647,-2147483648)),e.length<=r||w(e,0<=t?t:4294967295+t+1,r,n,o)}function E(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+3<e.length,"Trying to write beyond buffer length"),F(t,34028234663852886e22,-34028234663852886e22)),e.length<=r||p.write(e,t,r,n,23,4)}function x(e,t,r,n,o){o||(N(null!=t,"missing value"),N("boolean"==typeof n,"missing or invalid endian"),N(null!=r,"missing offset"),N(r+7<e.length,"Trying to write beyond buffer length"),F(t,17976931348623157e292,-17976931348623157e292)),e.length<=r||p.write(e,t,r,n,52,8)}r.Buffer=o,r.SlowBuffer=o,r.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=k(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=P(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw new Error("Unknown encoding")}return r},o.concat=function(e,t){if(N(O(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new o(0);if(1===e.length)return e[0];if("number"!=typeof t)for(a=t=0;a<e.length;a++)t+=e[a].length;for(var r=new o(t),n=0,a=0;a<e.length;a++){var i=e[a];i.copy(r,n),n+=i.length}return r},o.prototype.write=function(e,t,r,n){var a;isFinite(t)?isFinite(r)||(n=r,r=void 0):(a=n,n=t,t=r,r=a),t=Number(t)||0;var i,s,l,u,c,f,p,d=this.length-t;switch((!r||d<(r=Number(r)))&&(r=d),n=String(n||"utf8").toLowerCase()){case"hex":i=function(e,t,r,n){r=Number(r)||0;var a=e.length-r;(!n||a<(n=Number(n)))&&(n=a);var i=t.length;N(i%2==0,"Invalid hex string"),i/2<n&&(n=i/2);for(var s=0;s<n;s++){var l=parseInt(t.substr(2*s,2),16);N(!isNaN(l),"Invalid hex string"),e[r+s]=l}return o._charsWritten=2*s,s}(this,e,t,r);break;case"utf8":case"utf-8":this,c=e,f=t,p=r,i=o._charsWritten=C(k(c),this,f,p);break;case"ascii":case"binary":i=function(e,t,r,n){return o._charsWritten=C(function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}(this,e,t,r);break;case"base64":this,s=e,l=t,u=r,i=o._charsWritten=C(P(s),this,l,u);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=function(e,t,r,n){return o._charsWritten=C(function(e){for(var t,r,n,o=[],a=0;a<e.length;a++)r=(t=e.charCodeAt(a))>>8,n=t%256,o.push(n),o.push(r);return o}(t),e,r,n)}(this,e,t,r);break;default:throw new Error("Unknown encoding")}return i},o.prototype.toString=function(e,t,r){var n,o,a,i,s=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(r=void 0!==r?Number(r):r=s.length)===t)return"";switch(e){case"hex":n=function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||n<r)&&(r=n);for(var o="",a=t;a<r;a++)o+=I(e[a]);return o}(s,t,r);break;case"utf8":case"utf-8":n=function(e,t,r){var n="",o="";r=Math.min(e.length,r);for(var a=t;a<r;a++)e[a]<=127?(n+=z(o)+String.fromCharCode(e[a]),o=""):o+="%"+e[a].toString(16);return n+z(o)}(s,t,r);break;case"ascii":case"binary":n=function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;o++)n+=String.fromCharCode(e[o]);return n}(s,t,r);break;case"base64":o=s,i=r,n=0===(a=t)&&i===o.length?f.fromByteArray(o):f.fromByteArray(o.slice(a,i));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(e,t,r){for(var n=e.slice(t,r),o="",a=0;a<n.length;a+=2)o+=String.fromCharCode(n[a]+256*n[a+1]);return o}(s,t,r);break;default:throw new Error("Unknown encoding")}return n},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(e,t,r,n){if(r=r||0,n||0===n||(n=this.length),t=t||0,n!==r&&0!==e.length&&0!==this.length){N(r<=n,"sourceEnd < sourceStart"),N(0<=t&&t<e.length,"targetStart out of bounds"),N(0<=r&&r<this.length,"sourceStart out of bounds"),N(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var a=n-r;if(a<100||!o._useTypedArrays)for(var i=0;i<a;i++)e[i+t]=this[i+r];else e._set(this.subarray(r,r+a),t)}},o.prototype.slice=function(e,t){var r=this.length;if(e=L(e,r,0),t=L(t,r,r),o._useTypedArrays)return o._augment(this.subarray(e,t));for(var n=t-e,a=new o(n,void 0,!0),i=0;i<n;i++)a[i]=this[i+e];return a},o.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},o.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},o.prototype.readUInt8=function(e,t){if(t||(N(null!=e,"missing offset"),N(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},o.prototype.readUInt16LE=function(e,t){return d(this,e,!0,t)},o.prototype.readUInt16BE=function(e,t){return d(this,e,!1,t)},o.prototype.readUInt32LE=function(e,t){return y(this,e,!0,t)},o.prototype.readUInt32BE=function(e,t){return y(this,e,!1,t)},o.prototype.readInt8=function(e,t){if(t||(N(null!=e,"missing offset"),N(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){return h(this,e,!0,t)},o.prototype.readInt16BE=function(e,t){return h(this,e,!1,t)},o.prototype.readInt32LE=function(e,t){return m(this,e,!0,t)},o.prototype.readInt32BE=function(e,t){return m(this,e,!1,t)},o.prototype.readFloatLE=function(e,t){return g(this,e,!0,t)},o.prototype.readFloatBE=function(e,t){return g(this,e,!1,t)},o.prototype.readDoubleLE=function(e,t){return v(this,e,!0,t)},o.prototype.readDoubleBE=function(e,t){return v(this,e,!1,t)},o.prototype.writeUInt8=function(e,t,r){r||(N(null!=e,"missing value"),N(null!=t,"missing offset"),N(t<this.length,"trying to write beyond buffer length"),B(e,255)),t>=this.length||(this[t]=e)},o.prototype.writeUInt16LE=function(e,t,r){b(this,e,t,!0,r)},o.prototype.writeUInt16BE=function(e,t,r){b(this,e,t,!1,r)},o.prototype.writeUInt32LE=function(e,t,r){w(this,e,t,!0,r)},o.prototype.writeUInt32BE=function(e,t,r){w(this,e,t,!1,r)},o.prototype.writeInt8=function(e,t,r){r||(N(null!=e,"missing value"),N(null!=t,"missing offset"),N(t<this.length,"Trying to write beyond buffer length"),T(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},o.prototype.writeInt16LE=function(e,t,r){_(this,e,t,!0,r)},o.prototype.writeInt16BE=function(e,t,r){_(this,e,t,!1,r)},o.prototype.writeInt32LE=function(e,t,r){S(this,e,t,!0,r)},o.prototype.writeInt32BE=function(e,t,r){S(this,e,t,!1,r)},o.prototype.writeFloatLE=function(e,t,r){E(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){E(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){x(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){x(this,e,t,!1,r)},o.prototype.fill=function(e,t,r){if(e=e||0,t=t||0,r=r||this.length,"string"==typeof e&&(e=e.charCodeAt(0)),N("number"==typeof e&&!isNaN(e),"value is not a number"),N(t<=r,"end < start"),r!==t&&0!==this.length){N(0<=t&&t<this.length,"start out of bounds"),N(0<=r&&r<=this.length,"end out of bounds");for(var n=t;n<r;n++)this[n]=e}},o.prototype.inspect=function(){for(var e=[],t=this.length,n=0;n<t;n++)if(e[n]=I(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(o._useTypedArrays)return new o(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;t<r;t+=1)e[t]=this[t];return e.buffer};var j=o.prototype;function L(e,t,r){return"number"!=typeof e?r:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function A(e){return(e=~~Math.ceil(+e))<0?0:e}function O(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function I(e){return e<16?"0"+e.toString(16):e.toString(16)}function k(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n<=127)t.push(e.charCodeAt(r));else{var o=r;55296<=n&&n<=57343&&r++;for(var a=encodeURIComponent(e.slice(o,r+1)).substr(1).split("%"),i=0;i<a.length;i++)t.push(parseInt(a[i],16))}}return t}function P(e){return f.toByteArray(e)}function C(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);o++)t[o+r]=e[o];return o}function z(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function B(e,t){N("number"==typeof e,"cannot write a non-number as a number"),N(0<=e,"specified a negative value for writing an unsigned value"),N(e<=t,"value is larger than maximum value for type"),N(Math.floor(e)===e,"value has a fractional component")}function T(e,t,r){N("number"==typeof e,"cannot write a non-number as a number"),N(e<=t,"value larger than maximum allowed value"),N(r<=e,"value smaller than minimum allowed value"),N(Math.floor(e)===e,"value has a fractional component")}function F(e,t,r){N("number"==typeof e,"cannot write a non-number as a number"),N(e<=t,"value larger than maximum allowed value"),N(r<=e,"value smaller than minimum allowed value")}function N(e,t){if(!e)throw new Error(t||"Failed assertion")}o._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=j.get,e.set=j.set,e.write=j.write,e.toString=j.toString,e.toLocaleString=j.toString,e.toJSON=j.toJSON,e.copy=j.copy,e.slice=j.slice,e.readUInt8=j.readUInt8,e.readUInt16LE=j.readUInt16LE,e.readUInt16BE=j.readUInt16BE,e.readUInt32LE=j.readUInt32LE,e.readUInt32BE=j.readUInt32BE,e.readInt8=j.readInt8,e.readInt16LE=j.readInt16LE,e.readInt16BE=j.readInt16BE,e.readInt32LE=j.readInt32LE,e.readInt32BE=j.readInt32BE,e.readFloatLE=j.readFloatLE,e.readFloatBE=j.readFloatBE,e.readDoubleLE=j.readDoubleLE,e.readDoubleBE=j.readDoubleBE,e.writeUInt8=j.writeUInt8,e.writeUInt16LE=j.writeUInt16LE,e.writeUInt16BE=j.writeUInt16BE,e.writeUInt32LE=j.writeUInt32LE,e.writeUInt32BE=j.writeUInt32BE,e.writeInt8=j.writeInt8,e.writeInt16LE=j.writeInt16LE,e.writeInt16BE=j.writeInt16BE,e.writeInt32LE=j.writeInt32LE,e.writeInt32BE=j.writeInt32BE,e.writeFloatLE=j.writeFloatLE,e.writeFloatBE=j.writeFloatBE,e.writeDoubleLE=j.writeDoubleLE,e.writeDoubleBE=j.writeDoubleBE,e.fill=j.fill,e.inspect=j.inspect,e.toArrayBuffer=j.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:11,lYpoI2:10}],4:[function(e,t,r){(function(r,n,o,a,i,s,l,u,c){o=e("buffer").Buffer;var f=new o(4);f.fill(0),t.exports={hash:function(e,t,r,n){return o.isBuffer(e)||(e=new o(e)),function(e,t,r){for(var n=new o(t),a=r?n.writeInt32BE:n.writeInt32LE,i=0;i<e.length;i++)a.call(n,e[i],4*i,!0);return n}(t(function(e,t){var r;e.length%4!=0&&(r=e.length+(4-e.length%4),e=o.concat([e,f],r));for(var n=[],a=t?e.readInt32BE:e.readInt32LE,i=0;i<e.length;i+=4)n.push(a.call(e,i));return n}(e,n),8*e.length),r,n)}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],5:[function(e,t,r){(function(t,n,o,a,i,s,l,u,c){o=e("buffer").Buffer;var f=e("./sha"),p=e("./sha256"),d=e("./rng"),y={sha1:f,sha256:p,md5:e("./md5")},h=64,m=new o(h);function g(e,t){var r=y[e=e||"sha1"],n=[];return r||v("algorithm:",e,"is not yet supported"),{update:function(e){return o.isBuffer(e)||(e=new o(e)),n.push(e),e.length,this},digest:function(e){var a=o.concat(n),i=t?function(e,t,r){o.isBuffer(t)||(t=new o(t)),o.isBuffer(r)||(r=new o(r)),t.length>h?t=e(t):t.length<h&&(t=o.concat([t,m],h));for(var n=new o(h),a=new o(h),i=0;i<h;i++)n[i]=54^t[i],a[i]=92^t[i];var s=e(o.concat([n,r]));return e(o.concat([a,s]))}(r,t,a):r(a);return n=null,e?i.toString(e):i}}}function v(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}m.fill(0),r.createHash=function(e){return g(e)},r.createHmac=g,r.randomBytes=function(e,t){if(!t||!t.call)return new o(d(e));try{t.call(this,void 0,new o(d(e)))}catch(e){t(e)}},function(e,t){for(var r in e)t(e[r])}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],(function(e){r[e]=function(){v("sorry,",e,"is not implemented yet")}}))}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:10}],6:[function(e,t,r){(function(r,n,o,a,i,s,l,u,c){var f=e("./helpers");function p(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,o=-1732584194,a=271733878,i=0;i<e.length;i+=16){var s=r,l=n,u=o,c=a;r=y(r,n,o,a,e[i+0],7,-680876936),a=y(a,r,n,o,e[i+1],12,-389564586),o=y(o,a,r,n,e[i+2],17,606105819),n=y(n,o,a,r,e[i+3],22,-1044525330),r=y(r,n,o,a,e[i+4],7,-176418897),a=y(a,r,n,o,e[i+5],12,1200080426),o=y(o,a,r,n,e[i+6],17,-1473231341),n=y(n,o,a,r,e[i+7],22,-45705983),r=y(r,n,o,a,e[i+8],7,1770035416),a=y(a,r,n,o,e[i+9],12,-1958414417),o=y(o,a,r,n,e[i+10],17,-42063),n=y(n,o,a,r,e[i+11],22,-1990404162),r=y(r,n,o,a,e[i+12],7,1804603682),a=y(a,r,n,o,e[i+13],12,-40341101),o=y(o,a,r,n,e[i+14],17,-1502002290),r=h(r,n=y(n,o,a,r,e[i+15],22,1236535329),o,a,e[i+1],5,-165796510),a=h(a,r,n,o,e[i+6],9,-1069501632),o=h(o,a,r,n,e[i+11],14,643717713),n=h(n,o,a,r,e[i+0],20,-373897302),r=h(r,n,o,a,e[i+5],5,-701558691),a=h(a,r,n,o,e[i+10],9,38016083),o=h(o,a,r,n,e[i+15],14,-660478335),n=h(n,o,a,r,e[i+4],20,-405537848),r=h(r,n,o,a,e[i+9],5,568446438),a=h(a,r,n,o,e[i+14],9,-1019803690),o=h(o,a,r,n,e[i+3],14,-187363961),n=h(n,o,a,r,e[i+8],20,1163531501),r=h(r,n,o,a,e[i+13],5,-1444681467),a=h(a,r,n,o,e[i+2],9,-51403784),o=h(o,a,r,n,e[i+7],14,1735328473),r=m(r,n=h(n,o,a,r,e[i+12],20,-1926607734),o,a,e[i+5],4,-378558),a=m(a,r,n,o,e[i+8],11,-2022574463),o=m(o,a,r,n,e[i+11],16,1839030562),n=m(n,o,a,r,e[i+14],23,-35309556),r=m(r,n,o,a,e[i+1],4,-1530992060),a=m(a,r,n,o,e[i+4],11,1272893353),o=m(o,a,r,n,e[i+7],16,-155497632),n=m(n,o,a,r,e[i+10],23,-1094730640),r=m(r,n,o,a,e[i+13],4,681279174),a=m(a,r,n,o,e[i+0],11,-358537222),o=m(o,a,r,n,e[i+3],16,-722521979),n=m(n,o,a,r,e[i+6],23,76029189),r=m(r,n,o,a,e[i+9],4,-640364487),a=m(a,r,n,o,e[i+12],11,-421815835),o=m(o,a,r,n,e[i+15],16,530742520),r=g(r,n=m(n,o,a,r,e[i+2],23,-995338651),o,a,e[i+0],6,-198630844),a=g(a,r,n,o,e[i+7],10,1126891415),o=g(o,a,r,n,e[i+14],15,-1416354905),n=g(n,o,a,r,e[i+5],21,-57434055),r=g(r,n,o,a,e[i+12],6,1700485571),a=g(a,r,n,o,e[i+3],10,-1894986606),o=g(o,a,r,n,e[i+10],15,-1051523),n=g(n,o,a,r,e[i+1],21,-2054922799),r=g(r,n,o,a,e[i+8],6,1873313359),a=g(a,r,n,o,e[i+15],10,-30611744),o=g(o,a,r,n,e[i+6],15,-1560198380),n=g(n,o,a,r,e[i+13],21,1309151649),r=g(r,n,o,a,e[i+4],6,-145523070),a=g(a,r,n,o,e[i+11],10,-1120210379),o=g(o,a,r,n,e[i+2],15,718787259),n=g(n,o,a,r,e[i+9],21,-343485551),r=v(r,s),n=v(n,l),o=v(o,u),a=v(a,c)}return Array(r,n,o,a)}function d(e,t,r,n,o,a){return v((i=v(v(t,e),v(n,a)))<<(s=o)|i>>>32-s,r);var i,s}function y(e,t,r,n,o,a,i){return d(t&r|~t&n,e,t,o,a,i)}function h(e,t,r,n,o,a,i){return d(t&n|r&~n,e,t,o,a,i)}function m(e,t,r,n,o,a,i){return d(t^r^n,e,t,o,a,i)}function g(e,t,r,n,o,a,i){return d(r^(t|~n),e,t,o,a,i)}function v(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}t.exports=function(e){return f.hash(e,p,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],7:[function(e,t,r){(function(e,r,n,o,a,i,s,l,u){var c;c=function(e){for(var t,r=new Array(e),n=0;n<e;n++)0==(3&n)&&(t=4294967296*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r},t.exports=c}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],8:[function(e,t,r){(function(r,n,o,a,i,s,l,u,c){var f=e("./helpers");function p(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var r,n,o,a,i,s=Array(80),l=1732584193,u=-271733879,c=-1732584194,f=271733878,p=-1009589776,h=0;h<e.length;h+=16){for(var m=l,g=u,v=c,b=f,w=p,_=0;_<80;_++){s[_]=_<16?e[h+_]:y(s[_-3]^s[_-8]^s[_-14]^s[_-16],1);var S=d(d(y(l,5),(o=u,a=c,i=f,(n=_)<20?o&a|~o&i:!(n<40)&&n<60?o&a|o&i|a&i:o^a^i)),d(d(p,s[_]),(r=_)<20?1518500249:r<40?1859775393:r<60?-1894007588:-899497514));p=f,f=c,c=y(u,30),u=l,l=S}l=d(l,m),u=d(u,g),c=d(c,v),f=d(f,b),p=d(p,w)}return Array(l,u,c,f,p)}function d(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function y(e,t){return e<<t|e>>>32-t}t.exports=function(e){return f.hash(e,p,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],9:[function(e,t,r){(function(r,n,o,a,i,s,l,u,c){function f(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function p(e,t){return e>>>t|e<<32-t}function d(e,t){var r,n,o,a,i,s,l,u,c,d,y=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),h=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),m=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var g,v,b,w,_,S,E,x,j=0;j<e.length;j+=16){r=h[0],n=h[1],o=h[2],a=h[3],i=h[4],s=h[5],l=h[6],u=h[7];for(var L=0;L<64;L++)m[L]=L<16?e[L+j]:f(f(f(p(x=m[L-2],17)^p(x,19)^x>>>10,m[L-7]),p(E=m[L-15],7)^p(E,18)^E>>>3),m[L-16]),c=f(f(f(f(u,p(S=i,6)^p(S,11)^p(S,25)),(_=i)&s^~_&l),y[L]),m[L]),d=f(p(w=r,2)^p(w,13)^p(w,22),(g=r)&(v=n)^g&(b=o)^v&b),u=l,l=s,s=i,i=f(a,c),a=o,o=n,n=r,r=f(c,d);h[0]=f(r,h[0]),h[1]=f(n,h[1]),h[2]=f(o,h[2]),h[3]=f(a,h[3]),h[4]=f(i,h[4]),h[5]=f(s,h[5]),h[6]=f(l,h[6]),h[7]=f(u,h[7])}return h}var y=e("./helpers");t.exports=function(e){return y.hash(e,d,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],10:[function(e,t,r){(function(e,r,n,o,a,i,s,l,u){function c(){}(e=t.exports={}).nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var r=[];return window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<r.length&&r.shift()())}),!0),function(e){r.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=c,e.addListener=c,e.once=c,e.off=c,e.removeListener=c,e.removeAllListeners=c,e.emit=c,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:10}],11:[function(e,t,r){(function(e,t,n,o,a,i,s,l,u){r.read=function(e,t,r,n,o){var a,i,s=8*o-n-1,l=(1<<s)-1,u=l>>1,c=-7,f=r?o-1:0,p=r?-1:1,d=e[t+f];for(f+=p,a=d&(1<<-c)-1,d>>=-c,c+=s;0<c;a=256*a+e[t+f],f+=p,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=n;0<c;i=256*i+e[t+f],f+=p,c-=8);if(0===a)a=1-u;else{if(a===l)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),a-=u}return(d?-1:1)*i*Math.pow(2,a-n)},r.write=function(e,t,r,n,o,a){var i,s,l,u=8*a-o-1,c=(1<<u)-1,f=c>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,y=n?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),2<=(t+=1<=i+f?p/l:p*Math.pow(2,1-f))*l&&(i++,l/=2),c<=i+f?(s=0,i=c):1<=i+f?(s=(t*l-1)*Math.pow(2,o),i+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),i=0));8<=o;e[r+d]=255&s,d+=y,s/=256,o-=8);for(i=i<<o|s,u+=o;0<u;e[r+d]=255&i,d+=y,i/=256,u-=8);e[r+d-y]|=128*h}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/ieee754/index.js","/node_modules/ieee754")},{buffer:3,lYpoI2:10}]},{},[1])(1)},631:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&o&&"function"==typeof o.get?o.get:null,i=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,h=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,S=RegExp.prototype.test,E=Array.prototype.concat,x=Array.prototype.join,j=Array.prototype.slice,L=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,P="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,C=Object.prototype.propertyIsEnumerable,z=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function B(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-L(-e):L(e);if(n!==e){var o=String(n),a=v.call(t,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var T=r(4654),F=T.custom,N=V(F)?F:null;function D(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function R(e){return b.call(String(e),/"/g,"&quot;")}function U(e){return!("[object Array]"!==W(e)||P&&"object"==typeof e&&P in e)}function M(e){return!("[object RegExp]"!==W(e)||P&&"object"==typeof e&&P in e)}function V(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,n,o){var s=r||{};if(q(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!q(s,"customInspect")||s.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return $(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return h?B(t,w):w}if("bigint"==typeof t){var S=String(t)+"n";return h?B(t,S):S}var L=void 0===s.depth?5:s.depth;if(void 0===n&&(n=0),n>=L&&L>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var O,F=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=x.call(Array(e.indent+1)," ")}return{base:r,prev:x.call(Array(t+1),r)}}(s,n);if(void 0===o)o=[];else if(G(o,t)>=0)return"[Circular]";function H(t,r,a){if(r&&(o=j.call(o)).push(r),a){var i={depth:s.depth};return q(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(t,i,n+1,o)}return e(t,s,n+1,o)}if("function"==typeof t&&!M(t)){var Y=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=X(t,H);return"[Function"+(Y?": "+Y:" (anonymous)")+"]"+(ee.length>0?" { "+x.call(ee,", ")+" }":"")}if(V(t)){var te=k?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(t);return"object"!=typeof t||k?te:Z(te)}if((O=t)&&"object"==typeof O&&("undefined"!=typeof HTMLElement&&O instanceof HTMLElement||"string"==typeof O.nodeName&&"function"==typeof O.getAttribute)){for(var re="<"+_.call(String(t.nodeName)),ne=t.attributes||[],oe=0;oe<ne.length;oe++)re+=" "+ne[oe].name+"="+D(R(ne[oe].value),"double",s);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+"</"+_.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var ae=X(t,H);return F&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(ae)?"["+K(ae,F)+"]":"[ "+x.call(ae,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||P&&"object"==typeof e&&P in e)}(t)){var ie=X(t,H);return"cause"in Error.prototype||!("cause"in t)||C.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(ie,", ")+" }":"{ ["+String(t)+"] "+x.call(E.call("[cause]: "+H(t.cause),ie),", ")+" }"}if("object"==typeof t&&l){if(N&&"function"==typeof t[N]&&T)return T(t,{depth:L-n});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return i&&i.call(t,(function(e,r){se.push(H(r,t,!0)+" => "+H(e,t))})),Q("Map",a.call(t),se,F)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return c&&c.call(t,(function(e){le.push(H(e,t))})),Q("Set",u.call(t),le,F)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return J("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return J("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return J("WeakRef");if(function(e){return!("[object Number]"!==W(e)||P&&"object"==typeof e&&P in e)}(t))return Z(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return Z(H(A.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||P&&"object"==typeof e&&P in e)}(t))return Z(y.call(t));if(function(e){return!("[object String]"!==W(e)||P&&"object"==typeof e&&P in e)}(t))return Z(H(String(t)));if(!function(e){return!("[object Date]"!==W(e)||P&&"object"==typeof e&&P in e)}(t)&&!M(t)){var ue=X(t,H),ce=z?z(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",pe=!ce&&P&&Object(t)===t&&P in t?v.call(W(t),8,-1):fe?"Object":"",de=(ce||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||fe?"["+x.call(E.call([],pe||[],fe||[]),": ")+"] ":"");return 0===ue.length?de+"{}":F?de+"{"+K(ue,F)+"}":de+"{ "+x.call(ue,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return H.call(e,t)}function W(e){return h.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function $(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return $(v.call(e,0,t.maxStringLength),t)+n}return D(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Y),"single",t)}function Y(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Z(e){return"Object("+e+")"}function J(e){return e+" { ? }"}function Q(e,t,r,n){return e+" ("+t+") {"+(n?K(r,n):x.call(r,", "))+"}"}function K(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+x.call(e,","+r)+"\n"+t.prev}function X(e,t){var r=U(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=q(e,o)?t(e[o],e):""}var a,i="function"==typeof O?O(e):[];if(k){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var l in e)q(e,l)&&(r&&String(Number(l))===l&&l<e.length||k&&a["$"+l]instanceof Symbol||(S.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"==typeof O)for(var u=0;u<i.length;u++)C.call(e,i[u])&&n.push("["+t(i[u])+"]: "+t(e[i[u]],e));return n}},2703:(e,t,r)=>{"use strict";var n=r(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={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:a,resetWarningCache:o};return r.PropTypes=r,r}},5697:(e,t,r)=>{e.exports=r(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5798:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},129:(e,t,r)=>{"use strict";var n=r(8261),o=r(5235),a=r(5798);e.exports={formats:a,parse:o,stringify:n}},5235:(e,t,r)=>{"use strict";var n=r(2769),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,r,n){if(e){var a=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,c=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var f=0;r.depth>0&&null!==(s=i.exec(a))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+a.slice(s.index)+"]"),function(e,t,r,n){for(var o=n?t:l(t,r),a=e.length-1;a>=0;--a){var i,s=e[a];if("[]"===s&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&s!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(i=[])[c]=o:"__proto__"!==u&&(i[u]=o):i={0:o}}o=i}return o}(c,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,u={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=c.split(t.delimiter,f),d=-1,y=t.charset;if(t.charsetSentinel)for(r=0;r<p.length;++r)0===p[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[r]?y="utf-8":"utf8=%26%2310003%3B"===p[r]&&(y="iso-8859-1"),d=r,r=p.length);for(r=0;r<p.length;++r)if(r!==d){var h,m,g=p[r],v=g.indexOf("]="),b=-1===v?g.indexOf("="):v+1;-1===b?(h=t.decoder(g,i.decoder,y,"key"),m=t.strictNullHandling?null:""):(h=t.decoder(g.slice(0,b),i.decoder,y,"key"),m=n.maybeMap(l(g.slice(b+1),t),(function(e){return t.decoder(e,i.decoder,y,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===y&&(m=s(m)),g.indexOf("[]=")>-1&&(m=a(m)?[m]:m),o.call(u,h)?u[h]=n.combine(u[h],m):u[h]=m}return u}(e,r):e,f=r.plainObjects?Object.create(null):{},p=Object.keys(c),d=0;d<p.length;++d){var y=p[d],h=u(y,c[y],r,"string"==typeof e);f=n.merge(f,h,r)}return!0===r.allowSparse?f:n.compact(f)}},8261:(e,t,r)=>{"use strict";var n=r(7478),o=r(2769),a=r(5798),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},f=Date.prototype.toISOString,p=a.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:a.formatters[p],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},y={},h=function e(t,r,a,i,s,u,f,p,h,m,g,v,b,w,_,S){for(var E,x=t,j=S,L=0,A=!1;void 0!==(j=j.get(y))&&!A;){var O=j.get(t);if(L+=1,void 0!==O){if(O===L)throw new RangeError("Cyclic object value");A=!0}void 0===j.get(y)&&(L=0)}if("function"==typeof p?x=p(r,x):x instanceof Date?x=g(x):"comma"===a&&l(x)&&(x=o.maybeMap(x,(function(e){return e instanceof Date?g(e):e}))),null===x){if(s)return f&&!w?f(r,d.encoder,_,"key",v):r;x=""}if("string"==typeof(E=x)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(x))return f?[b(w?r:f(r,d.encoder,_,"key",v))+"="+b(f(x,d.encoder,_,"value",v))]:[b(r)+"="+b(String(x))];var I,k=[];if(void 0===x)return k;if("comma"===a&&l(x))w&&f&&(x=o.maybeMap(x,f)),I=[{value:x.length>0?x.join(",")||null:void 0}];else if(l(p))I=p;else{var P=Object.keys(x);I=h?P.sort(h):P}for(var C=i&&l(x)&&1===x.length?r+"[]":r,z=0;z<I.length;++z){var B=I[z],T="object"==typeof B&&void 0!==B.value?B.value:x[B];if(!u||null!==T){var F=l(x)?"function"==typeof a?a(C,B):C:C+(m?"."+B:"["+B+"]");S.set(t,L);var N=n();N.set(y,S),c(k,e(T,F,a,i,s,u,"comma"===a&&w&&l(x)?null:f,p,h,m,g,v,b,w,_,N))}}return k};e.exports=function(e,t){var r,o=e,u=function(e){if(!e)return d;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=a.default;if(void 0!==e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=a.formatters[r],o=d.filter;return("function"==typeof e.filter||l(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof u.filter?o=(0,u.filter)("",o):l(u.filter)&&(r=u.filter);var f,p=[];if("object"!=typeof o||null===o)return"";f=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var y=s[f];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var m="comma"===y&&t&&t.commaRoundTrip;r||(r=Object.keys(o)),u.sort&&r.sort(u.sort);for(var g=n(),v=0;v<r.length;++v){var b=r[v];u.skipNulls&&null===o[b]||c(p,h(o[b],b,y,m,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,g))}var w=p.join(u.delimiter),_=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),w.length>0?_+w:""}},2769:(e,t,r)=>{"use strict";var n=r(5798),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],s=Object.keys(i),l=0;l<s.length;++l){var u=s[l],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:i,prop:u}),r.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,a){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",u=0;u<s.length;++u){var c=s.charCodeAt(u);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===n.RFC1738&&(40===c||41===c)?l+=s.charAt(u):c<128?l+=i[c]:c<2048?l+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?l+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(u+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(u)),l+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(a(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var i=t;return a(t)&&!a(r)&&(i=s(t,n)),a(t)&&a(r)?(r.forEach((function(r,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&r&&"object"==typeof r?t[a]=e(i,r,n):t.push(r)}else t[a]=r})),t):Object.keys(r).reduce((function(t,a){var i=r[a];return o.call(t,a)?t[a]=e(t[a],i,n):t[a]=i,t}),i)}}},745:(e,t,r)=>{"use strict";var n=r(1850);t.s=n.createRoot,n.hydrateRoot},8498:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&o(t,e,r);return a(t,e),t},s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};Object.defineProperty(t,"__esModule",{value:!0});var l=i(r(9196)),u=r(6657),c=(0,r(10).createAnimation)("BeatLoader","50% {transform: scale(0.75);opacity: 0.2} 100% {transform: scale(1);opacity: 1}","beat");t.default=function(e){var t=e.loading,r=void 0===t||t,o=e.color,a=void 0===o?"#000000":o,i=e.speedMultiplier,f=void 0===i?1:i,p=e.cssOverride,d=void 0===p?{}:p,y=e.size,h=void 0===y?15:y,m=e.margin,g=void 0===m?2:m,v=s(e,["loading","color","speedMultiplier","cssOverride","size","margin"]),b=n({display:"inherit"},d),w=function(e){return{display:"inline-block",backgroundColor:a,width:(0,u.cssValue)(h),height:(0,u.cssValue)(h),margin:(0,u.cssValue)(g),borderRadius:"100%",animation:"".concat(c," ").concat(.7/f,"s ").concat(e%2?"0s":"".concat(.35/f,"s")," infinite linear"),animationFillMode:"both"}};return r?l.createElement("span",n({style:b},v),l.createElement("span",{style:w(1)}),l.createElement("span",{style:w(2)}),l.createElement("span",{style:w(3)})):null}},10:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAnimation=void 0,t.createAnimation=function(e,t,r){var n="react-spinners-".concat(e,"-").concat(r);if("undefined"==typeof window||!window.document)return n;var o=document.createElement("style");document.head.appendChild(o);var a=o.sheet,i="\n    @keyframes ".concat(n," {\n      ").concat(t,"\n    }\n  ");return a&&a.insertRule(i,0),n}},6657:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssValue=t.parseLengthAndUnit=void 0;var r={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function n(e){if("number"==typeof e)return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();t=n.includes(".")?parseFloat(n):parseInt(n,10);var o=(e.match(/[^0-9]*$/)||"").toString();return r[o]?{value:t,unit:o}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}t.parseLengthAndUnit=n,t.cssValue=function(e){var t=n(e);return"".concat(t.value).concat(t.unit)}},7478:(e,t,r)=>{"use strict";var n=r(210),o=r(1924),a=r(631),i=n("%TypeError%"),s=n("%WeakMap%",!0),l=n("%Map%",!0),u=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),y=o("Map.prototype.has",!0),h=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new i("Side channel does not contain "+a(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(l){if(t)return p(t,n)}else if(r)return function(e,t){var r=h(e,t);return r&&r.value}(r,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(l){if(t)return y(t,n)}else if(r)return function(e,t){return!!h(e,t)}(r,n);return!1},set:function(n,o){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),c(e,n,o)):l?(t||(t=new l),d(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=h(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},7814:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=a(r(9196)),l=i(r(7969));t.default=({children:e,fallback:t,errorMessage:r,errorComponent:n})=>{const o=n||l.default;return s.createElement(o,{errorMessage:r},s.createElement(s.Suspense,{fallback:t},e))}},7969:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const i=a(r(9196));class s extends i.Component{static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps({errorMessage:e},t){return t.error?{errorMessage:"function"==typeof e?e(t.error):e||t.error.message}:t}constructor(e){super(e),this.state={}}render(){return this.state.errorMessage?this.state.errorMessage:this.props.children}}t.default=s},3481:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.resourceCache=void 0;const o=n(r(705)),a=new Map;t.resourceCache=function(e){a.has(e)||a.set(e,new Map);const t=a.get(e);return{get:(...e)=>t.get((0,o.default)(e)),set:(e,...r)=>t.set((0,o.default)(r),e),delete:(...e)=>t.delete((0,o.default)(e)),clear:()=>(a.delete(e),t.clear())}}},3890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initializeDataReader=void 0;const n=r(3481);t.initializeDataReader=function(e,...t){const r=(0,n.resourceCache)(e),o=r.get(...t);if(o)return o;let a,i,s="init";const l=e(...t).then((e=>(a=e,s="done",e))).catch((e=>{i=e,s="error"}));function u(e){if("init"===s)throw l;if("error"===s)throw i;return"function"==typeof e?e(a):a}return r.set(u,...t),u}},6957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.script=t.image=void 0,t.image=function(e){return new Promise(((t,r)=>{const n=new Image;n.onload=()=>{t(e)},n.onerror=r,n.src=e}))},t.script=function(e){return new Promise(((t,r)=>{const n=document.createElement("script");n.onload=()=>{t(e)},n.onerror=r,n.src=e,document.getElementsByTagName("body")[0].appendChild(n)}))}},5302:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncResourceContent=t.resourceCache=t.fileResource=t.preloadResource=t.useAsyncResource=void 0,a(r(9180),t);const l=r(3256);Object.defineProperty(t,"useAsyncResource",{enumerable:!0,get:function(){return l.useAsyncResource}});const u=i(r(6957));t.fileResource=u;const c=r(3481);Object.defineProperty(t,"resourceCache",{enumerable:!0,get:function(){return c.resourceCache}});const f=r(3890);Object.defineProperty(t,"preloadResource",{enumerable:!0,get:function(){return f.initializeDataReader}});const p=s(r(7814));t.AsyncResourceContent=p.default},9180:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAsyncResource=void 0;const n=r(9196),o=r(3890);t.useAsyncResource=function(e,...t){const r=(0,n.useRef)((()=>{}));(0,n.useMemo)((()=>{t.length&&(!e.length&&1===t.length&&Array.isArray(t[0])&&0===t[0].length?r.current=(0,o.initializeDataReader)(e):r.current=(0,o.initializeDataReader)(e,...t))}),[e,...t]);const[,a]=(0,n.useState)(0),i=(0,n.useCallback)(((...t)=>{r.current=(0,o.initializeDataReader)(e,...t),a((e=>1-e))}),[e]);return[r.current,i]}},9196:e=>{"use strict";e.exports=window.React},1850:e=>{"use strict";e.exports=window.ReactDOM},5158:e=>{"use strict";e.exports=window.wp.a11y},5609:e=>{"use strict";e.exports=window.wp.components},5736:e=>{"use strict";e.exports=window.wp.i18n},4654:()=>{},7536:(e,t,r)=>{"use strict";r.d(t,{Qr:()=>F,cI:()=>xe,cl:()=>I,qo:()=>C});var n=r(9196),o=e=>"checkbox"===e.type,a=e=>e instanceof Date,i=e=>null==e;const s=e=>"object"==typeof e;var l=e=>!i(e)&&!Array.isArray(e)&&s(e)&&!a(e),u=e=>l(e)&&e.target?o(e.target)?e.target.checked:e.target.value:e,c=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),f=e=>{const t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},p="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function d(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(p&&(e instanceof Blob||e instanceof FileList)||!r&&!l(e))return e;if(t=r?[]:{},r||f(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=d(e[r]));else t=e}return t}var y=e=>Array.isArray(e)?e.filter(Boolean):[],h=e=>void 0===e,m=(e,t,r)=>{if(!t||!l(e))return r;const n=y(t.split(/[,[\].]+?/)).reduce(((e,t)=>i(e)?e:e[t]),e);return h(n)||n===e?h(e[t])?r:e[t]:n};const g={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},v={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},b="pattern",w="required",_=n.createContext(null),S=()=>n.useContext(_);var E=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(o,a,{get:()=>{const o=a;return t._proxyFormState[o]!==v.all&&(t._proxyFormState[o]=!n||v.all),r&&(r[o]=!0),e[o]}});return o},x=e=>l(e)&&!Object.keys(e).length,j=(e,t,r,n)=>{r(e);const{name:o,...a}=e;return x(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find((e=>t[e]===(!n||v.all)))},L=e=>Array.isArray(e)?e:[e],A=(e,t,r)=>r&&t?e===t:!e||!t||e===t||L(e).some((e=>e&&(e.startsWith(t)||t.startsWith(e))));function O(e){const t=n.useRef(e);t.current=e,n.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}function I(e){const t=S(),{control:r=t.control,disabled:o,name:a,exact:i}=e||{},[s,l]=n.useState(r._formState),u=n.useRef(!0),c=n.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),f=n.useRef(a);return f.current=a,O({disabled:o,next:e=>u.current&&A(f.current,e.name,i)&&j(e,c.current,r._updateFormState)&&l({...r._formState,...e}),subject:r._subjects.state}),n.useEffect((()=>(u.current=!0,c.current.isValid&&r._updateValid(!0),()=>{u.current=!1})),[r]),E(s,r,c.current,!1)}var k=e=>"string"==typeof e,P=(e,t,r,n,o)=>k(e)?(n&&t.watch.add(e),m(r,e,o)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),m(r,e)))):(n&&(t.watchAll=!0),r);function C(e){const t=S(),{control:r=t.control,name:o,defaultValue:a,disabled:i,exact:s}=e||{},l=n.useRef(o);l.current=o,O({disabled:i,subject:r._subjects.values,next:e=>{A(l.current,e.name,s)&&c(d(P(l.current,r._names,e.values||r._formValues,!1,a)))}});const[u,c]=n.useState(r._getWatch(o,a));return n.useEffect((()=>r._removeUnmounted())),u}var z=e=>/^\w*$/.test(e),B=e=>y(e.replace(/["|']|\]/g,"").split(/\.|\[/));function T(e,t,r){let n=-1;const o=z(t)?[t]:B(t),a=o.length,i=a-1;for(;++n<a;){const t=o[n];let a=r;if(n!==i){const r=e[t];a=l(r)||Array.isArray(r)?r:isNaN(+o[n+1])?{}:[]}e[t]=a,e=e[t]}return e}const F=e=>e.render(function(e){const t=S(),{name:r,control:o=t.control,shouldUnregister:a}=e,i=c(o._names.array,r),s=C({control:o,name:r,defaultValue:m(o._formValues,r,m(o._defaultValues,r,e.defaultValue)),exact:!0}),l=I({control:o,name:r}),f=n.useRef(o.register(r,{...e.rules,value:s}));return f.current=o.register(r,e.rules),n.useEffect((()=>{const e=o._options.shouldUnregister||a,t=(e,t)=>{const r=m(o._fields,e);r&&(r._f.mount=t)};if(t(r,!0),e){const e=d(m(o._options.defaultValues,r));T(o._defaultValues,r,e),h(m(o._formValues,r))&&T(o._formValues,r,e)}return()=>{(i?e&&!o._state.action:e)?o.unregister(r):t(r,!1)}}),[r,o,i,a]),{field:{name:r,value:s,onChange:n.useCallback((e=>f.current.onChange({target:{value:u(e),name:r},type:g.CHANGE})),[r]),onBlur:n.useCallback((()=>f.current.onBlur({target:{value:m(o._formValues,r),name:r},type:g.BLUR})),[r,o]),ref:e=>{const t=m(o._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!m(l.errors,r)},isDirty:{enumerable:!0,get:()=>!!m(l.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!m(l.touchedFields,r)},error:{enumerable:!0,get:()=>m(l.errors,r)}})}}(e));var N=(e,t,r,n,o)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:o||!0}}:{};const D=(e,t,r)=>{for(const n of r||Object.keys(e)){const r=m(e,n);if(r){const{_f:e,...n}=r;if(e&&t(e.name)){if(e.ref.focus){e.ref.focus();break}if(e.refs&&e.refs[0].focus){e.refs[0].focus();break}}else l(n)&&D(n,t)}}};var R=e=>({isOnSubmit:!e||e===v.onSubmit,isOnBlur:e===v.onBlur,isOnChange:e===v.onChange,isOnAll:e===v.all,isOnTouch:e===v.onTouched}),U=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))))),M=(e,t,r)=>{const n=y(m(e,r));return T(n,"root",t[r]),T(e,r,n),e},V=e=>"boolean"==typeof e,H=e=>"file"===e.type,q=e=>"function"==typeof e,W=e=>{if(!p)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},G=e=>k(e),$=e=>"radio"===e.type,Y=e=>e instanceof RegExp;const Z={value:!1,isValid:!1},J={value:!0,isValid:!0};var Q=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!h(e[0].attributes.value)?h(e[0].value)||""===e[0].value?J:{value:e[0].value,isValid:!0}:J:Z}return Z};const K={isValid:!1,value:null};var X=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),K):K;function ee(e,t,r="validate"){if(G(e)||Array.isArray(e)&&e.every(G)||V(e)&&!e)return{type:r,message:G(e)?e:"",ref:t}}var te=e=>l(e)&&!Y(e)?e:{value:e,message:""},re=async(e,t,r,n,a)=>{const{ref:s,refs:u,required:c,maxLength:f,minLength:p,min:d,max:y,pattern:g,validate:v,name:_,valueAsNumber:S,mount:E,disabled:j}=e._f,L=m(t,_);if(!E||j)return{};const A=u?u[0]:s,O=e=>{n&&A.reportValidity&&(A.setCustomValidity(V(e)?"":e||""),A.reportValidity())},I={},P=$(s),C=o(s),z=P||C,B=(S||H(s))&&h(s.value)&&h(L)||W(s)&&""===s.value||""===L||Array.isArray(L)&&!L.length,T=N.bind(null,_,r,I),F=(e,t,r,n="maxLength",o="minLength")=>{const a=e?t:r;I[_]={type:e?n:o,message:a,ref:s,...T(e?n:o,a)}};if(a?!Array.isArray(L)||!L.length:c&&(!z&&(B||i(L))||V(L)&&!L||C&&!Q(u).isValid||P&&!X(u).isValid)){const{value:e,message:t}=G(c)?{value:!!c,message:c}:te(c);if(e&&(I[_]={type:w,message:t,ref:A,...T(w,t)},!r))return O(t),I}if(!(B||i(d)&&i(y))){let e,t;const n=te(y),o=te(d);if(i(L)||isNaN(L)){const r=s.valueAsDate||new Date(L),a=e=>new Date((new Date).toDateString()+" "+e),i="time"==s.type,l="week"==s.type;k(n.value)&&L&&(e=i?a(L)>a(n.value):l?L>n.value:r>new Date(n.value)),k(o.value)&&L&&(t=i?a(L)<a(o.value):l?L<o.value:r<new Date(o.value))}else{const r=s.valueAsNumber||(L?+L:L);i(n.value)||(e=r>n.value),i(o.value)||(t=r<o.value)}if((e||t)&&(F(!!e,n.message,o.message,"max","min"),!r))return O(I[_].message),I}if((f||p)&&!B&&(k(L)||a&&Array.isArray(L))){const e=te(f),t=te(p),n=!i(e.value)&&L.length>+e.value,o=!i(t.value)&&L.length<+t.value;if((n||o)&&(F(n,e.message,t.message),!r))return O(I[_].message),I}if(g&&!B&&k(L)){const{value:e,message:t}=te(g);if(Y(e)&&!L.match(e)&&(I[_]={type:b,message:t,ref:s,...T(b,t)},!r))return O(t),I}if(v)if(q(v)){const e=ee(await v(L,t),A);if(e&&(I[_]={...e,...T("validate",e.message)},!r))return O(e.message),I}else if(l(v)){let e={};for(const n in v){if(!x(e)&&!r)break;const o=ee(await v[n](L,t),A,n);o&&(e={...o,...T(n,o.message)},O(o.message),r&&(I[_]=e))}if(!x(e)&&(I[_]={ref:A,...e},!r))return I}return O(!0),I};function ne(e,t){const r=Array.isArray(t)?t:z(t)?[t]:B(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=h(e)?n++:e[t[n++]];return e}(e,r),o=r.length-1,a=r[o];return n&&delete n[a],0!==o&&(l(n)&&x(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!h(e[t]))return!1;return!0}(n))&&ne(e,r.slice(0,-1)),e}function oe(){let e=[];return{get observers(){return e},next:t=>{for(const r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}}var ae=e=>i(e)||!s(e);function ie(e,t){if(ae(e)||ae(t))return e===t;if(a(e)&&a(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const o of r){const r=e[o];if(!n.includes(o))return!1;if("ref"!==o){const e=t[o];if(a(r)&&a(e)||l(r)&&l(e)||Array.isArray(r)&&Array.isArray(e)?!ie(r,e):r!==e)return!1}}return!0}var se=e=>"select-multiple"===e.type,le=e=>$(e)||o(e),ue=e=>W(e)&&e.isConnected,ce=e=>{for(const t in e)if(q(e[t]))return!0;return!1};function fe(e,t={}){const r=Array.isArray(e);if(l(e)||r)for(const r in e)Array.isArray(e[r])||l(e[r])&&!ce(e[r])?(t[r]=Array.isArray(e[r])?[]:{},fe(e[r],t[r])):i(e[r])||(t[r]=!0);return t}function pe(e,t,r){const n=Array.isArray(e);if(l(e)||n)for(const n in e)Array.isArray(e[n])||l(e[n])&&!ce(e[n])?h(t)||ae(r[n])?r[n]=Array.isArray(e[n])?fe(e[n],[]):{...fe(e[n])}:pe(e[n],i(t)?{}:t[n],r[n]):r[n]=!ie(e[n],t[n]);return r}var de=(e,t)=>pe(e,t,fe(t)),ye=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>h(e)?e:t?""===e?NaN:e?+e:e:r&&k(e)?new Date(e):n?n(e):e;function he(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return H(t)?t.files:$(t)?X(e.refs).value:se(t)?[...t.selectedOptions].map((({value:e})=>e)):o(t)?Q(e.refs).value:ye(h(t.value)?e.ref.value:t.value,e)}var me=(e,t,r,n)=>{const o={};for(const r of e){const e=m(t,r);e&&T(o,r,e._f)}return{criteriaMode:r,names:[...e],fields:o,shouldUseNativeValidation:n}},ge=e=>h(e)?e:Y(e)?e.source:l(e)?Y(e.value)?e.value.source:e.value:e,ve=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function be(e,t,r){const n=m(e,r);if(n||z(r))return{error:n,name:r};const o=r.split(".");for(;o.length;){const n=o.join("."),a=m(t,n),i=m(e,n);if(a&&!Array.isArray(a)&&r!==n)return{name:r};if(i&&i.type)return{name:n,error:i};o.pop()}return{name:r}}var we=(e,t,r,n,o)=>!o.isOnAll&&(!r&&o.isOnTouch?!(t||e):(r?n.isOnBlur:o.isOnBlur)?!e:!(r?n.isOnChange:o.isOnChange)||e),_e=(e,t)=>!y(m(e,t)).length&&ne(e,t);const Se={mode:v.onSubmit,reValidateMode:v.onChange,shouldFocusError:!0};function Ee(e={},t){let r,n={...Se,...e},s={submitCount:0,isDirty:!1,isLoading:q(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},f={},b=(l(n.defaultValues)||l(n.values))&&d(n.defaultValues||n.values)||{},w=n.shouldUnregister?{}:d(b),_={action:!1,mount:!1,watch:!1},S={mount:new Set,unMount:new Set,array:new Set,watch:new Set},E=0;const j={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},A={values:oe(),array:oe(),state:oe()},O=e.resetOptions&&e.resetOptions.keepDirtyValues,I=R(n.mode),C=R(n.reValidateMode),z=n.criteriaMode===v.all,B=async e=>{if(j.isValid||e){const e=n.resolver?x((await $()).errors):await Y(f,!0);e!==s.isValid&&A.state.next({isValid:e})}},F=e=>j.isValidating&&A.state.next({isValidating:e}),N=(e,t,r,n)=>{const o=m(f,e);if(o){const a=m(w,e,h(r)?m(b,e):r);h(a)||n&&n.defaultChecked||t?T(w,e,t?a:he(o._f)):Q(e,a),_.mount&&B()}},G=(e,t,r,n,o)=>{let a=!1,i=!1;const l={name:e};if(!r||n){j.isDirty&&(i=s.isDirty,s.isDirty=l.isDirty=Z(),a=i!==l.isDirty);const r=ie(m(b,e),t);i=m(s.dirtyFields,e),r?ne(s.dirtyFields,e):T(s.dirtyFields,e,!0),l.dirtyFields=s.dirtyFields,a=a||j.dirtyFields&&i!==!r}if(r){const t=m(s.touchedFields,e);t||(T(s.touchedFields,e,r),l.touchedFields=s.touchedFields,a=a||j.touchedFields&&t!==r)}return a&&o&&A.state.next(l),a?l:{}},$=async e=>n.resolver(w,n.context,me(e||S.mount,f,n.criteriaMode,n.shouldUseNativeValidation)),Y=async(e,t,r={valid:!0})=>{for(const o in e){const a=e[o];if(a){const{_f:e,...o}=a;if(e){const o=S.array.has(e.name),i=await re(a,w,z,n.shouldUseNativeValidation&&!t,o);if(i[e.name]&&(r.valid=!1,t))break;!t&&(m(i,e.name)?o?M(s.errors,i,e.name):T(s.errors,e.name,i[e.name]):ne(s.errors,e.name))}o&&await Y(o,t,r)}}return r.valid},Z=(e,t)=>(e&&t&&T(w,e,t),!ie(ce(),b)),J=(e,t,r)=>P(e,S,{..._.mount?w:h(t)?b:k(e)?{[e]:t}:t},r,t),Q=(e,t,r={})=>{const n=m(f,e);let a=t;if(n){const r=n._f;r&&(!r.disabled&&T(w,e,ye(t,r)),a=W(r.ref)&&i(t)?"":t,se(r.ref)?[...r.ref.options].forEach((e=>e.selected=a.includes(e.value))):r.refs?o(r.ref)?r.refs.length>1?r.refs.forEach((e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(a)?!!a.find((t=>t===e.value)):a===e.value))):r.refs[0]&&(r.refs[0].checked=!!a):r.refs.forEach((e=>e.checked=e.value===a)):H(r.ref)?r.ref.value="":(r.ref.value=a,r.ref.type||A.values.next({name:e,values:{...w}})))}(r.shouldDirty||r.shouldTouch)&&G(e,a,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&te(e)},K=(e,t,r)=>{for(const n in t){const o=t[n],i=`${e}.${n}`,s=m(f,i);!S.array.has(e)&&ae(o)&&(!s||s._f)||a(o)?Q(i,o,r):K(i,o,r)}},X=(e,r,n={})=>{const o=m(f,e),a=S.array.has(e),l=d(r);T(w,e,l),a?(A.array.next({name:e,values:{...w}}),(j.isDirty||j.dirtyFields)&&n.shouldDirty&&A.state.next({name:e,dirtyFields:de(b,w),isDirty:Z(e,l)})):!o||o._f||i(l)?Q(e,l,n):K(e,l,n),U(e,S)&&A.state.next({...s}),A.values.next({name:e,values:{...w}}),!_.mount&&t()},ee=async t=>{const o=t.target;let a=o.name,i=!0;const l=m(f,a);if(l){let c,p;const d=o.type?he(l._f):u(t),y=t.type===g.BLUR||t.type===g.FOCUS_OUT,h=!ve(l._f)&&!n.resolver&&!m(s.errors,a)&&!l._f.deps||we(y,m(s.touchedFields,a),s.isSubmitted,C,I),v=U(a,S,y);T(w,a,d),y?(l._f.onBlur&&l._f.onBlur(t),r&&r(0)):l._f.onChange&&l._f.onChange(t);const b=G(a,d,y,!1),_=!x(b)||v;if(!y&&A.values.next({name:a,type:t.type,values:{...w}}),h)return j.isValid&&B(),_&&A.state.next({name:a,...v?{}:b});if(!y&&v&&A.state.next({...s}),F(!0),n.resolver){const{errors:e}=await $([a]),t=be(s.errors,f,a),r=be(e,f,t.name||a);c=r.error,a=r.name,p=x(e)}else c=(await re(l,w,z,n.shouldUseNativeValidation))[a],i=isNaN(d)||d===m(w,a,d),i&&(c?p=!1:j.isValid&&(p=await Y(f,!0)));i&&(l._f.deps&&te(l._f.deps),((t,n,o,a)=>{const i=m(s.errors,t),l=j.isValid&&V(n)&&s.isValid!==n;var u;if(e.delayError&&o?(u=()=>((e,t)=>{T(s.errors,e,t),A.state.next({errors:s.errors})})(t,o),r=e=>{clearTimeout(E),E=setTimeout(u,e)},r(e.delayError)):(clearTimeout(E),r=null,o?T(s.errors,t,o):ne(s.errors,t)),(o?!ie(i,o):i)||!x(a)||l){const e={...a,...l&&V(n)?{isValid:n}:{},errors:s.errors,name:t};s={...s,...e},A.state.next(e)}F(!1)})(a,p,c,b))}},te=async(e,t={})=>{let r,o;const a=L(e);if(F(!0),n.resolver){const t=await(async e=>{const{errors:t}=await $();if(e)for(const r of e){const e=m(t,r);e?T(s.errors,r,e):ne(s.errors,r)}else s.errors=t;return t})(h(e)?e:a);r=x(t),o=e?!a.some((e=>m(t,e))):r}else e?(o=(await Promise.all(a.map((async e=>{const t=m(f,e);return await Y(t&&t._f?{[e]:t}:t)})))).every(Boolean),(o||s.isValid)&&B()):o=r=await Y(f);return A.state.next({...!k(e)||j.isValid&&r!==s.isValid?{}:{name:e},...n.resolver||!e?{isValid:r}:{},errors:s.errors,isValidating:!1}),t.shouldFocus&&!o&&D(f,(e=>e&&m(s.errors,e)),e?a:S.mount),o},ce=e=>{const t={...b,..._.mount?w:{}};return h(e)?t:k(e)?m(t,e):e.map((e=>m(t,e)))},fe=(e,t)=>({invalid:!!m((t||s).errors,e),isDirty:!!m((t||s).dirtyFields,e),isTouched:!!m((t||s).touchedFields,e),error:m((t||s).errors,e)}),pe=(e,t,r)=>{const n=(m(f,e,{_f:{}})._f||{}).ref;T(s.errors,e,{...t,ref:n}),A.state.next({name:e,errors:s.errors,isValid:!1}),r&&r.shouldFocus&&n&&n.focus&&n.focus()},Ee=(e,t={})=>{for(const r of e?L(e):S.mount)S.mount.delete(r),S.array.delete(r),t.keepValue||(ne(f,r),ne(w,r)),!t.keepError&&ne(s.errors,r),!t.keepDirty&&ne(s.dirtyFields,r),!t.keepTouched&&ne(s.touchedFields,r),!n.shouldUnregister&&!t.keepDefaultValue&&ne(b,r);A.values.next({values:{...w}}),A.state.next({...s,...t.keepDirty?{isDirty:Z()}:{}}),!t.keepIsValid&&B()},xe=(e,t={})=>{let r=m(f,e);const o=V(t.disabled);return T(f,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),S.mount.add(e),r?o&&T(w,e,t.disabled?void 0:m(w,e,he(r._f))):N(e,!0,t.value),{...o?{disabled:t.disabled}:{},...n.progressive?{required:!!t.required,min:ge(t.min),max:ge(t.max),minLength:ge(t.minLength),maxLength:ge(t.maxLength),pattern:ge(t.pattern)}:{},name:e,onChange:ee,onBlur:ee,ref:o=>{if(o){xe(e,t),r=m(f,e);const n=h(o.value)&&o.querySelectorAll&&o.querySelectorAll("input,select,textarea")[0]||o,a=le(n),i=r._f.refs||[];if(a?i.find((e=>e===n)):n===r._f.ref)return;T(f,e,{_f:{...r._f,...a?{refs:[...i.filter(ue),n,...Array.isArray(m(b,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),N(e,!1,void 0,n)}else r=m(f,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!c(S.array,e)||!_.action)&&S.unMount.add(e)}}},je=()=>n.shouldFocusError&&D(f,(e=>e&&m(s.errors,e)),S.mount),Le=(e,t)=>async r=>{r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let o=d(w);if(A.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await $();s.errors=e,o=t}else await Y(f);ne(s.errors,"root"),x(s.errors)?(A.state.next({errors:{}}),await e(o,r)):(t&&await t({...s.errors},r),je(),setTimeout(je)),A.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:x(s.errors),submitCount:s.submitCount+1,errors:s.errors})},Ae=(r,n={})=>{const o=r||b,a=d(o),i=r&&!x(r)?a:b;if(n.keepDefaultValues||(b=o),!n.keepValues){if(n.keepDirtyValues||O)for(const e of S.mount)m(s.dirtyFields,e)?T(i,e,m(w,e)):X(e,m(i,e));else{if(p&&h(r))for(const e of S.mount){const t=m(f,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(W(e)){const t=e.closest("form");if(t){t.reset();break}}}}f={}}w=e.shouldUnregister?n.keepDefaultValues?d(b):{}:d(i),A.array.next({values:{...i}}),A.values.next({values:{...i}})}S={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!_.mount&&t(),_.mount=!j.isValid||!!n.keepIsValid,_.watch=!!e.shouldUnregister,A.state.next({submitCount:n.keepSubmitCount?s.submitCount:0,isDirty:n.keepDirty?s.isDirty:!(!n.keepDefaultValues||ie(r,b)),isSubmitted:!!n.keepIsSubmitted&&s.isSubmitted,dirtyFields:n.keepDirtyValues?s.dirtyFields:n.keepDefaultValues&&r?de(b,r):{},touchedFields:n.keepTouched?s.touchedFields:{},errors:n.keepErrors?s.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},Oe=(e,t)=>Ae(q(e)?e(w):e,t);return{control:{register:xe,unregister:Ee,getFieldState:fe,handleSubmit:Le,setError:pe,_executeSchema:$,_getWatch:J,_getDirty:Z,_updateValid:B,_removeUnmounted:()=>{for(const e of S.unMount){const t=m(f,e);t&&(t._f.refs?t._f.refs.every((e=>!ue(e))):!ue(t._f.ref))&&Ee(e)}S.unMount=new Set},_updateFieldArray:(e,t=[],r,n,o=!0,a=!0)=>{if(n&&r){if(_.action=!0,a&&Array.isArray(m(f,e))){const t=r(m(f,e),n.argA,n.argB);o&&T(f,e,t)}if(a&&Array.isArray(m(s.errors,e))){const t=r(m(s.errors,e),n.argA,n.argB);o&&T(s.errors,e,t),_e(s.errors,e)}if(j.touchedFields&&a&&Array.isArray(m(s.touchedFields,e))){const t=r(m(s.touchedFields,e),n.argA,n.argB);o&&T(s.touchedFields,e,t)}j.dirtyFields&&(s.dirtyFields=de(b,w)),A.state.next({name:e,isDirty:Z(e,t),dirtyFields:s.dirtyFields,errors:s.errors,isValid:s.isValid})}else T(w,e,t)},_getFieldArray:t=>y(m(_.mount?w:b,t,e.shouldUnregister?m(b,t,[]):[])),_reset:Ae,_resetDefaultValues:()=>q(n.defaultValues)&&n.defaultValues().then((e=>{Oe(e,n.resetOptions),A.state.next({isLoading:!1})})),_updateFormState:e=>{s={...s,...e}},_subjects:A,_proxyFormState:j,get _fields(){return f},get _formValues(){return w},get _state(){return _},set _state(e){_=e},get _defaultValues(){return b},get _names(){return S},set _names(e){S=e},get _formState(){return s},set _formState(e){s=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:te,register:xe,handleSubmit:Le,watch:(e,t)=>q(e)?A.values.subscribe({next:r=>e(J(void 0,t),r)}):J(e,t,!0),setValue:X,getValues:ce,reset:Oe,resetField:(e,t={})=>{m(f,e)&&(h(t.defaultValue)?X(e,m(b,e)):(X(e,t.defaultValue),T(b,e,t.defaultValue)),t.keepTouched||ne(s.touchedFields,e),t.keepDirty||(ne(s.dirtyFields,e),s.isDirty=t.defaultValue?Z(e,m(b,e)):Z()),t.keepError||(ne(s.errors,e),j.isValid&&B()),A.state.next({...s}))},clearErrors:e=>{e&&L(e).forEach((e=>ne(s.errors,e))),A.state.next({errors:e?s.errors:{}})},unregister:Ee,setError:pe,setFocus:(e,t={})=>{const r=m(f,e),n=r&&r._f;if(n){const e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:fe}}function xe(e={}){const t=n.useRef(),r=n.useRef(),[o,a]=n.useState({isDirty:!1,isValidating:!1,isLoading:q(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:q(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...Ee(e,(()=>a((e=>({...e}))))),formState:o});const i=t.current.control;return i._options=e,O({subject:i._subjects.state,next:e=>{j(e,i._proxyFormState,i._updateFormState,!0)&&a({...i._formState})}}),n.useEffect((()=>{e.values&&!ie(e.values,r.current)?(i._reset(e.values,i._options.resetOptions),r.current=e.values):i._resetDefaultValues()}),[e.values,i]),n.useEffect((()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()})),t.current.formState=E(o,i),t.current}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return r[e].call(a.exports,a,a.exports,o),a.exports}o.m=r,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>(({)]).then(o.bind(o,5210))})),Z=function(){return L("wpac_get_lazy_load_options",{nonce:wpacAdminLazyLoad.getNonce})},J=/^(?:(?:\*|(?:[a-z0-9_-]+(?:\|[a-z0-9_-]+)?))|\[(?:[a-z0-9_-]+)(?:=[\'"]?(.*?)[\'"]?)?\]|#[a-z0-9_-]+|\.(?:[a-z0-9_-]+))+(?:\s*,\s*(?:(?:\*|(?:[a-z0-9_-]+(?:\|[a-z0-9_-]+)?))|\[(?:[a-z0-9_-]+)(?:=[\'"]?(.*?)[\'"]?)?\]|#[a-z0-9_-]+|\.(?:[a-z0-9_-]+))+)*/i,Q=function(r){var o=(0,r.defaults)().data,i=o.data,l=(o.success,(0,a.cI)({defaultValues:{caller:"lazy-load",lazyLoadEnabled:i.lazyLoadEnabled,lazyLoadDisplay:i.lazyLoadDisplay,lazyLoadInlineLoadingType:i.lazyLoadInlineLoadingType,lazyLoadInlineSpinnerLabel:i.lazyLoadInlineSpinnerLabel,lazyLoadInlineSpinnerLabelEnabled:i.lazyLoadInlineSpinnerLabelEnabled,lazyLoadInlineSpinnerSpeed:i.lazyLoadInlineSpinnerSpeed,lazyLoadTrigger:i.lazyLoadTrigger,lazyLoadTriggerElement:i.lazyLoadTriggerElement,lazyLoadPaginationEnabled:i.lazyLoadPaginationEnabled,lazyLoadCommentsPerPage:i.lazyLoadCommentsPerPage,lazyLoadUseThemePagination:i.lazyLoadUseThemePagination,lazyLoadPaginationStyle:i.lazyLoadPaginationStyle,lazyLoadPaginationLocation:i.lazyLoadPaginationLocation,lazyLoadingPaginationScrollToTop:i.lazyLoadingPaginationScrollToTop,lazyLoadTriggerScrollOffset:i.lazyLoadTriggerScrollOffset,lazyLoadInlineSpinner:i.lazyLoadInlineSpinner,saveNonce:wpacAdminLazyLoad.saveNonce,resetNonce:wpacAdminLazyLoad.resetNonce,lazyLoadInlineDisplayLocation:i.lazyLoadInlineDisplayLocation,lazyLoadInlineDisplayElement:i.lazyLoadInlineDisplayElement,lazyLoadInlineSpinnerContainerBackgroundColor:i.lazyLoadInlineSpinnerContainerBackgroundColor,lazyLoadInlineSpinnerContainerBackgroundColorOpacity:i.lazyLoadInlineSpinnerContainerBackgroundColorOpacity,lazyLoadInlineSpinnerIconColor:i.lazyLoadInlineSpinnerIconColor,lazyLoadInlineSpinnerLabelColor:i.lazyLoadInlineSpinnerLabelColor,lazyLoadInlineSpinnerLayoutType:i.lazyLoadInlineSpinnerLayoutType,lazyLoadInlineSpinnerLayoutAlignment:i.lazyLoadInlineSpinnerLayoutAlignment,lazyLoadInlineSpinnerLayoutRTL:i.lazyLoadInlineSpinnerLayoutRTL,lazyLoadInlineSpinnerLabelFontSizeDesktop:i.lazyLoadInlineSpinnerLabelFontSizeDesktop,lazyLoadInlineSpinnerSizeDesktop:i.lazyLoadInlineSpinnerSizeDesktop,lazyLoadInlineSpinnerLabelLineHeightDesktop:i.lazyLoadInlineSpinnerLabelLineHeightDesktop,lazyLoadInlineSpinnerGapDesktop:i.lazyLoadInlineSpinnerGapDesktop,lazyLoadInlineSpinnerContainerPaddingDesktop:i.lazyLoadInlineSpinnerContainerPaddingDesktop,lazyLoadInlineSpinnerLabelFontSizeTablet:i.lazyLoadInlineSpinnerLabelFontSizeTablet,lazyLoadInlineSpinnerSizeTablet:i.lazyLoadInlineSpinnerSizeTablet,lazyLoadInlineSpinnerLabelLineHeightTablet:i.lazyLoadInlineSpinnerLabelLineHeightTablet,lazyLoadInlineSpinnerGapTablet:i.lazyLoadInlineSpinnerGapTablet,lazyLoadInlineSpinnerContainerPaddingTablet:i.lazyLoadInlineSpinnerContainerPaddingTablet,lazyLoadInlineSpinnerLabelFontSizeMobile:i.lazyLoadInlineSpinnerLabelFontSizeMobile,lazyLoadInlineSpinnerSizeMobile:i.lazyLoadInlineSpinnerSizeMobile,lazyLoadInlineSpinnerLabelLineHeightMobile:i.lazyLoadInlineSpinnerLabelLineHeightMobile,lazyLoadInlineSpinnerGapMobile:i.lazyLoadInlineSpinnerGapMobile,lazyLoadInlineSpinnerContainerPaddingMobile:i.lazyLoadInlineSpinnerContainerPaddingMobile,lazyLoadInlineSkeletonLoadingLabelEnabled:i.lazyLoadInlineSkeletonLoadingLabelEnabled,lazyLoadInlineSkeletonLoadingLabel:i.lazyLoadInlineSkeletonLoadingLabel,lazyLoadInlineSkeletonItemsShow:i.lazyLoadInlineSkeletonItemsShow,lazyLoadInlineSkeletonBackgroundColor:i.lazyLoadInlineSkeletonBackgroundColor,lazyLoadInlineSkeletonHighlightColor:i.lazyLoadInlineSkeletonHighlightColor,lazyLoadInlineSkeletonHeadingColor:i.lazyLoadInlineSkeletonHeadingColor,lazyLoadInlineSkeletonHeadingFontSize:i.lazyLoadInlineSkeletonHeadingFontSize,lazyLoadInlineSkeletonHeadingLineHeight:i.lazyLoadInlineSkeletonHeadingLineHeight,lazyLoadInlineShortcode:i.lazyLoadInlineShortcode,lazyLoadInlineButtonLabel:i.lazyLoadInlineButtonLabel,lazyLoadInlineButtonLabelLoading:i.lazyLoadInlineButtonLabelLoading,lazyLoadInlineButtonAppearance:i.lazyLoadInlineButtonAppearance,lazyLoadInlineButtonUseThemeStyles:i.lazyLoadInlineButtonUseThemeStyles,lazyLoadInlineButtonBackgroundColor:i.lazyLoadInlineButtonBackgroundColor,lazyLoadInlineButtonBackgroundColorHover:i.lazyLoadInlineButtonBackgroundColorHover,lazyLoadInlineButtonTextColor:i.lazyLoadInlineButtonTextColor,lazyLoadInlineButtonTextColorHover:i.lazyLoadInlineButtonTextColorHover,lazyLoadInlineButtonBorderColor:i.lazyLoadInlineButtonBorderColor,lazyLoadInlineButtonBorderColorHover:i.lazyLoadInlineButtonBorderColorHover,lazyLoadInlineButtonBorderWidth:i.lazyLoadInlineButtonBorderWidth,lazyLoadInlineButtonBorderRadius:i.lazyLoadInlineButtonBorderRadius,lazyLoadInlineButtonPaddingTop:i.lazyLoadInlineButtonPaddingTop,lazyLoadInlineButtonPaddingRight:i.lazyLoadInlineButtonPaddingRight,lazyLoadInlineButtonPaddingBottom:i.lazyLoadInlineButtonPaddingBottom,lazyLoadInlineButtonPaddingLeft:i.lazyLoadInlineButtonPaddingLeft,lazyLoadInlineButtonFontSize:i.lazyLoadInlineButtonFontSize,lazyLoadInlineButtonLineHeight:i.lazyLoadInlineButtonLineHeight,lazyLoadInlineButtonFontWeight:i.lazyLoadInlineButtonFontWeight,lazyLoadInlineButtonFontFamily:i.lazyLoadInlineButtonFontFamily,lazyLoadInlineButtonAlign:i.lazyLoadInlineButtonAlign}})),c=(l.register,l.control),p=l.handleSubmit,h=l.setValue,m=l.getValues,g=l.reset,v=l.setError,b=l.clearErrors,w=l.trigger,_=(0,a.qo)({control:c}),S=(0,a.cl)({control:c}),E=S.errors,x=S.isDirty,j=S.dirtyFields;return S.touchedFields,t().createElement(t().Fragment,null,t().createElement("div",{className:"ajaxify-admin-panel-area"},t().createElement(t().Fragment,null,t().createElement("h2",null,(0,u.__)("Lazy Load Comments Settings","wp-ajaxify-comments")),t().createElement("p",{className:"description"},(0,u.__)("Lazy loading comments can help speed up your page load time, especially if you have a page with a lot of comments.","wp-ajaxify-comments"))),t().createElement("form",{onSubmit:p((function(e){}))},t().createElement("table",{className:"form-table form-table-row-sections"},t().createElement("tbody",null,t().createElement("tr",null,t().createElement("th",{scope:"row"},(0,u.__)("Lazy Loading","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement("p",{className:"description"},(0,u.__)("Determine if you would like to lazy load your comments.","wp-ajaxify-comments"))),t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadEnabled",control:c,render:function(e){var r=e.field,o=r.onChange,a=r.value;return t().createElement(t().Fragment,null,t().createElement(n.ToggleControl,{label:(0,u.__)("Enable Lazy Loading","wp-ajaxify-comments"),help:(0,u.__)("Enable lazy loading of comments.","wp-ajaxify-comments"),checked:a,onChange:o}))}})))),t().createElement("tr",null,t().createElement("th",{scope:"row"},(0,u.__)("Loading Trigger","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement("p",{className:"description"},(0,u.__)("Choose how to load the comments. You can choose a specific location or even load comments in a custom container.","wp-ajaxify-comments"))),t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadTrigger",control:c,render:function(e){var r=e.field,o=r.onChange,a=r.value;return t().createElement(t().Fragment,null,t().createElement(n.SelectControl,{label:(0,u.__)("Trigger","wp-ajaxify-comments"),help:(0,u.__)("Choose what triggers the comments to load.","wp-ajaxify-comments"),value:a,onChange:o,options:[{value:"external",label:(0,u.__)("External Trigger","wp-ajaxify-comments")},{value:"comments",label:(0,u.__)("Comments Scrolled Into Viewport (Recommended)","wp-ajaxify-comments")},{value:"domready",label:(0,u.__)("Dom Ready","wp-ajaxify-comments")},{value:"element",label:(0,u.__)("Dom Element Reached","wp-ajaxify-comments")},{value:"scroll",label:(0,u.__)("Page Scroll Length","wp-ajaxify-comments")}]}),"external"===m("lazyLoadTrigger")&&t().createElement(t().Fragment,null,t().createElement(A.Z,{message:(0,u.__)("You can trigger the comments to load externally by using the following JavaScript function: WPAC.RefreshComments();","wp-ajaxify-comments"),status:"info",politeness:"assertive",inline:!1,icon:function(){return t().createElement(d,null)}})))}})),"element"===m("lazyLoadTrigger")&&t().createElement(t().Fragment,null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadTriggerElement",control:c,rules:{pattern:{value:J,message:(0,u.__)("Please enter a valid CSS selector.","wp-ajaxify-comments")},required:!0},render:function(e){var r,o,a=e.field,i=a.onChange,l=a.value;return t().createElement(t().Fragment,null,t().createElement(n.TextControl,{label:(0,u.__)("HTML ID, or Class","wp-ajaxify-comments"),help:(0,u.__)("Enter a CSS selector for the element that will trigger the comments to load.","wp-ajaxify-comments"),value:l,onChange:i,className:s()("ajaxify-admin__text-control",{"has-error":"required"===(null===(r=E.lazyLoadTriggerElement)||void 0===r?void 0:r.type)||"pattern"===(null===(o=E.lazyLoadTriggerElement)||void 0===o?void 0:o.type),"is-required":!0})}),E.lazyLoadTriggerElement&&t().createElement(A.Z,{message:(0,u.__)("A valid CSS selector must be entered.","wp-ajaxify-comments"),status:"error",politeness:"assertive",inline:!1,icon:function(){return t().createElement(y.Z,null)}}))}}))),("scroll"===m("lazyLoadTrigger")||"comments"===m("lazyLoadTrigger")||"element"===m("lazyLoadTrigger"))&&t().createElement(t().Fragment,null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadTriggerScrollOffset",control:c,rules:{required:!0,pattern:{value:/^[0-9]+$/,message:(0,u.__)("Please enter a valid number.","wp-ajaxify-comments")}},render:function(e){var r,o=e.field,a=o.onChange,i=o.value;return t().createElement(t().Fragment,null,t().createElement(n.TextControl,{label:(0,u.__)("Scroll Offset","wp-ajaxify-comments"),help:"scroll"===m("lazyLoadTrigger")?(0,u.__)("Enter a vertical offset that is relative to the top viewport. Entering 0 will assume an offest of 100%.","wp-ajaxify-comments"):(0,u.__)("Enter a vertical offset for that will trigger loading a certain number of pixels above the element. Entering 0 will assume an offest of 100%.","wp-ajaxify-comments"),value:i,type:"number",onChange:a,className:s()("ajaxify-admin__text-control",{"has-error":"required"===(null===(r=E.lazyLoadTriggerScrollOffset)||void 0===r?void 0:r.type),"is-required":!0})}),E.lazyLoadTriggerScrollOffset&&t().createElement(A.Z,{message:(0,u.__)("A valid number must be entered.","wp-ajaxify-comments"),status:"error",politeness:"assertive",inline:!1,icon:function(){return t().createElement(y.Z,null)}}))}}))),t().createElement("div",{className:"ajaxify-admin__control-row"}))),t().createElement("tr",null,t().createElement("th",{scope:"row"},(0,u.__)("Loading Message","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement("p",{className:"description"},(0,u.__)("While comments are loading, a loading message displays. How would you like to display the loading message?","wp-ajaxify-comments"))),t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadDisplay",control:c,render:function(e){var r=e.field,o=r.onChange,a=r.value;return t().createElement(t().Fragment,null,t().createElement(n.SelectControl,{label:(0,u.__)("Display","wp-ajaxify-comments"),help:(0,u.__)("Choose how you would like to display the loading message. Choose None to not show any loading indicator.","wp-ajaxify-comments"),value:a,onChange:o,options:[{value:"overlay",label:(0,u.__)("Overlay (default)","wp-ajaxify-comments")},{value:"inline",label:(0,u.__)("Inline","wp-ajaxify-comments")},{value:"none",label:(0,u.__)("None","wp-ajaxify-comments")}]}))}})),"inline"===m("lazyLoadDisplay")&&t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadInlineDisplayLocation",control:c,render:function(e){var r=e.field,o=r.onChange,a=r.value;return t().createElement(t().Fragment,null,t().createElement(n.SelectControl,{label:(0,u.__)("Inline Display Location","wp-ajaxify-comments"),help:(0,u.__)("Choose where you would like the loading message to appear on the page. Load in the comments section, or choose a custom element. If element is chosen, the comments will load within the element.","wp-ajaxify-comments"),value:a,onChange:o,options:[{value:"comments",label:(0,u.__)("Comment Section","wp-ajaxify-comments")},{value:"element",label:(0,u.__)("Custom HTML Element (Experimental)","wp-ajaxify-comments")}]}))}})),"inline"===m("lazyLoadDisplay")&&"element"===m("lazyLoadInlineDisplayLocation")&&t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadInlineDisplayElement",control:c,rules:{required:!0,pattern:J},render:function(e){var r,o,a,i,l=e.field,c=l.onChange,f=l.value;return t().createElement(t().Fragment,null,t().createElement(n.TextControl,{label:(0,u.__)("HTML ID, or Class","wp-ajaxify-comments"),help:(0,u.__)("Enter a CSS selector for the element that will display the loading message.","wp-ajaxify-comments"),value:f,onChange:c,className:s()("ajaxify-admin__text-control",{"has-error":"required"===(null===(r=E.lazyLoadInlineDisplayElement)||void 0===r?void 0:r.type)||"pattern"===(null===(o=E.lazyLoadInlineDisplayElement)||void 0===o?void 0:o.type),"is-required":!0})}),"pattern"===(null===(a=E.lazyLoadInlineDisplayElement)||void 0===a?void 0:a.type)&&t().createElement(A.Z,{message:(0,u.__)("Please use valid CSS selectors.","wp-ajaxify-comments"),status:"error",politeness:"assertive",inline:!1,icon:function(){return t().createElement(y.Z,null)}}),"required"===(null===(i=E.lazyLoadInlineDisplayElement)||void 0===i?void 0:i.type)&&t().createElement(A.Z,{message:(0,u.__)("This is a required field.","wp-ajaxify-comments"),status:"error",politeness:"assertive",inline:!1,icon:function(){return t().createElement(y.Z,null)}}))}})))),"inline"===m("lazyLoadDisplay")&&t().createElement(t().Fragment,null,t().createElement("tr",null,t().createElement("th",{scope:"row"},(0,u.__)("Inline Loading","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement("p",{className:"description"},(0,u.__)("If you choose to display the loading message inline, how would you like to display it?","wp-ajaxify-comments"))),t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadInlineLoadingType",control:c,render:function(e){var r=e.field,o=r.onChange,a=r.value;return t().createElement(t().Fragment,null,t().createElement(n.SelectControl,{label:(0,u.__)("Inline Loading Type","wp-ajaxify-comments"),help:(0,u.__)("Choose how you would like to display the loading message.","wp-ajaxify-comments"),value:a,onChange:o,options:[{value:"spinner",label:(0,u.__)("Spinner (default)","wp-ajaxify-comments")},{value:"skeleton",label:(0,u.__)("Loading Skeleton","wp-ajaxify-comments")},{value:"button",label:(0,u.__)("Loading Button","wp-ajaxify-comments")},{value:"shortcode",label:(0,u.__)("Shortcode","wp-ajaxify-comments")}]}))}})))),"spinner"===m("lazyLoadInlineLoadingType")&&t().createElement(t().Fragment,null,t().createElement(e.Suspense,{fallback:t().createElement(t().Fragment,null,t().createElement("tr",null,t().createElement("th",null,(0,u.__)("Inline Spinner","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("h2",null,(0,u.__)("Loading Inline Options","wp-ajaxify-comments")),t().createElement(f(),{color:"#873F49",loading:!0,cssOverride:!0,size:25,speedMultiplier:.65}))))},t().createElement(G,{control:c,errors:E,setValue:h,getValues:m,clearErrors:b}))),"skeleton"===m("lazyLoadInlineLoadingType")&&t().createElement(t().Fragment,null,t().createElement(e.Suspense,{fallback:t().createElement(t().Fragment,null,t().createElement("tr",null,t().createElement("th",null,(0,u.__)("Loading Skeleton","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("h2",null,(0,u.__)("Loading Skeleton Options","wp-ajaxify-comments")),t().createElement(f(),{color:"#873F49",loading:!0,cssOverride:!0,size:25,speedMultiplier:.65}))))},t().createElement($,{control:c,errors:E,setValue:h,getValues:m,clearErrors:b}))),"shortcode"===m("lazyLoadInlineLoadingType")&&t().createElement(t().Fragment,null,t().createElement("tr",null,t().createElement("th",{scope:"row"},(0,u.__)("Shortcode","wp-ajaxify-comments")),t().createElement("td",null,t().createElement("div",{className:"ajaxify-admin__control-row"},t().createElement(a.Qr,{name:"lazyLoadInlineShortcode",control:c,rules:{required:!0},render:function(e){var r,o,a=e.field,i=a.onChange,l=a.value;return t().createElement(t().Fragment,null,t().createElement(n.TextControl,{label:(0,u.__)("Shortcode","wp-ajaxify-comments"),help:(0,u.__)("Enter a shortcode to display while comments are loading.","wp-ajaxify-comments"),value:l,onChange:i,className:s()("ajaxify-admin__text-control",{"has-error":"required"===(null===(r=E.lazyLoadInlineShortcode)||void 0===r?void 0:r.type),"is-required":!0})}),"required"===(null===(o=E.lazyLoadInlineShortcode)||void 0===o?void 0:o.type)&&t().createElement(A.Z,{message:(0,u.__)("This is a required field.","wp-ajaxify-comments"),status:"error",politeness:"assertive",inline:!1,icon:function(){return t().createElement(y.Z,null)}}))}})))))))),"button"===m("lazyLoadInlineLoadingType")&&"inline"===m("lazyLoadDisplay")&&t().createElement(t().Fragment,null,t().createElement(e.Suspense,{fallback:t().createElement(t().Fragment,null,t().createElement("div",null,t().createElement("h2",null,(0,u.__)("Loading Button Options","wp-ajaxify-comments")),t().createElement(f(),{color:"#873F49",loading:!0,cssOverride:!0,size:25,speedMultiplier:.65})))},t().createElement(Y,{control:c,errors:E,setValue:h,getValues:m,clearErrors:b}))),t().createElement(H,{formValues:_,setError:v,reset:g,errors:E,isDirty:x,dirtyFields:j,trigger:w}))))};const K=function(r){var n,o,a=(n=(0,l.useAsyncResource)(Z,[]),o=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(n,o)||function(e,t){if(e){if("string"==typeof e)return W(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?W(e,t):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=a[0];return a[1],t().createElement(_,{fallback:t().createElement("p",null,(0,u.__)("Could not load Lazy Load options.","highlight-and-share"),t().createElement("br",null),t().createElement("a",{href:"https://dlxplugins.com/support/",target:"_blank",rel:"noopener noreferrer"},"DLX Plugins Support"))},t().createElement(e.Suspense,{fallback:t().createElement(t().Fragment,null,t().createElement("h2",null,(0,u.__)("Loading Options","wp-ajaxify-comments")),t().createElement(f(),{color:"#873F49",loading:!0,cssOverride:!0,size:25,speedMultiplier:.65}))},t().createElement(Q,q({defaults:i},r))))};var X=document.getElementById("wpac-tab-lazy-load");(0,r.s)(X).render(t().createElement(t().StrictMode,null,t().createElement(n.SlotFillProvider,null,t().createElement(K,null),t().createElement(n.Popover.Slot,null))))})()})();
  • wp-ajaxify-comments/trunk/dist/wpac-frontend-js.asset.php

    r3099622 r3106067  
    1 <?php return array('dependencies' => array('jquery'), 'version' => '57a3c73391ab17e049af');
     1<?php return array('dependencies' => array('jquery'), 'version' => '');
  • wp-ajaxify-comments/trunk/dist/wpac-frontend-js.js

    r3099622 r3106067  
    11/*! For license information please see wpac-frontend-js.js.LICENSE.txt */
    2 (()=>{var e={8515:()=>{function e(t){return e="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},e(t)}var t;(t=jQuery).idleTimer=function(o,n){var r;"object"===e(o)?(r=o,o=null):"number"==typeof o&&(r={timeout:o},o=null),n=n||document,r=t.extend({idle:!1,timeout:3e4,events:"mousemove keydown wheel DOMMouseScroll mousewheel mousedown touchstart touchmove MSPointerDown MSPointerMove"},r);var i=t(n),s=i.data("idleTimerObj")||{},a=function(e){var o=t.data(n,"idleTimerObj")||{};o.idle=!o.idle,o.olddate=+new Date;var r=t.Event((o.idle?"idle":"active")+".idleTimer");t(n).trigger(r,[n,t.extend({},o),e])},l=function(e){var o=t.data(n,"idleTimerObj")||{};if(("storage"!==e.type||e.originalEvent.key===o.timerSyncId)&&null==o.remaining){if("mousemove"===e.type){if(e.pageX===o.pageX&&e.pageY===o.pageY)return;if(void 0===e.pageX&&void 0===e.pageY)return;if(+new Date-o.olddate<200)return}clearTimeout(o.tId),o.idle&&a(e),o.lastActive=+new Date,o.pageX=e.pageX,o.pageY=e.pageY,"storage"!==e.type&&o.timerSyncId&&"undefined"!=typeof localStorage&&localStorage.setItem(o.timerSyncId,o.lastActive),o.tId=setTimeout(a,o.timeout)}},c=function(){var e=t.data(n,"idleTimerObj")||{};e.idle=e.idleBackup,e.olddate=+new Date,e.lastActive=e.olddate,e.remaining=null,clearTimeout(e.tId),e.idle||(e.tId=setTimeout(a,e.timeout))};if(null===o&&void 0!==s.idle)return c(),i;if(null===o);else{if(null!==o&&void 0===s.idle)return!1;if("destroy"===o)return function(){var e=t.data(n,"idleTimerObj")||{};clearTimeout(e.tId),i.removeData("idleTimerObj"),i.off("._idleTimer")}(),i;if("pause"===o)return function(){var e=t.data(n,"idleTimerObj")||{};null==e.remaining&&(e.remaining=e.timeout-(+new Date-e.olddate),clearTimeout(e.tId))}(),i;if("resume"===o)return function(){var e=t.data(n,"idleTimerObj")||{};null!=e.remaining&&(e.idle||(e.tId=setTimeout(a,e.remaining)),e.remaining=null)}(),i;if("reset"===o)return c(),i;if("getRemainingTime"===o)return function(){var e=t.data(n,"idleTimerObj")||{};if(e.idle)return 0;if(null!=e.remaining)return e.remaining;var o=e.timeout-(+new Date-e.lastActive);return o<0&&(o=0),o}();if("getElapsedTime"===o)return+new Date-s.olddate;if("getLastActiveTime"===o)return s.lastActive;if("isIdle"===o)return s.idle}return i.on((r.events+" ").split(" ").join("._idleTimer ").trim(),(function(e){l(e)})),r.timerSyncId&&t(window).on("storage",l),(s=t.extend({},{olddate:+new Date,lastActive:+new Date,idle:r.idle,idleBackup:r.idle,timeout:r.timeout,remaining:null,timerSyncId:r.timerSyncId,tId:null,pageX:null,pageY:null})).idle||(s.tId=setTimeout(a,s.timeout)),t.data(n,"idleTimerObj",s),i},t.fn.idleTimer=function(e){return this[0]?t.idleTimer(e,this[0]):this}},9014:(e,t,o)=>{var n,r,i;!function(){"use strict";function s(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),r=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){a(window,e)},e.unblockUI=function(e){l(window,e)},e.growlUI=function(t,o,n,r){var i=e('<div class="growlUI"></div>');t&&i.append("<h1>"+t+"</h1>"),o&&i.append("<h2>"+o+"</h2>"),void 0===n&&(n=3e3);var s=function(t){t=t||{},e.blockUI({message:i,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:r,css:e.blockUI.defaults.growlCSS})};s(),i.css("opacity"),i.mouseover((function(){s({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)})).mouseout((function(){e(".blockMsg").fadeOut(1e3)}))},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each((function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})})),this.each((function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,a(this,t)}))},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each((function(){l(this,t)}))},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var i=null,s=[];function a(a,c){var d,m,h=a==window,y=c&&void 0!==c.message?c.message:void 0;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(a).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),d=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),m=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),y=void 0===y?c.message:y,h&&i&&l(window,{fadeOut:0}),y&&"string"!=typeof y&&(y.parentNode||y.jquery)){var g=y.jquery?y[0]:y,C={};e(a).data("blockUI.history",C),C.el=g,C.parent=g.parentNode,C.display=g.style.display,C.position=g.style.position,C.parent&&C.parent.removeChild(g)}e(a).data("blockUI.onUnblock",c.onUnblock);var b,P,A,w,v=c.baseZ;b=o||c.forceIframe?e('<iframe class="blockUI" style="z-index:'+v+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+c.iframeSrc+'"></iframe>'):e('<div class="blockUI" style="display:none"></div>'),P=c.theme?e('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+v+++';display:none"></div>'):e('<div class="blockUI blockOverlay" style="z-index:'+v+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c.theme&&h?(w='<div class="blockUI '+c.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(v+10)+';display:none;position:fixed">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):c.theme?(w='<div class="blockUI '+c.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(v+10)+';display:none;position:absolute">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):w=h?'<div class="blockUI '+c.blockMsgClass+' blockPage" style="z-index:'+(v+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+c.blockMsgClass+' blockElement" style="z-index:'+(v+10)+';display:none;position:absolute"></div>',A=e(w),y&&(c.theme?(A.css(m),A.addClass("ui-widget-content")):A.css(d)),c.theme||P.css(c.overlayCSS),P.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&b.css("opacity",0);var W=[b,P,A],_=e(h?"body":a);e.each(W,(function(){this.appendTo(_)})),c.theme&&c.draggable&&e.fn.draggable&&A.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var k=r&&(!e.support.boxModel||e("object,embed",h?null:a).length>0);if(n||k){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var x=f(a,"borderTopWidth"),S=f(a,"borderLeftWidth"),O=x?"(0 - "+x+")":0,U=S?"(0 - "+S+")":0;e.each(W,(function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),U&&o.setExpression("left",U),O&&o.setExpression("top",O);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}}))}if(y&&(c.theme?A.find(".ui-widget-content").append(y):A.append(y),(y.jquery||y.nodeType)&&e(y).show()),(o||c.forceIframe)&&c.showOverlay&&b.show(),c.fadeIn){var T=c.onBlock?c.onBlock:t,I=c.showOverlay&&!y?T:t,j=y?T:t;c.showOverlay&&P._fadeIn(c.fadeIn,I),y&&A._fadeIn(c.fadeIn,j)}else c.showOverlay&&P.show(),y&&A.show(),c.onBlock&&c.onBlock.bind(A)();if(u(1,a,c),h?(i=A[0],s=e(c.focusableElements,i),c.focusInput&&setTimeout(p,20)):function(e,t,o){var n=e.parentNode,r=e.style,i=(n.offsetWidth-e.offsetWidth)/2-f(n,"borderLeftWidth"),s=(n.offsetHeight-e.offsetHeight)/2-f(n,"borderTopWidth");t&&(r.left=i>0?i+"px":"0"),o&&(r.top=s>0?s+"px":"0")}(A[0],c.centerX,c.centerY),c.timeout){var E=setTimeout((function(){h?e.unblockUI(c):e(a).unblock(c)}),c.timeout);e(a).data("blockUI.timeout",E)}}}function l(t,o){var n,r,a=t==window,l=e(t),d=l.data("blockUI.history"),p=l.data("blockUI.timeout");p&&(clearTimeout(p),l.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),u(0,t,o),null===o.onUnblock&&(o.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),r=a?e("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),o.cursorReset&&(r.length>1&&(r[1].style.cursor=o.cursorReset),r.length>2&&(r[2].style.cursor=o.cursorReset)),a&&(i=s=null),o.fadeOut?(n=r.length,r.stop().fadeOut(o.fadeOut,(function(){0==--n&&c(r,d,o,t)}))):c(r,d,o,t)}function c(t,o,n,r){var i=e(r);if(!i.data("blockUI.isBlocked")){t.each((function(e,t){this.parentNode&&this.parentNode.removeChild(this)})),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),i.removeData("blockUI.history")),i.data("blockUI.static")&&i.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(r,n);var s=e(document.body),a=s.width(),l=s[0].style.width;s.width(a-1).width(a),s[0].style.width=l}}function u(t,o,n){var r=o==window,s=e(o);if((t||(!r||i)&&(r||s.data("blockUI.isBlocked")))&&(s.data("blockUI.isBlocked",t),r&&n.bindEvents&&(!t||n.showOverlay))){var a="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(a,n,d):e(document).unbind(a,d)}}function d(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&i&&t.data.constrainTabKey){var o=s,n=!t.shiftKey&&t.target===o[o.length-1],r=t.shiftKey&&t.target===o[0];if(n||r)return setTimeout((function(){p(r)}),10),!1}var a=t.data,l=e(t.target);return l.hasClass("blockOverlay")&&a.onOverlayClick&&a.onOverlayClick(t),l.parents("div."+a.blockMsgClass).length>0||0===l.parents().children().filter("div.blockUI").length}function p(e){if(s){var t=s[!0===e?s.length-1:0];t&&t.focus()}}function f(t,o){return parseInt(e.css(t,o),10)||0}}o.amdO.jQuery?(r=[o(9567)],void 0===(i="function"==typeof(n=s)?n.apply(t,r):n)||(e.exports=i)):s(jQuery)}()},2084:()=>{!function(){"use strict";var e=0,t={};function o(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw console.log("options",n),new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=o.Adapter.extend({},o.defaults,n),this.element=this.options.element,this.adapter=new o.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=o.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=o.Context.findOrCreateByElement(this.options.context),o.offsetAliases[this.options.offset]&&(this.options.offset=o.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),t[this.key]=this,e+=1}o.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},o.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},o.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete t[this.key]},o.prototype.disable=function(){return this.enabled=!1,this},o.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},o.prototype.next=function(){return this.group.next(this)},o.prototype.previous=function(){return this.group.previous(this)},o.invokeAll=function(e){var o=[];for(var n in t)o.push(t[n]);for(var r=0,i=o.length;r<i;r++)o[r][e]()},o.destroyAll=function(){o.invokeAll("destroy")},o.disableAll=function(){o.invokeAll("disable")},o.enableAll=function(){for(var e in o.Context.refreshAll(),t)t[e].enabled=!0;return this},o.refreshAll=function(){o.Context.refreshAll()},o.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},o.viewportWidth=function(){return document.documentElement.clientWidth},o.adapters=[],o.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},o.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=o}(),function(){"use strict";function e(e){window.setTimeout(e,1e3/60)}var t=0,o={},n=window.Waypoint,r=window.onload;function i(e){this.element=e,this.Adapter=n.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+t,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,o[e.waypointContextKey]=this,t+=1,n.windowContext||(n.windowContext=!0,n.windowContext=new i(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}i.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},i.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),n=this.element==this.element.window;e&&t&&!n&&(this.adapter.off(".waypoints"),delete o[this.key])},i.prototype.createThrottledResizeHandler=function(){var e=this;function t(){e.handleResize(),e.didResize=!1}this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))}))},i.prototype.createThrottledScrollHandler=function(){var e=this;function t(){e.handleScroll(),e.didScroll=!1}this.adapter.on("scroll.waypoints",(function(){e.didScroll&&!n.isTouch||(e.didScroll=!0,n.requestAnimationFrame(t))}))},i.prototype.handleResize=function(){n.Context.refreshAll()},i.prototype.handleScroll=function(){var e={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var o in t){var n=t[o],r=n.newScroll>n.oldScroll?n.forward:n.backward;for(var i in this.waypoints[o]){var s=this.waypoints[o][i];if(null!==s.triggerPoint){var a=n.oldScroll<s.triggerPoint,l=n.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(r),e[s.group.id]=s.group)}}}for(var c in e)e[c].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},i.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},i.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},i.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},i.prototype.destroy=function(){var e=[];for(var t in this.waypoints)for(var o in this.waypoints[t])e.push(this.waypoints[t][o]);for(var n=0,r=e.length;n<r;n++)e[n].destroy()},i.prototype.refresh=function(){var e,t=this.element==this.element.window,o=t?void 0:this.adapter.offset(),r={};for(var i in this.handleScroll(),e={horizontal:{contextOffset:t?0:o.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:o.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=e[i];for(var a in this.waypoints[i]){var l,c,u,d,p=this.waypoints[i][a],f=p.options.offset,m=p.triggerPoint,h=0,y=null==m;p.element!==p.element.window&&(h=p.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(p):"string"==typeof f&&(f=parseFloat(f),p.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,p.triggerPoint=Math.floor(h+l-f),c=m<s.oldScroll,u=p.triggerPoint>=s.oldScroll,d=!c&&!u,!y&&c&&u?(p.queueTrigger(s.backward),r[p.group.id]=p.group):(!y&&d||y&&s.oldScroll>=p.triggerPoint)&&(p.queueTrigger(s.forward),r[p.group.id]=p.group)}}return n.requestAnimationFrame((function(){for(var e in r)r[e].flushTriggers()})),this},i.findOrCreateByElement=function(e){return i.findByElement(e)||new i(e)},i.refreshAll=function(){for(var e in o)o[e].refresh()},i.findByElement=function(e){return o[e.waypointContextKey]},window.onload=function(){r&&r(),i.refreshAll()},n.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},n.Context=i}(),function(){"use strict";function e(e,t){return e.triggerPoint-t.triggerPoint}function t(e,t){return t.triggerPoint-e.triggerPoint}var o={vertical:{},horizontal:{}},n=window.Waypoint;function r(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}r.prototype.add=function(e){this.waypoints.push(e)},r.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},r.prototype.flushTriggers=function(){for(var o in this.triggerQueues){var n=this.triggerQueues[o],r="up"===o||"left"===o;n.sort(r?t:e);for(var i=0,s=n.length;i<s;i+=1){var a=n[i];(a.options.continuous||i===n.length-1)&&a.trigger([o])}}this.clearTriggerQueues()},r.prototype.next=function(t){this.waypoints.sort(e);var o=n.Adapter.inArray(t,this.waypoints);return o===this.waypoints.length-1?null:this.waypoints[o+1]},r.prototype.previous=function(t){this.waypoints.sort(e);var o=n.Adapter.inArray(t,this.waypoints);return o?this.waypoints[o-1]:null},r.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},r.prototype.remove=function(e){var t=n.Adapter.inArray(e,this.waypoints);t>-1&&this.waypoints.splice(t,1)},r.prototype.first=function(){return this.waypoints[0]},r.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},r.findOrCreate=function(e){return o[e.axis][e.name]||new r(e)},n.Group=r}(),function(){"use strict";var e=window.jQuery,t=window.Waypoint;function o(t){this.$element=e(t)}e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,t){o.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}})),e.each(["extend","inArray","isEmptyObject"],(function(t,n){o[n]=e[n]})),t.adapters.push({name:"jquery",Adapter:o}),t.Adapter=o}(),function(){"use strict";var e=window.Waypoint;function t(t){return function(){var o=[],n=arguments[0];return t.isFunction(arguments[0])&&((n=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var r=t.extend({},n,{element:this});"string"==typeof r.context&&(r.context=t(this).closest(r.context)[0]),o.push(new e(r))})),o}}window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()},2106:function(e,t,o){var n;!function(r){var i={starts_with_slashes:/^\/+/,ends_with_slashes:/\/+$/,pluses:/\+/g,query_separator:/[&;]/,uri_parser:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*)(?::([^:@]*))?)?@)?(\[[0-9a-fA-F:.]+\]|[^:\/?#]*)(?::(\d+|(?=:)))?(:)?)((((?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/};function s(e){return e&&(e=e.toString().replace(i.pluses,"%20"),e=decodeURIComponent(e)),e}function a(e){var t,o,n,r,a,l,c,u=[];if(null==e||""===e)return u;for(0===e.indexOf("?")&&(e=e.substring(1)),t=0,c=(o=e.toString().split(i.query_separator)).length;t<c;t++)0!==(r=(n=o[t]).indexOf("="))&&(a=s(n.substring(0,r)),l=s(n.substring(r+1)),u.push(-1===r?[n,null]:[a,l]));return u}function l(e){this.uriParts=function(e){var t=i.uri_parser.exec(e||""),o={};return["source","protocol","authority","userInfo","user","password","host","port","isColonUri","relative","path","directory","file","query","anchor"].forEach((function(e,n){o[e]=t[n]||""})),o}(e),this.queryPairs=a(this.uriParts.query),this.hasAuthorityPrefixUserPref=null}Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var o,n;if(null==this)throw new TypeError(" this is null or not defined");var r=Object(this),i=r.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(o=t),n=0;n<i;){var s;n in r&&(s=r[n],e.call(o,s,n,r)),n++}}),["protocol","userInfo","host","port","path","anchor"].forEach((function(e){l.prototype[e]=function(t){return void 0!==t&&(this.uriParts[e]=t),this.uriParts[e]}})),l.prototype.hasAuthorityPrefix=function(e){return void 0!==e&&(this.hasAuthorityPrefixUserPref=e),null===this.hasAuthorityPrefixUserPref?-1!==this.uriParts.source.indexOf("//"):this.hasAuthorityPrefixUserPref},l.prototype.isColonUri=function(e){if(void 0===e)return!!this.uriParts.isColonUri;this.uriParts.isColonUri=!!e},l.prototype.query=function(e){var t,o,n,r="";for(void 0!==e&&(this.queryPairs=a(e)),t=0,n=this.queryPairs.length;t<n;t++)o=this.queryPairs[t],r.length>0&&(r+="&"),null===o[1]?r+=o[0]:(r+=o[0],r+="=",void 0!==o[1]&&(r+=encodeURIComponent(o[1])));return r.length>0?"?"+r:r},l.prototype.getQueryParamValue=function(e){var t,o,n;for(o=0,n=this.queryPairs.length;o<n;o++)if(e===(t=this.queryPairs[o])[0])return t[1]},l.prototype.getQueryParamValues=function(e){var t,o,n,r=[];for(t=0,n=this.queryPairs.length;t<n;t++)e===(o=this.queryPairs[t])[0]&&r.push(o[1]);return r},l.prototype.deleteQueryParam=function(e,t){var o,n,r,i,a,l=[];for(o=0,a=this.queryPairs.length;o<a;o++)r=s((n=this.queryPairs[o])[0])===s(e),i=n[1]===t,(1!==arguments.length||r)&&(2!==arguments.length||r&&i)||l.push(n);return this.queryPairs=l,this},l.prototype.addQueryParam=function(e,t,o){return 3===arguments.length&&-1!==o?(o=Math.min(o,this.queryPairs.length),this.queryPairs.splice(o,0,[e,t])):arguments.length>0&&this.queryPairs.push([e,t]),this},l.prototype.hasQueryParam=function(e){var t,o=this.queryPairs.length;for(t=0;t<o;t++)if(this.queryPairs[t][0]==e)return!0;return!1},l.prototype.replaceQueryParam=function(e,t,o){var n,r,i=-1,a=this.queryPairs.length;if(3===arguments.length){for(n=0;n<a;n++)if(s((r=this.queryPairs[n])[0])===s(e)&&decodeURIComponent(r[1])===s(o)){i=n;break}i>=0&&this.deleteQueryParam(e,s(o)).addQueryParam(e,t,i)}else{for(n=0;n<a;n++)if(s((r=this.queryPairs[n])[0])===s(e)){i=n;break}this.deleteQueryParam(e),this.addQueryParam(e,t,i)}return this},["protocol","hasAuthorityPrefix","isColonUri","userInfo","host","port","path","query","anchor"].forEach((function(e){var t="set"+e.charAt(0).toUpperCase()+e.slice(1);l.prototype[t]=function(t){return this[e](t),this}})),l.prototype.scheme=function(){var e="";return this.protocol()?(e+=this.protocol(),this.protocol().indexOf(":")!==this.protocol().length-1&&(e+=":"),e+="//"):this.hasAuthorityPrefix()&&this.host()&&(e+="//"),e},l.prototype.origin=function(){var e=this.scheme();return this.userInfo()&&this.host()&&(e+=this.userInfo(),this.userInfo().indexOf("@")!==this.userInfo().length-1&&(e+="@")),this.host()&&(e+=this.host(),(this.port()||this.path()&&this.path().substr(0,1).match(/[0-9]/))&&(e+=":"+this.port())),e},l.prototype.addTrailingSlash=function(){var e=this.path()||"";return"/"!==e.substr(-1)&&this.path(e+"/"),this},l.prototype.toString=function(){var e,t=this.origin();return this.isColonUri()?this.path()&&(t+=":"+this.path()):this.path()?(e=this.path(),i.ends_with_slashes.test(t)||i.starts_with_slashes.test(e)?(t&&t.replace(i.ends_with_slashes,"/"),e=e.replace(i.starts_with_slashes,"/")):t+="/",t+=e):this.host()&&(this.query().toString()||this.anchor())&&(t+="/"),this.query().toString()&&(t+=this.query().toString()),this.anchor()&&(0!==this.anchor().indexOf("#")&&(t+="#"),t+=this.anchor()),t},l.prototype.clone=function(){return new l(this.toString())},void 0===(n=function(){return l}.call(t,o,t,e))||(e.exports=n)}()},269:()=>{function e(t){return e="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},e(t)}WPAC._Options=WPAC._Options||{},WPAC._BodyRegex=new RegExp("<body[^>]*>((.|\n|\r)*)</body>","i"),WPAC._ExtractBody=function(e){try{return jQuery("<div>"+WPAC._BodyRegex.exec(e)[1]+"</div>")}catch(e){return!1}},WPAC._TitleRegex=new RegExp("<title[^>]*>(.*?)<\\/title>","im"),WPAC._ExtractTitle=function(e){try{return WPAC._TitleRegex.exec(e)[1]}catch(e){return!1}},WPAC._ShowMessage=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=WPAC._Options.lazyLoadDisplay;if(!WPAC._Options.lazyLoadEnabled||"overlay"===n||o){var r=WPAC._Options.popupMarginTop+(jQuery("#wpadminbar").outerHeight()||0),i=WPAC._Options.popupBackgroundColorLoading,s=WPAC._Options.popupTextColorLoading;"error"==t?(i=WPAC._Options.popupBackgroundColorError,s=WPAC._Options.popupTextColorError):"success"==t&&(i=WPAC._Options.popupBackgroundColorSuccess,s=WPAC._Options.popupTextColorSuccess);var a="verticalStart"===WPAC._Options.popupVerticalAlign?r+"px":"unset";"verticalCenter"===WPAC._Options.popupVerticalAlign&&(a="45%"),jQuery.blockUI({blockMsgClass:"wpac-overlay",message:e,fadeIn:WPAC._Options.popupFadeIn,fadeOut:WPAC._Options.popupFadeOut,timeout:"loading"==t?0:WPAC._Options.popupTimeout,centerY:!1,centerX:!0,showOverlay:!0,css:{width:"var(--wpac-popup-width)",left:"calc(50% - var(--wpac-popup-width) / 2)",top:a,bottom:"verticalEnd"===WPAC._Options.popupVerticalAlign?r+"px":"unset",border:"none",padding:WPAC._Options.popupPadding+"px",backgroundColor:i,"-webkit-border-radius":WPAC._Options.popupCornerRadius+"px","-moz-border-radius":WPAC._Options.popupCornerRadius+"px","border-radius":WPAC._Options.popupCornerRadius+"px",opacity:WPAC._Options.popupOpacity/100,color:s,textAlign:WPAC._Options.popupTextAlign,cursor:"loading"==t||"loadingPreview"==t?"wait":"default","font-size":WPAC._Options.popupTextFontSize},overlayCSS:{backgroundColor:WPAC._Options.popupOverlayBackgroundColor,opacity:WPAC._Options.popupOverlayBackgroundColorOpacity},baseZ:WPAC._Options.popupZindex})}},WPAC._DebugErrorShown=!1,WPAC._Debug=function(t,o){if(WPAC._Options.debug){if(Function.prototype.call&&Function.prototype.call.bind&&void 0!==window.console&&console&&"object"===e(console.log)&&void 0===window.console[t].apply&&(console[t]=Function.prototype.call.bind(console[t],console)),void 0===window.console||void 0===window.console[t]||void 0===window.console[t].apply)return WPAC._DebugErrorShown||alert("Unfortunately the console object is undefined or is not supported in your browser, debugging WP Ajaxify Comments is disabled! Please use Firebug, Google Chrome or Internet Explorer 9 or above with enabled Developer Tools (F12) for debugging WP Ajaxify Comments."),void(WPAC._DebugErrorShown=!0);var n=jQuery.merge(["[WP Ajaxify Comments] "+o],jQuery.makeArray(arguments).slice(2));console[t].apply(console,n)}},WPAC._DebugSelector=function(e,t,o){if(WPAC._Options.debug){var n=jQuery(t);n.length?WPAC._Debug("info","Search %s (selector: '%s')... Found: %o",e,t,n):WPAC._Debug(o?"info":"error","Search %s (selector: '%s')... Not found",e,t)}},WPAC._AddQueryParamStringToUrl=function(e,t,o){var n=new URL(e),r=n.searchParams;return r.set(t,o),n.search=r.toString(),n.toString()},WPAC._LoadFallbackUrl=function(e){WPAC._ShowMessage(WPAC._Options.textReloadPage,"loading");var t=WPAC._AddQueryParamStringToUrl(e,"WPACRandom",(new Date).getTime());WPAC._Debug("info","Something went wrong. Reloading page (URL: '%s')...",t);var o=function(){location.href=t};WPAC._Options.debug?(WPAC._Debug("info","Sleep for 5s to enable analyzing debug messages..."),window.setTimeout(o,5e3)):o()},WPAC._ScrollToAnchor=function(e,t,o){o=o||function(){};var n=jQuery(e);if(n.length){WPAC._Debug("info","Scroll to anchor element %o (scroll speed: %s ms)...",n,WPAC._Options.scrollSpeed);var r=function(){t&&(window.location.hash=e),o()},i=n.offset().top;return jQuery(window).scrollTop()==i?r():jQuery("html,body").animate({scrollTop:i},{duration:WPAC._Options.scrollSpeed,complete:r}),!0}return WPAC._Debug("error","Anchor element not found (selector: '%s')",e),!1},WPAC._UpdateUrl=function(e){e.split("#")[0]!=window.location.href.split("#")[0]&&(window.history.replaceState?window.history.replaceState({},window.document.title,e):WPAC._Debug("info","Browser does not support window.history.replaceState() to update the URL without reloading the page",anchor))},WPAC._ReplaceComments=function(e,t,o,n,r,i,s,a,l,c,u){jQuery("#wpac-lazy-load-content-clone").remove();var d=o?WPAC._AddQueryParamStringToUrl(t,"WPACFallback","1"):t,p=jQuery(i);if(WPAC._Options.lazyLoadIntoElement&&"comments"!==WPAC._Options.lazyLoadInlineDisplayLocation&&(p=jQuery(WPAC._Options.lazyLoadInlineDisplayElement)),!p.length)return WPAC._Debug("error","Comment container on current page not found (selector: '%s')",i),WPAC._LoadFallbackUrl(d),!1;p.length>1&&(WPAC._Debug("error","Comment form on requested page found multiple times (selector: '%s')",p),p=p.filter((function(){return jQuery(this).children().length>0&&!jQuery(this).is(":header")})));var f=WPAC._ExtractBody(e);if(!1===f)return WPAC._Debug("error","Unsupported server response, unable to extract body (data: '%s')",e),WPAC._LoadFallbackUrl(d),!1;""!==l&&new Function("extractedBody",l)(f);var m=new CustomEvent("wpacBeforeSelectElements",{detail:{extractedBody:f}});document.dispatchEvent(m);var h=f.find(i);if(!h.length)return WPAC._Debug("error","Comment container on requested page not found (selector: '%s')",i),WPAC._LoadFallbackUrl(d),!1;if(h.length>1){WPAC._Debug("error","Comment form on requested page found multiple times (selector: '%s')",h);var y=(h=h.filter((function(){return jQuery(this).children().length>0&&!jQuery(this).is(":header")}))).find(a);y.length&&y.remove()}""!==c&&new Function("extractedBody","commentUrl",c)(f,t);var g=new CustomEvent("wpacBeforeUpdateComments",{detail:{newDom:f,commentUrl:t}});document.dispatchEvent(g);var C=WPAC._ExtractTitle(e);if(!1!==f&&(document.title=jQuery("<textarea />").html(C).text()),p.empty(),p.append(h.children()),WPAC._Options.commentsEnabled){var b=jQuery(s);if(b.length){if(!b.parents(i).length){WPAC._Debug("info","Replace comment form...");var P=f.find(s);if(0==P.length)return WPAC._Debug("error","Comment form on requested page not found (selector: '%s')",s),WPAC._LoadFallbackUrl(d),!1;b.replaceWith(P)}}else{WPAC._Debug("info","Try to re-inject comment form...");var A=jQuery("#wp-temp-form-div");if(!A.length)return WPAC._Debug("error","WordPress' #wp-temp-form-div container not found",a),WPAC._LoadFallbackUrl(d),!1;var w=f.find(a);if(!w.length)return WPAC._Debug("error","Respond container on requested page not found (selector: '%s')",a),WPAC._LoadFallbackUrl(d),!1;A.replaceWith(w)}if(n&&jQuery.each(n,(function(e,t){var o=jQuery("[name='"+t.name+"']",s);1!=o.length||o.val()||o.val(t.value)})),r){var v=jQuery("[name='"+r+"']",s);v&&v.focus()}}""!==u&&new Function("extractedBody","commentUrl",u)(f,t);var W=new CustomEvent("wpacAfterUpdateComments",{detail:{newDom:f,commentUrl:t}});return document.dispatchEvent(W),!0},WPAC._TestCrossDomainScripting=function(e){if(0!=e.indexOf("http"))return!1;var t=window.location.protocol+"//"+window.location.host;return 0!=e.indexOf(t)},WPAC._TestFallbackUrl=function(e){var t=new URL(e).searchParams,o=t.get("WPACFallback"),n=t.get("WPACRandom");return o&&n},WPAC.AttachForm=function(e){if(e=jQuery.extend({selectorCommentForm:WPAC._Options.selectorCommentForm,selectorCommentPagingLinks:WPAC._Options.selectorCommentPagingLinks,beforeSelectElements:WPACCallbacks.beforeSelectElements,beforeSubmitComment:WPACCallbacks.beforeSubmitComment,afterPostComment:WPACCallbacks.afterPostComment,selectorCommentsContainer:WPAC._Options.selectorCommentsContainer,selectorRespondContainer:WPAC._Options.selectorRespondContainer,beforeUpdateComments:WPACCallbacks.beforeUpdateComments,afterUpdateComments:WPACCallbacks.afterUpdateComments,scrollToAnchor:!WPAC._Options.disableScrollToAnchor,updateUrl:!WPAC._Options.disableUrlUpdate,selectorCommentLinks:WPAC._Options.selectorCommentLinks},e||{}),WPAC._Options.debug&&WPAC._Options.commentsEnabled&&(WPAC._Debug("info","Attach form..."),WPAC._DebugSelector("comment form",e.selectorCommentForm),WPAC._DebugSelector("comments container",e.selectorCommentsContainer),WPAC._DebugSelector("respond container",e.selectorRespondContainer),WPAC._DebugSelector("comment paging links",e.selectorCommentPagingLinks,!0),WPAC._DebugSelector("comment links",e.selectorCommentLinks,!0)),""!==WPACCallbacks.beforeSelectElements){new Function("dom",WPACCallbacks.beforeSelectElements)(jQuery(document));var t=new CustomEvent("wpacBeforeSelectElements",{detail:{dom:jQuery(document)}});document.dispatchEvent(t)}if(jQuery(document).on)var o=function(e,t,o){jQuery(document).on(e,t,o)};else o=jQuery(document).delegate?function(e,t,o){jQuery(document).delegate(t,e,o)}:function(e,t,o){jQuery(t).live(e,o)};o("click",e.selectorCommentPagingLinks,(function(t){var o=jQuery(this).attr("href");o&&(t.preventDefault(),WPAC.LoadComments(o,{selectorCommentForm:e.selectorCommentForm,selectorCommentsContainer:e.selectorCommentsContainer,selectorRespondContainer:e.selectorRespondContainer,beforeSelectElements:e.beforeSelectElements,beforeUpdateComments:e.beforeUpdateComments,afterUpdateComments:e.afterUpdateComments}))})),o("click",e.selectorCommentLinks,(function(t){var o=jQuery(this);if(!o.is(e.selectorCommentPagingLinks)){var n=o.attr("href"),r=new URL(n).hash;jQuery(r).length>0&&(e.updateUrl&&WPAC._UpdateUrl(n),WPAC._ScrollToAnchor(r,e.updateUrl),t.preventDefault())}})),WPAC._Options.commentsEnabled&&o("submit",e.selectorCommentForm,(function(t){var o=jQuery(this);if(""!==WPACCallbacks.beforeSubmitComment){new Function("dom",WPACCallbacks.beforeSubmitComment)(jQuery(document));var n=new CustomEvent("wpacBeforeSubmitComment",{detail:{dom:jQuery(document)}});document.dispatchEvent(n)}var r=o.attr("action");if(WPAC._TestCrossDomainScripting(r))WPAC._Options.debug&&!o.data("submitCrossDomain")&&(WPAC._Debug("error","Cross-domain scripting detected (submit url: '%s'), cancel AJAX request",r),WPAC._Debug("info","Sleep for 5s to enable analyzing debug messages..."),t.preventDefault(),o.data("submitCrossDomain",!0),window.setTimeout((function(){jQuery("#submit",o).remove(),o.submit()}),5e3));else if(t.preventDefault(),o.data("WPAC_SUBMITTING"))WPAC._Debug("info","Cancel submit, form is already submitting (Form: %o)",o);else{o.data("WPAC_SUBMITTING",!0),WPAC._ShowMessage(WPAC._Options.textPostComment,"loading",!0);var i=function(e){WPAC._Debug("info","Comment has not been posted"),WPAC._Debug("info","Try to extract error message (selector: '%s')...",WPAC._Options.selectorErrorContainer);var t=WPAC._ExtractBody(e);if(!1!==t){var o=t.find(WPAC._Options.selectorErrorContainer);if(o.length)return o=o.html(),WPAC._Debug("info","Error message '%s' successfully extracted",o),void WPAC._ShowMessage(o,"error",!0)}WPAC._Debug("error","Error message could not be extracted, use error message '%s'.",WPAC._Options.textUnknownError),WPAC._ShowMessage(WPAC._Options.textUnknownError,"error",!0)},s=jQuery.ajax({url:r,type:"POST",data:new FormData(this),processData:!1,contentType:!1,beforeSend:function(e){e.setRequestHeader("X-WPAC-REQUEST","1")},complete:function(e,t){o.removeData("WPAC_SUBMITTING",!0)},success:function(t){if(s.getResponseHeader("X-WPAC-ERROR"))return WPAC._Debug("info","Found error state X-WPAC-ERROR header.",o),void i(t);WPAC._Debug("info","Comment has been posted");var o=s.getResponseHeader("X-WPAC-URL");WPAC._Debug("info","Found comment URL '%s' in X-WPAC-URL header.",o);var n=s.getResponseHeader("X-WPAC-UNAPPROVED");if(WPAC._Debug("info","Found unapproved state '%s' in X-WPAC-UNAPPROVED",n),""!==WPACCallbacks.afterPostComment){new Function("commentUrl","unapproved",e.afterPostComment)(o,"1"==n);var r=new CustomEvent("wpacAfterPostComment",{detail:{commentUrl:o,unapproved:"1"==n}});document.dispatchEvent(r)}if(WPAC._ShowMessage("1"==n?WPAC._Options.textPostedUnapproved:WPAC._Options.textPosted,"success",!0),void 0!==window.wps_launch_confetti_cannon&&window.wps_launch_confetti_cannon(),WPAC._ReplaceComments(t,o,!1,{},"",e.selectorCommentsContainer,e.selectorCommentForm,e.selectorRespondContainer,e.beforeSelectElements,e.beforeUpdateComments,e.afterUpdateComments)&&o&&(e.updateUrl&&WPAC._UpdateUrl(o),e.scrollToAnchor)){var a=o.indexOf("#")>=0?o.substr(o.indexOf("#")):null;a&&(WPAC._Debug("info","Anchor '%s' extracted from comment URL '%s'",a,o),WPAC._ScrollToAnchor(a,e.updateUrl))}},error:function(e,t,o){if(0===e.status&&""===e.responseText)return WPAC._Debug("error","Comment seems to be posted, but loading comment update failed."),void WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"));i(e.responseText)}})}}))},WPAC._Initialized=!1,WPAC.Init=function(){if(WPAC._Initialized)return WPAC._Debug("info","Abort initialization (plugin already initialized)"),!1;if(WPAC._Initialized=!0,!WPAC._Options||!WPACCallbacks)return WPAC._Debug("error","Something unexpected happened, initialization failed. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Initializing version %s",WPAC._Options.version),WPAC._Options.debug){if(!jQuery||!jQuery.fn||!jQuery.fn.jquery)return WPAC._Debug("error","jQuery not found, abort initialization. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Found jQuery %s",jQuery.fn.jquery),!jQuery.blockUI||!jQuery.blockUI.version)return WPAC._Debug("error","jQuery blockUI not found, abort initialization. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Found jQuery blockUI %s",jQuery.blockUI.version),!jQuery.idleTimer)return WPAC._Debug("error","jQuery Idle Timer plugin not found, abort initialization. Please try to reinstall the plugin."),!1;WPAC._Debug("info","Found jQuery Idle Timer plugin")}return WPAC._Options.selectorPostContainer?(WPAC._Debug("info","Multiple comment form support enabled (selector: '%s')",WPAC._Options.selectorPostContainer),jQuery(WPAC._Options.selectorPostContainer).each((function(e,t){var o=jQuery(t).attr("id");o?WPAC.AttachForm({selectorCommentForm:"#"+o+" "+WPAC._Options.selectorCommentForm,selectorCommentPagingLinks:"#"+o+" "+WPAC._Options.selectorCommentPagingLinks,selectorCommentsContainer:"#"+o+" "+WPAC._Options.selectorCommentsContainer,selectorRespondContainer:"#"+o+" "+WPAC._Options.selectorRespondContainer}):WPAC._Debug("info","Skip post container element %o (ID not defined)",t)}))):WPAC.AttachForm(),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-loading a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is the loading preview...","loadingPreview",!0)})),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-success a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is a success message","success",!0)})),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-error a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is an error message","error",!0)})),WPAC._Options.commentsEnabled&&WPAC._Options.autoUpdateIdleTime>0&&(WPAC._Debug("info","Auto updating comments enabled (idle time: %s)",WPAC._Options.autoUpdateIdleTime),WPAC._InitIdleTimer()),WPAC._Debug("info","Initialization completed"),!0},WPAC._OnIdle=function(){WPAC.RefreshComments({success:WPAC._InitIdleTimer,scrollToAnchor:!1})},WPAC._InitIdleTimer=function(){WPAC._TestFallbackUrl(location.href)?WPAC._Debug("error","Fallback URL was detected (url: '%s'), cancel init idle timer",location.href):(jQuery(document).idleTimer("destroy"),jQuery(document).idleTimer(WPAC._Options.autoUpdateIdleTime),jQuery(document).on("idle.idleTimer",WPAC._OnIdle))},WPAC.RefreshComments=function(e){return WPAC._TestFallbackUrl(location.href)?(WPAC._Debug("error","Fallback URL was detected (url: '%s'), cancel AJAX request",location.href),!1):WPAC.LoadComments(location.href,e)},WPAC.LoadComments=function(e,t){if(WPAC._TestCrossDomainScripting(e))return WPAC._Debug("error","Cross-domain scripting detected (url: '%s'), cancel AJAX request",e),!1;"boolean"==typeof t&&(t={scrollToAnchor:t}),t=jQuery.extend({scrollToAnchor:!WPAC._Options.disableScrollToAnchor,showLoadingInfo:!0,updateUrl:!WPAC._Options.disableUrlUpdate,success:function(){},selectorCommentForm:WPAC._Options.selectorCommentForm,selectorCommentsContainer:WPAC._Options.selectorCommentsContainer,selectorRespondContainer:WPAC._Options.selectorRespondContainer,disableCache:WPAC._Options.disableCache,beforeSelectElements:WPACCallbacks.beforeSelectElements,beforeUpdateComments:WPACCallbacks.beforeUpdateComments,afterUpdateComments:WPACCallbacks.afterUpdateComments},t||{});var o=jQuery(t.selectorCommentForm).serializeArray(),n=document.activeElement?jQuery("[name='"+document.activeElement.name+"']",t.selectorCommentForm).attr("name"):"",r=new URL(e).searchParams;if(r.has("ajaxifyLazyLoadEnable")){var i=r.get("ajaxifyLazyLoadEnable"),s=r.get("nonce"),a=r.get("post_id");e=WPAC._AddQueryParamStringToUrl(e,"ajaxifyLazyLoadEnable",i),e=WPAC._AddQueryParamStringToUrl(e,"nonce",s),e=WPAC._AddQueryParamStringToUrl(e,"post_id",a)}return t.disableCache&&(e=WPAC._AddQueryParamStringToUrl(e,"WPACRandom",(new Date).getTime())),jQuery.ajax({url:e,type:"GET",beforeSend:function(e){e.setRequestHeader("X-WPAC-REQUEST","1")},success:function(r){try{if(!WPAC._ReplaceComments(r,e,!0,o,n,t.selectorCommentsContainer,t.selectorCommentForm,t.selectorRespondContainer,t.beforeSelectElements,t.beforeUpdateComments,t.afterUpdateComments))return;t.updateUrl&&WPAC._UpdateUrl(e);var i=!1;if(t.scrollToAnchor){var s=e.indexOf("#")>=0?e.substr(e.indexOf("#")):null;s&&(WPAC._Debug("info","Anchor '%s' extracted from url",s),WPAC._ScrollToAnchor(s,t.updateUrl,(function(){t.success()}))&&(i=!0))}}catch(e){WPAC._Debug("error","Something went wrong while refreshing comments: %s",e)}jQuery.unblockUI(),i||t.success()},error:function(){WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"))}}),!0},jQuery((function(){var e=WPAC.Init();if(!0===WPAC._Options.lazyLoadEnabled){if(!e)return void WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"));WPAC._Options.lazyLoadTrigger;var t=WPAC._Options.lazyLoadTrigger,o=parseInt(WPAC._Options.lazyLoadTriggerScrollOffset),n=WPAC._Options.lazyLoadTriggerElement,r=WPAC._Options.lazyLoadInlineLoadingType,i=parseInt(WPAC._Options.lazyLoadTriggerOffset);0===i&&(i="100%");var s="inline"===WPAC._Options.lazyLoadDisplay,a=WPAC._Options.lazyLoadInlineDisplayLocation;if(s&&WPAC._Options.lazyLoadIntoElement){var l=WPAC._Options.lazyLoadInlineDisplayElement;"comments"===a&&(l=WPAC._Options.selectorCommentsContainer);var c=document.querySelector("#wpac-lazy-load-content");if(null!==c){var u=jQuery.clone(c);if(u.id="wpac-lazy-load-content-clone","button"===r&&(t="external"),"comments"===a){var d=jQuery(l);if(d){var p=d.find(".wp-block-comments-title, .comments-title");p.length>0?jQuery(p).after(u):d.prepend(u)}else WPAC._Debug("error","Comments container not found for lazy loading when reaching the comments section.")}else if("element"===a){var f=jQuery(l);f?(jQuery(f).prepend(u),jQuery(f).removeAttr("style")):WPAC._Debug("error","Element not found for lazy loading when reaching the element.")}var m=document.querySelector(".ajaxify-comments-loading-button-wrapper button");null!==m&&m.addEventListener("click",(function(e){e.preventDefault(),m.innerHTML=WPAC._Options.lazyLoadInlineButtonLabelLoading,WPAC.RefreshComments()}))}}switch(WPAC._Debug("info","Loading comments asynchronously with secondary AJAX request (trigger: '%s')",t),window.location.hash&&/^#comment-[0-9]+$/.test(window.location.hash)&&(WPAC._Debug("info","Comment anchor in URL detected, force loading comments on DomReady (hash: '%s')",window.location.hash),t="domready"),t){case"external":WPAC._Debug("info","Lazy loading: Waiting on external trigger for lazy loading comments.",window.location.hash);break;case"comments":var h=document.querySelector(WPAC._Options.selectorCommentsContainer);null!==h?(WPAC._Debug("info","Lazy loading: Waiting on comments to scroll into view for lazy loading.",window.location.hash),jQuery(h).waypoint((function(e){this.destroy(),WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments()}),{offset:o||"100%"})):WPAC._Debug("error","Comments container not found for lazy loading when reaching the comments section.");break;case"element":var y=document.querySelector(n);null!==y?(WPAC._Debug("info","Lazy loading: Waiting on element to scroll into view for lazy loading.",window.location.hash),jQuery(y).waypoint((function(e){this.destroy(),"button"!==r&&s&&(WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments())}),{offset:o||"100%"})):WPAC._Debug("error","Element not found for lazy loading when reaching the element.");break;case"domready":"button"!==r&&s&&(WPAC._Debug("info","Lazy loading: Waiting on Dom to be ready for lazy loading.",window.location.hash),WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments({scrollToAnchor:!0}));break;case"scroll":WPAC._Debug("info","Lazy loading: Waiting on Scroll Into View.",window.location.hash);var g=document.querySelector("body");jQuery(g).waypoint((function(e){this.destroy(),"button"!==r&&"inline"===r&&(WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments())}),{offset:-1*o})}}}))},9567:e=>{"use strict";e.exports=window.jQuery}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,o),i.exports}o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";o(2106),o(9014),o(8515),o(2084),o(269)})()})();
     2(()=>{var e={8515:()=>{function e(t){return e="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},e(t)}var t;(t=jQuery).idleTimer=function(o,n){var r;"object"===e(o)?(r=o,o=null):"number"==typeof o&&(r={timeout:o},o=null),n=n||document,r=t.extend({idle:!1,timeout:3e4,events:"mousemove keydown wheel DOMMouseScroll mousewheel mousedown touchstart touchmove MSPointerDown MSPointerMove"},r);var i=t(n),s=i.data("idleTimerObj")||{},a=function(e){var o=t.data(n,"idleTimerObj")||{};o.idle=!o.idle,o.olddate=+new Date;var r=t.Event((o.idle?"idle":"active")+".idleTimer");t(n).trigger(r,[n,t.extend({},o),e])},l=function(e){var o=t.data(n,"idleTimerObj")||{};if(("storage"!==e.type||e.originalEvent.key===o.timerSyncId)&&null==o.remaining){if("mousemove"===e.type){if(e.pageX===o.pageX&&e.pageY===o.pageY)return;if(void 0===e.pageX&&void 0===e.pageY)return;if(+new Date-o.olddate<200)return}clearTimeout(o.tId),o.idle&&a(e),o.lastActive=+new Date,o.pageX=e.pageX,o.pageY=e.pageY,"storage"!==e.type&&o.timerSyncId&&"undefined"!=typeof localStorage&&localStorage.setItem(o.timerSyncId,o.lastActive),o.tId=setTimeout(a,o.timeout)}},c=function(){var e=t.data(n,"idleTimerObj")||{};e.idle=e.idleBackup,e.olddate=+new Date,e.lastActive=e.olddate,e.remaining=null,clearTimeout(e.tId),e.idle||(e.tId=setTimeout(a,e.timeout))};if(null===o&&void 0!==s.idle)return c(),i;if(null===o);else{if(null!==o&&void 0===s.idle)return!1;if("destroy"===o)return function(){var e=t.data(n,"idleTimerObj")||{};clearTimeout(e.tId),i.removeData("idleTimerObj"),i.off("._idleTimer")}(),i;if("pause"===o)return function(){var e=t.data(n,"idleTimerObj")||{};null==e.remaining&&(e.remaining=e.timeout-(+new Date-e.olddate),clearTimeout(e.tId))}(),i;if("resume"===o)return function(){var e=t.data(n,"idleTimerObj")||{};null!=e.remaining&&(e.idle||(e.tId=setTimeout(a,e.remaining)),e.remaining=null)}(),i;if("reset"===o)return c(),i;if("getRemainingTime"===o)return function(){var e=t.data(n,"idleTimerObj")||{};if(e.idle)return 0;if(null!=e.remaining)return e.remaining;var o=e.timeout-(+new Date-e.lastActive);return o<0&&(o=0),o}();if("getElapsedTime"===o)return+new Date-s.olddate;if("getLastActiveTime"===o)return s.lastActive;if("isIdle"===o)return s.idle}return i.on((r.events+" ").split(" ").join("._idleTimer ").trim(),(function(e){l(e)})),r.timerSyncId&&t(window).on("storage",l),(s=t.extend({},{olddate:+new Date,lastActive:+new Date,idle:r.idle,idleBackup:r.idle,timeout:r.timeout,remaining:null,timerSyncId:r.timerSyncId,tId:null,pageX:null,pageY:null})).idle||(s.tId=setTimeout(a,s.timeout)),t.data(n,"idleTimerObj",s),i},t.fn.idleTimer=function(e){return this[0]?t.idleTimer(e,this[0]):this}},9014:(e,t,o)=>{var n,r,i;!function(){"use strict";function s(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),r=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){a(window,e)},e.unblockUI=function(e){l(window,e)},e.growlUI=function(t,o,n,r){var i=e('<div class="growlUI"></div>');t&&i.append("<h1>"+t+"</h1>"),o&&i.append("<h2>"+o+"</h2>"),void 0===n&&(n=3e3);var s=function(t){t=t||{},e.blockUI({message:i,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:r,css:e.blockUI.defaults.growlCSS})};s(),i.css("opacity"),i.mouseover((function(){s({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)})).mouseout((function(){e(".blockMsg").fadeOut(1e3)}))},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each((function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})})),this.each((function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,a(this,t)}))},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each((function(){l(this,t)}))},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var i=null,s=[];function a(a,c){var d,m,h=a==window,y=c&&void 0!==c.message?c.message:void 0;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(a).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),d=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),m=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),y=void 0===y?c.message:y,h&&i&&l(window,{fadeOut:0}),y&&"string"!=typeof y&&(y.parentNode||y.jquery)){var g=y.jquery?y[0]:y,C={};e(a).data("blockUI.history",C),C.el=g,C.parent=g.parentNode,C.display=g.style.display,C.position=g.style.position,C.parent&&C.parent.removeChild(g)}e(a).data("blockUI.onUnblock",c.onUnblock);var b,P,A,w,v=c.baseZ;b=o||c.forceIframe?e('<iframe class="blockUI" style="z-index:'+v+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+c.iframeSrc+'"></iframe>'):e('<div class="blockUI" style="display:none"></div>'),P=c.theme?e('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+v+++';display:none"></div>'):e('<div class="blockUI blockOverlay" style="z-index:'+v+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c.theme&&h?(w='<div class="blockUI '+c.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(v+10)+';display:none;position:fixed">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):c.theme?(w='<div class="blockUI '+c.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(v+10)+';display:none;position:absolute">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):w=h?'<div class="blockUI '+c.blockMsgClass+' blockPage" style="z-index:'+(v+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+c.blockMsgClass+' blockElement" style="z-index:'+(v+10)+';display:none;position:absolute"></div>',A=e(w),y&&(c.theme?(A.css(m),A.addClass("ui-widget-content")):A.css(d)),c.theme||P.css(c.overlayCSS),P.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&b.css("opacity",0);var W=[b,P,A],_=e(h?"body":a);e.each(W,(function(){this.appendTo(_)})),c.theme&&c.draggable&&e.fn.draggable&&A.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var k=r&&(!e.support.boxModel||e("object,embed",h?null:a).length>0);if(n||k){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var x=f(a,"borderTopWidth"),S=f(a,"borderLeftWidth"),O=x?"(0 - "+x+")":0,U=S?"(0 - "+S+")":0;e.each(W,(function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),U&&o.setExpression("left",U),O&&o.setExpression("top",O);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}}))}if(y&&(c.theme?A.find(".ui-widget-content").append(y):A.append(y),(y.jquery||y.nodeType)&&e(y).show()),(o||c.forceIframe)&&c.showOverlay&&b.show(),c.fadeIn){var T=c.onBlock?c.onBlock:t,I=c.showOverlay&&!y?T:t,j=y?T:t;c.showOverlay&&P._fadeIn(c.fadeIn,I),y&&A._fadeIn(c.fadeIn,j)}else c.showOverlay&&P.show(),y&&A.show(),c.onBlock&&c.onBlock.bind(A)();if(u(1,a,c),h?(i=A[0],s=e(c.focusableElements,i),c.focusInput&&setTimeout(p,20)):function(e,t,o){var n=e.parentNode,r=e.style,i=(n.offsetWidth-e.offsetWidth)/2-f(n,"borderLeftWidth"),s=(n.offsetHeight-e.offsetHeight)/2-f(n,"borderTopWidth");t&&(r.left=i>0?i+"px":"0"),o&&(r.top=s>0?s+"px":"0")}(A[0],c.centerX,c.centerY),c.timeout){var E=setTimeout((function(){h?e.unblockUI(c):e(a).unblock(c)}),c.timeout);e(a).data("blockUI.timeout",E)}}}function l(t,o){var n,r,a=t==window,l=e(t),d=l.data("blockUI.history"),p=l.data("blockUI.timeout");p&&(clearTimeout(p),l.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),u(0,t,o),null===o.onUnblock&&(o.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),r=a?e("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),o.cursorReset&&(r.length>1&&(r[1].style.cursor=o.cursorReset),r.length>2&&(r[2].style.cursor=o.cursorReset)),a&&(i=s=null),o.fadeOut?(n=r.length,r.stop().fadeOut(o.fadeOut,(function(){0==--n&&c(r,d,o,t)}))):c(r,d,o,t)}function c(t,o,n,r){var i=e(r);if(!i.data("blockUI.isBlocked")){t.each((function(e,t){this.parentNode&&this.parentNode.removeChild(this)})),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),i.removeData("blockUI.history")),i.data("blockUI.static")&&i.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(r,n);var s=e(document.body),a=s.width(),l=s[0].style.width;s.width(a-1).width(a),s[0].style.width=l}}function u(t,o,n){var r=o==window,s=e(o);if((t||(!r||i)&&(r||s.data("blockUI.isBlocked")))&&(s.data("blockUI.isBlocked",t),r&&n.bindEvents&&(!t||n.showOverlay))){var a="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(a,n,d):e(document).unbind(a,d)}}function d(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&i&&t.data.constrainTabKey){var o=s,n=!t.shiftKey&&t.target===o[o.length-1],r=t.shiftKey&&t.target===o[0];if(n||r)return setTimeout((function(){p(r)}),10),!1}var a=t.data,l=e(t.target);return l.hasClass("blockOverlay")&&a.onOverlayClick&&a.onOverlayClick(t),l.parents("div."+a.blockMsgClass).length>0||0===l.parents().children().filter("div.blockUI").length}function p(e){if(s){var t=s[!0===e?s.length-1:0];t&&t.focus()}}function f(t,o){return parseInt(e.css(t,o),10)||0}}o.amdO.jQuery?(r=[o(9567)],void 0===(i="function"==typeof(n=s)?n.apply(t,r):n)||(e.exports=i)):s(jQuery)}()},2084:()=>{!function(){"use strict";var e=0,t={};function o(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw console.log("options",n),new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=o.Adapter.extend({},o.defaults,n),this.element=this.options.element,this.adapter=new o.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=o.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=o.Context.findOrCreateByElement(this.options.context),o.offsetAliases[this.options.offset]&&(this.options.offset=o.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),t[this.key]=this,e+=1}o.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},o.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},o.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete t[this.key]},o.prototype.disable=function(){return this.enabled=!1,this},o.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},o.prototype.next=function(){return this.group.next(this)},o.prototype.previous=function(){return this.group.previous(this)},o.invokeAll=function(e){var o=[];for(var n in t)o.push(t[n]);for(var r=0,i=o.length;r<i;r++)o[r][e]()},o.destroyAll=function(){o.invokeAll("destroy")},o.disableAll=function(){o.invokeAll("disable")},o.enableAll=function(){for(var e in o.Context.refreshAll(),t)t[e].enabled=!0;return this},o.refreshAll=function(){o.Context.refreshAll()},o.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},o.viewportWidth=function(){return document.documentElement.clientWidth},o.adapters=[],o.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},o.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=o}(),function(){"use strict";function e(e){window.setTimeout(e,1e3/60)}var t=0,o={},n=window.Waypoint,r=window.onload;function i(e){this.element=e,this.Adapter=n.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+t,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,o[e.waypointContextKey]=this,t+=1,n.windowContext||(n.windowContext=!0,n.windowContext=new i(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}i.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},i.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical),n=this.element==this.element.window;e&&t&&!n&&(this.adapter.off(".waypoints"),delete o[this.key])},i.prototype.createThrottledResizeHandler=function(){var e=this;function t(){e.handleResize(),e.didResize=!1}this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))}))},i.prototype.createThrottledScrollHandler=function(){var e=this;function t(){e.handleScroll(),e.didScroll=!1}this.adapter.on("scroll.waypoints",(function(){e.didScroll&&!n.isTouch||(e.didScroll=!0,n.requestAnimationFrame(t))}))},i.prototype.handleResize=function(){n.Context.refreshAll()},i.prototype.handleScroll=function(){var e={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var o in t){var n=t[o],r=n.newScroll>n.oldScroll?n.forward:n.backward;for(var i in this.waypoints[o]){var s=this.waypoints[o][i];if(null!==s.triggerPoint){var a=n.oldScroll<s.triggerPoint,l=n.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(r),e[s.group.id]=s.group)}}}for(var c in e)e[c].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},i.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},i.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},i.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},i.prototype.destroy=function(){var e=[];for(var t in this.waypoints)for(var o in this.waypoints[t])e.push(this.waypoints[t][o]);for(var n=0,r=e.length;n<r;n++)e[n].destroy()},i.prototype.refresh=function(){var e,t=this.element==this.element.window,o=t?void 0:this.adapter.offset(),r={};for(var i in this.handleScroll(),e={horizontal:{contextOffset:t?0:o.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:o.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=e[i];for(var a in this.waypoints[i]){var l,c,u,d,p=this.waypoints[i][a],f=p.options.offset,m=p.triggerPoint,h=0,y=null==m;p.element!==p.element.window&&(h=p.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(p):"string"==typeof f&&(f=parseFloat(f),p.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,p.triggerPoint=Math.floor(h+l-f),c=m<s.oldScroll,u=p.triggerPoint>=s.oldScroll,d=!c&&!u,!y&&c&&u?(p.queueTrigger(s.backward),r[p.group.id]=p.group):(!y&&d||y&&s.oldScroll>=p.triggerPoint)&&(p.queueTrigger(s.forward),r[p.group.id]=p.group)}}return n.requestAnimationFrame((function(){for(var e in r)r[e].flushTriggers()})),this},i.findOrCreateByElement=function(e){return i.findByElement(e)||new i(e)},i.refreshAll=function(){for(var e in o)o[e].refresh()},i.findByElement=function(e){return o[e.waypointContextKey]},window.onload=function(){r&&r(),i.refreshAll()},n.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},n.Context=i}(),function(){"use strict";function e(e,t){return e.triggerPoint-t.triggerPoint}function t(e,t){return t.triggerPoint-e.triggerPoint}var o={vertical:{},horizontal:{}},n=window.Waypoint;function r(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}r.prototype.add=function(e){this.waypoints.push(e)},r.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},r.prototype.flushTriggers=function(){for(var o in this.triggerQueues){var n=this.triggerQueues[o],r="up"===o||"left"===o;n.sort(r?t:e);for(var i=0,s=n.length;i<s;i+=1){var a=n[i];(a.options.continuous||i===n.length-1)&&a.trigger([o])}}this.clearTriggerQueues()},r.prototype.next=function(t){this.waypoints.sort(e);var o=n.Adapter.inArray(t,this.waypoints);return o===this.waypoints.length-1?null:this.waypoints[o+1]},r.prototype.previous=function(t){this.waypoints.sort(e);var o=n.Adapter.inArray(t,this.waypoints);return o?this.waypoints[o-1]:null},r.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},r.prototype.remove=function(e){var t=n.Adapter.inArray(e,this.waypoints);t>-1&&this.waypoints.splice(t,1)},r.prototype.first=function(){return this.waypoints[0]},r.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},r.findOrCreate=function(e){return o[e.axis][e.name]||new r(e)},n.Group=r}(),function(){"use strict";var e=window.jQuery,t=window.Waypoint;function o(t){this.$element=e(t)}e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,t){o.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}})),e.each(["extend","inArray","isEmptyObject"],(function(t,n){o[n]=e[n]})),t.adapters.push({name:"jquery",Adapter:o}),t.Adapter=o}(),function(){"use strict";var e=window.Waypoint;function t(t){return function(){var o=[],n=arguments[0];return t.isFunction(arguments[0])&&((n=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var r=t.extend({},n,{element:this});"string"==typeof r.context&&(r.context=t(this).closest(r.context)[0]),o.push(new e(r))})),o}}window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()},2106:function(e,t,o){var n;!function(r){var i={starts_with_slashes:/^\/+/,ends_with_slashes:/\/+$/,pluses:/\+/g,query_separator:/[&;]/,uri_parser:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*)(?::([^:@]*))?)?@)?(\[[0-9a-fA-F:.]+\]|[^:\/?#]*)(?::(\d+|(?=:)))?(:)?)((((?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/};function s(e){return e&&(e=e.toString().replace(i.pluses,"%20"),e=decodeURIComponent(e)),e}function a(e){var t,o,n,r,a,l,c,u=[];if(null==e||""===e)return u;for(0===e.indexOf("?")&&(e=e.substring(1)),t=0,c=(o=e.toString().split(i.query_separator)).length;t<c;t++)0!==(r=(n=o[t]).indexOf("="))&&(a=s(n.substring(0,r)),l=s(n.substring(r+1)),u.push(-1===r?[n,null]:[a,l]));return u}function l(e){this.uriParts=function(e){var t=i.uri_parser.exec(e||""),o={};return["source","protocol","authority","userInfo","user","password","host","port","isColonUri","relative","path","directory","file","query","anchor"].forEach((function(e,n){o[e]=t[n]||""})),o}(e),this.queryPairs=a(this.uriParts.query),this.hasAuthorityPrefixUserPref=null}Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var o,n;if(null==this)throw new TypeError(" this is null or not defined");var r=Object(this),i=r.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(o=t),n=0;n<i;){var s;n in r&&(s=r[n],e.call(o,s,n,r)),n++}}),["protocol","userInfo","host","port","path","anchor"].forEach((function(e){l.prototype[e]=function(t){return void 0!==t&&(this.uriParts[e]=t),this.uriParts[e]}})),l.prototype.hasAuthorityPrefix=function(e){return void 0!==e&&(this.hasAuthorityPrefixUserPref=e),null===this.hasAuthorityPrefixUserPref?-1!==this.uriParts.source.indexOf("//"):this.hasAuthorityPrefixUserPref},l.prototype.isColonUri=function(e){if(void 0===e)return!!this.uriParts.isColonUri;this.uriParts.isColonUri=!!e},l.prototype.query=function(e){var t,o,n,r="";for(void 0!==e&&(this.queryPairs=a(e)),t=0,n=this.queryPairs.length;t<n;t++)o=this.queryPairs[t],r.length>0&&(r+="&"),null===o[1]?r+=o[0]:(r+=o[0],r+="=",void 0!==o[1]&&(r+=encodeURIComponent(o[1])));return r.length>0?"?"+r:r},l.prototype.getQueryParamValue=function(e){var t,o,n;for(o=0,n=this.queryPairs.length;o<n;o++)if(e===(t=this.queryPairs[o])[0])return t[1]},l.prototype.getQueryParamValues=function(e){var t,o,n,r=[];for(t=0,n=this.queryPairs.length;t<n;t++)e===(o=this.queryPairs[t])[0]&&r.push(o[1]);return r},l.prototype.deleteQueryParam=function(e,t){var o,n,r,i,a,l=[];for(o=0,a=this.queryPairs.length;o<a;o++)r=s((n=this.queryPairs[o])[0])===s(e),i=n[1]===t,(1!==arguments.length||r)&&(2!==arguments.length||r&&i)||l.push(n);return this.queryPairs=l,this},l.prototype.addQueryParam=function(e,t,o){return 3===arguments.length&&-1!==o?(o=Math.min(o,this.queryPairs.length),this.queryPairs.splice(o,0,[e,t])):arguments.length>0&&this.queryPairs.push([e,t]),this},l.prototype.hasQueryParam=function(e){var t,o=this.queryPairs.length;for(t=0;t<o;t++)if(this.queryPairs[t][0]==e)return!0;return!1},l.prototype.replaceQueryParam=function(e,t,o){var n,r,i=-1,a=this.queryPairs.length;if(3===arguments.length){for(n=0;n<a;n++)if(s((r=this.queryPairs[n])[0])===s(e)&&decodeURIComponent(r[1])===s(o)){i=n;break}i>=0&&this.deleteQueryParam(e,s(o)).addQueryParam(e,t,i)}else{for(n=0;n<a;n++)if(s((r=this.queryPairs[n])[0])===s(e)){i=n;break}this.deleteQueryParam(e),this.addQueryParam(e,t,i)}return this},["protocol","hasAuthorityPrefix","isColonUri","userInfo","host","port","path","query","anchor"].forEach((function(e){var t="set"+e.charAt(0).toUpperCase()+e.slice(1);l.prototype[t]=function(t){return this[e](t),this}})),l.prototype.scheme=function(){var e="";return this.protocol()?(e+=this.protocol(),this.protocol().indexOf(":")!==this.protocol().length-1&&(e+=":"),e+="//"):this.hasAuthorityPrefix()&&this.host()&&(e+="//"),e},l.prototype.origin=function(){var e=this.scheme();return this.userInfo()&&this.host()&&(e+=this.userInfo(),this.userInfo().indexOf("@")!==this.userInfo().length-1&&(e+="@")),this.host()&&(e+=this.host(),(this.port()||this.path()&&this.path().substr(0,1).match(/[0-9]/))&&(e+=":"+this.port())),e},l.prototype.addTrailingSlash=function(){var e=this.path()||"";return"/"!==e.substr(-1)&&this.path(e+"/"),this},l.prototype.toString=function(){var e,t=this.origin();return this.isColonUri()?this.path()&&(t+=":"+this.path()):this.path()?(e=this.path(),i.ends_with_slashes.test(t)||i.starts_with_slashes.test(e)?(t&&t.replace(i.ends_with_slashes,"/"),e=e.replace(i.starts_with_slashes,"/")):t+="/",t+=e):this.host()&&(this.query().toString()||this.anchor())&&(t+="/"),this.query().toString()&&(t+=this.query().toString()),this.anchor()&&(0!==this.anchor().indexOf("#")&&(t+="#"),t+=this.anchor()),t},l.prototype.clone=function(){return new l(this.toString())},void 0===(n=function(){return l}.call(t,o,t,e))||(e.exports=n)}()},269:()=>{function e(t){return e="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},e(t)}WPAC._Options=WPAC._Options||{},WPAC._BodyRegex=new RegExp("<body[^>]*>((.|\n|\r)*)</body>","i"),WPAC._ExtractBody=function(e){try{return jQuery("<div>"+WPAC._BodyRegex.exec(e)[1]+"</div>")}catch(e){return!1}},WPAC._TitleRegex=new RegExp("<title[^>]*>(.*?)<\\/title>","im"),WPAC._ExtractTitle=function(e){try{return WPAC._TitleRegex.exec(e)[1]}catch(e){return!1}},WPAC._ShowMessage=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=WPAC._Options.lazyLoadDisplay;if(!WPAC._Options.lazyLoadEnabled||"overlay"===n||o){var r=WPAC._Options.popupMarginTop+(jQuery("#wpadminbar").outerHeight()||0),i=WPAC._Options.popupBackgroundColorLoading,s=WPAC._Options.popupTextColorLoading;"error"==t?(i=WPAC._Options.popupBackgroundColorError,s=WPAC._Options.popupTextColorError):"success"==t&&(i=WPAC._Options.popupBackgroundColorSuccess,s=WPAC._Options.popupTextColorSuccess);var a="verticalStart"===WPAC._Options.popupVerticalAlign?r+"px":"unset";"verticalCenter"===WPAC._Options.popupVerticalAlign&&(a="45%"),jQuery.blockUI({blockMsgClass:"wpac-overlay",message:e,fadeIn:WPAC._Options.popupFadeIn,fadeOut:WPAC._Options.popupFadeOut,timeout:"loading"==t?0:WPAC._Options.popupTimeout,centerY:!1,centerX:!0,showOverlay:!0,css:{width:"var(--wpac-popup-width)",left:"calc(50% - var(--wpac-popup-width) / 2)",top:a,bottom:"verticalEnd"===WPAC._Options.popupVerticalAlign?r+"px":"unset",border:"none",padding:WPAC._Options.popupPadding+"px",backgroundColor:i,"-webkit-border-radius":WPAC._Options.popupCornerRadius+"px","-moz-border-radius":WPAC._Options.popupCornerRadius+"px","border-radius":WPAC._Options.popupCornerRadius+"px",opacity:WPAC._Options.popupOpacity/100,color:s,textAlign:WPAC._Options.popupTextAlign,cursor:"loading"==t||"loadingPreview"==t?"wait":"default","font-size":WPAC._Options.popupTextFontSize},overlayCSS:{backgroundColor:WPAC._Options.popupOverlayBackgroundColor,opacity:WPAC._Options.popupOverlayBackgroundColorOpacity},baseZ:WPAC._Options.popupZindex})}},WPAC._DebugErrorShown=!1,WPAC._Debug=function(t,o){if(WPAC._Options.debug){if(Function.prototype.call&&Function.prototype.call.bind&&void 0!==window.console&&console&&"object"===e(console.log)&&void 0===window.console[t].apply&&(console[t]=Function.prototype.call.bind(console[t],console)),void 0===window.console||void 0===window.console[t]||void 0===window.console[t].apply)return WPAC._DebugErrorShown||alert("Unfortunately the console object is undefined or is not supported in your browser, debugging WP Ajaxify Comments is disabled! Please use Firebug, Google Chrome or Internet Explorer 9 or above with enabled Developer Tools (F12) for debugging WP Ajaxify Comments."),void(WPAC._DebugErrorShown=!0);var n=jQuery.merge(["[WP Ajaxify Comments] "+o],jQuery.makeArray(arguments).slice(2));console[t].apply(console,n)}},WPAC._DebugSelector=function(e,t,o){if(WPAC._Options.debug){var n=jQuery(t);n.length?WPAC._Debug("info","Search %s (selector: '%s')... Found: %o",e,t,n):WPAC._Debug(o?"info":"error","Search %s (selector: '%s')... Not found",e,t)}},WPAC._AddQueryParamStringToUrl=function(e,t,o){var n=new URL(e),r=n.searchParams;return r.set(t,o),n.search=r.toString(),n.toString()},WPAC._LoadFallbackUrl=function(e){WPAC._ShowMessage(WPAC._Options.textReloadPage,"loading");var t=WPAC._AddQueryParamStringToUrl(e,"WPACRandom",(new Date).getTime());WPAC._Debug("info","Something went wrong. Reloading page (URL: '%s')...",t);var o=function(){location.href=t};WPAC._Options.debug?(WPAC._Debug("info","Sleep for 5s to enable analyzing debug messages..."),window.setTimeout(o,5e3)):o()},WPAC._ScrollToAnchor=function(e,t,o){o=o||function(){};var n=jQuery(e);if(n.length){WPAC._Debug("info","Scroll to anchor element %o (scroll speed: %s ms)...",n,WPAC._Options.scrollSpeed);var r=function(){t&&(window.location.hash=e),o()},i=n.offset().top;return jQuery(window).scrollTop()==i?r():jQuery("html,body").animate({scrollTop:i},{duration:WPAC._Options.scrollSpeed,complete:r}),!0}return WPAC._Debug("error","Anchor element not found (selector: '%s')",e),!1},WPAC._UpdateUrl=function(e){e.split("#")[0]!=window.location.href.split("#")[0]&&(window.history.replaceState?window.history.replaceState({},window.document.title,e):WPAC._Debug("info","Browser does not support window.history.replaceState() to update the URL without reloading the page",anchor))},WPAC._ReplaceComments=function(e,t,o,n,r,i,s,a,l,c,u){jQuery("#wpac-lazy-load-content-clone").remove();var d=o?WPAC._AddQueryParamStringToUrl(t,"WPACFallback","1"):t,p=jQuery(i);if(WPAC._Options.lazyLoadIntoElement&&"comments"!==WPAC._Options.lazyLoadInlineDisplayLocation&&(p=jQuery(WPAC._Options.lazyLoadInlineDisplayElement)),!p.length)return WPAC._Debug("error","Comment container on current page not found (selector: '%s')",i),WPAC._LoadFallbackUrl(d),!1;p.length>1&&(WPAC._Debug("error","Comment form on requested page found multiple times (selector: '%s')",p),p=p.filter((function(){return jQuery(this).children().length>0&&!jQuery(this).is(":header")})));var f=WPAC._ExtractBody(e);if(!1===f)return WPAC._Debug("error","Unsupported server response, unable to extract body (data: '%s')",e),WPAC._LoadFallbackUrl(d),!1;""!==l&&new Function("extractedBody",l)(f);var m=new CustomEvent("wpacBeforeSelectElements",{detail:{extractedBody:f}});document.dispatchEvent(m);var h=f.find(i);if(!h.length)return WPAC._Debug("error","Comment container on requested page not found (selector: '%s')",i),WPAC._LoadFallbackUrl(d),!1;if(h.length>1){WPAC._Debug("error","Comment form on requested page found multiple times (selector: '%s')",h);var y=(h=h.filter((function(){return jQuery(this).children().length>0&&!jQuery(this).is(":header")}))).find(a);y.length&&y.remove()}""!==c&&new Function("extractedBody","commentUrl",c)(f,t);var g=new CustomEvent("wpacBeforeUpdateComments",{detail:{newDom:f,commentUrl:t}});document.dispatchEvent(g);var C=WPAC._ExtractTitle(e);if(!1!==f&&(document.title=jQuery("<textarea />").html(C).text()),p.empty(),p.append(h.children()),WPAC._Options.commentsEnabled){var b=jQuery(s);if(b.length){if(!b.parents(i).length){WPAC._Debug("info","Replace comment form...");var P=f.find(s);if(0==P.length)return WPAC._Debug("error","Comment form on requested page not found (selector: '%s')",s),WPAC._LoadFallbackUrl(d),!1;b.replaceWith(P)}}else{WPAC._Debug("info","Try to re-inject comment form...");var A=jQuery("#wp-temp-form-div");if(!A.length)return WPAC._Debug("error","WordPress' #wp-temp-form-div container not found",a),WPAC._LoadFallbackUrl(d),!1;var w=f.find(a);if(!w.length)return WPAC._Debug("error","Respond container on requested page not found (selector: '%s')",a),WPAC._LoadFallbackUrl(d),!1;A.replaceWith(w)}if(n&&jQuery.each(n,(function(e,t){var o=jQuery("[name='"+t.name+"']",s);1!=o.length||o.val()||o.val(t.value)})),r){var v=jQuery("[name='"+r+"']",s);v&&v.focus()}}""!==u&&new Function("extractedBody","commentUrl",u)(f,t);var W=new CustomEvent("wpacAfterUpdateComments",{detail:{newDom:f,commentUrl:t}});return document.dispatchEvent(W),!0},WPAC._TestCrossDomainScripting=function(e){if(0!=e.indexOf("http"))return!1;var t=window.location.protocol+"//"+window.location.host;return 0!=e.indexOf(t)},WPAC._TestFallbackUrl=function(e){var t=new URL(e).searchParams,o=t.get("WPACFallback"),n=t.get("WPACRandom");return o&&n},WPAC.AttachForm=function(e){if(e=jQuery.extend({selectorCommentForm:WPAC._Options.selectorCommentForm,selectorCommentPagingLinks:WPAC._Options.selectorCommentPagingLinks,beforeSelectElements:WPACCallbacks.beforeSelectElements,beforeSubmitComment:WPACCallbacks.beforeSubmitComment,afterPostComment:WPACCallbacks.afterPostComment,selectorCommentsContainer:WPAC._Options.selectorCommentsContainer,selectorRespondContainer:WPAC._Options.selectorRespondContainer,beforeUpdateComments:WPACCallbacks.beforeUpdateComments,afterUpdateComments:WPACCallbacks.afterUpdateComments,scrollToAnchor:!WPAC._Options.disableScrollToAnchor,updateUrl:!WPAC._Options.disableUrlUpdate,selectorCommentLinks:WPAC._Options.selectorCommentLinks},e||{}),WPAC._Options.debug&&WPAC._Options.commentsEnabled&&(WPAC._Debug("info","Attach form..."),WPAC._DebugSelector("comment form",e.selectorCommentForm),WPAC._DebugSelector("comments container",e.selectorCommentsContainer),WPAC._DebugSelector("respond container",e.selectorRespondContainer),WPAC._DebugSelector("comment paging links",e.selectorCommentPagingLinks,!0),WPAC._DebugSelector("comment links",e.selectorCommentLinks,!0)),""!==WPACCallbacks.beforeSelectElements){new Function("dom",WPACCallbacks.beforeSelectElements)(jQuery(document));var t=new CustomEvent("wpacBeforeSelectElements",{detail:{dom:jQuery(document)}});document.dispatchEvent(t)}if(jQuery(document).on)var o=function(e,t,o){jQuery(document).on(e,t,o)};else o=jQuery(document).delegate?function(e,t,o){jQuery(document).delegate(t,e,o)}:function(e,t,o){jQuery(t).live(e,o)};o("click",e.selectorCommentPagingLinks,(function(t){var o=jQuery(this).attr("href");o&&(t.preventDefault(),WPAC.LoadComments(o,{selectorCommentForm:e.selectorCommentForm,selectorCommentsContainer:e.selectorCommentsContainer,selectorRespondContainer:e.selectorRespondContainer,beforeSelectElements:e.beforeSelectElements,beforeUpdateComments:e.beforeUpdateComments,afterUpdateComments:e.afterUpdateComments}))})),o("click",e.selectorCommentLinks,(function(t){var o=jQuery(this);if(!o.is(e.selectorCommentPagingLinks)){var n=o.attr("href"),r=new URL(n).hash;jQuery(r).length>0&&(e.updateUrl&&WPAC._UpdateUrl(n),WPAC._ScrollToAnchor(r,e.updateUrl),t.preventDefault())}})),WPAC._Options.commentsEnabled&&o("submit",e.selectorCommentForm,(function(t){var o=jQuery(this);if(""!==WPACCallbacks.beforeSubmitComment){new Function("dom",WPACCallbacks.beforeSubmitComment)(jQuery(document));var n=new CustomEvent("wpacBeforeSubmitComment",{detail:{dom:jQuery(document)}});document.dispatchEvent(n)}var r=o.attr("action");if(WPAC._TestCrossDomainScripting(r))WPAC._Options.debug&&!o.data("submitCrossDomain")&&(WPAC._Debug("error","Cross-domain scripting detected (submit url: '%s'), cancel AJAX request",r),WPAC._Debug("info","Sleep for 5s to enable analyzing debug messages..."),t.preventDefault(),o.data("submitCrossDomain",!0),window.setTimeout((function(){jQuery("#submit",o).remove(),o.submit()}),5e3));else if(t.preventDefault(),o.data("WPAC_SUBMITTING"))WPAC._Debug("info","Cancel submit, form is already submitting (Form: %o)",o);else{o.data("WPAC_SUBMITTING",!0),WPAC._ShowMessage(WPAC._Options.textPostComment,"loading",!0);var i=function(e){WPAC._Debug("info","Comment has not been posted"),WPAC._Debug("info","Try to extract error message (selector: '%s')...",WPAC._Options.selectorErrorContainer);var t=WPAC._ExtractBody(e);if(!1!==t){var o=t.find(WPAC._Options.selectorErrorContainer);if(o.length)return o=o.html(),WPAC._Debug("info","Error message '%s' successfully extracted",o),void WPAC._ShowMessage(o,"error",!0)}WPAC._Debug("error","Error message could not be extracted, use error message '%s'.",WPAC._Options.textUnknownError),WPAC._ShowMessage(WPAC._Options.textUnknownError,"error",!0)},s=jQuery.ajax({url:r,type:"POST",data:new FormData(this),processData:!1,contentType:!1,beforeSend:function(e){e.setRequestHeader("X-WPAC-REQUEST","1")},complete:function(e,t){o.removeData("WPAC_SUBMITTING",!0)},success:function(t){if(s.getResponseHeader("X-WPAC-ERROR"))return WPAC._Debug("info","Found error state X-WPAC-ERROR header.",o),void i(t);WPAC._Debug("info","Comment has been posted");var o=s.getResponseHeader("X-WPAC-URL");WPAC._Debug("info","Found comment URL '%s' in X-WPAC-URL header.",o);var n=s.getResponseHeader("X-WPAC-UNAPPROVED");if(WPAC._Debug("info","Found unapproved state '%s' in X-WPAC-UNAPPROVED",n),""!==WPACCallbacks.afterPostComment){new Function("commentUrl","unapproved",e.afterPostComment)(o,"1"==n);var r=new CustomEvent("wpacAfterPostComment",{detail:{commentUrl:o,unapproved:"1"==n}});document.dispatchEvent(r)}if(WPAC._ShowMessage("1"==n?WPAC._Options.textPostedUnapproved:WPAC._Options.textPosted,"success",!0),void 0!==window.wps_launch_confetti_cannon&&window.wps_launch_confetti_cannon(),WPAC._ReplaceComments(t,o,!1,{},"",e.selectorCommentsContainer,e.selectorCommentForm,e.selectorRespondContainer,e.beforeSelectElements,e.beforeUpdateComments,e.afterUpdateComments)&&o&&(e.updateUrl&&WPAC._UpdateUrl(o),e.scrollToAnchor)){var a=o.indexOf("#")>=0?o.substr(o.indexOf("#")):null;a&&(WPAC._Debug("info","Anchor '%s' extracted from comment URL '%s'",a,o),WPAC._ScrollToAnchor(a,e.updateUrl))}},error:function(e,t,o){if(0===e.status&&""===e.responseText)return WPAC._Debug("error","Comment seems to be posted, but loading comment update failed."),void WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"));i(e.responseText)}})}}))},WPAC._Initialized=!1,WPAC.Init=function(){if(WPAC._Initialized)return WPAC._Debug("info","Abort initialization (plugin already initialized)"),!1;if(WPAC._Initialized=!0,!WPAC._Options||!WPACCallbacks)return WPAC._Debug("error","Something unexpected happened, initialization failed. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Initializing version %s",WPAC._Options.version),WPAC._Options.debug){if(!jQuery||!jQuery.fn||!jQuery.fn.jquery)return WPAC._Debug("error","jQuery not found, abort initialization. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Found jQuery %s",jQuery.fn.jquery),!jQuery.blockUI||!jQuery.blockUI.version)return WPAC._Debug("error","jQuery blockUI not found, abort initialization. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Found jQuery blockUI %s",jQuery.blockUI.version),!jQuery.idleTimer)return WPAC._Debug("error","jQuery Idle Timer plugin not found, abort initialization. Please try to reinstall the plugin."),!1;WPAC._Debug("info","Found jQuery Idle Timer plugin")}return WPAC._Options.selectorPostContainer?(WPAC._Debug("info","Multiple comment form support enabled (selector: '%s')",WPAC._Options.selectorPostContainer),jQuery(WPAC._Options.selectorPostContainer).each((function(e,t){var o=jQuery(t).attr("id");o?WPAC.AttachForm({selectorCommentForm:"#"+o+" "+WPAC._Options.selectorCommentForm,selectorCommentPagingLinks:"#"+o+" "+WPAC._Options.selectorCommentPagingLinks,selectorCommentsContainer:"#"+o+" "+WPAC._Options.selectorCommentsContainer,selectorRespondContainer:"#"+o+" "+WPAC._Options.selectorRespondContainer}):WPAC._Debug("info","Skip post container element %o (ID not defined)",t)}))):WPAC.AttachForm(),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-loading a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is the loading preview...","loadingPreview",!0)})),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-success a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is a success message","success",!0)})),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-error a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is an error message","error",!0)})),WPAC._Options.commentsEnabled&&WPAC._Options.autoUpdateIdleTime>0&&(WPAC._Debug("info","Auto updating comments enabled (idle time: %s)",WPAC._Options.autoUpdateIdleTime),WPAC._InitIdleTimer()),WPAC._Debug("info","Initialization completed"),!0},WPAC._OnIdle=function(){WPAC.RefreshComments({success:WPAC._InitIdleTimer,scrollToAnchor:!1})},WPAC._InitIdleTimer=function(){WPAC._TestFallbackUrl(location.href)?WPAC._Debug("error","Fallback URL was detected (url: '%s'), cancel init idle timer",location.href):(jQuery(document).idleTimer("destroy"),jQuery(document).idleTimer(WPAC._Options.autoUpdateIdleTime),jQuery(document).on("idle.idleTimer",WPAC._OnIdle))},WPAC.RefreshComments=function(e){return WPAC._TestFallbackUrl(location.href)?(WPAC._Debug("error","Fallback URL was detected (url: '%s'), cancel AJAX request",location.href),!1):WPAC.LoadComments(location.href,e)},WPAC.LoadComments=function(e,t){if(WPAC._TestCrossDomainScripting(e))return WPAC._Debug("error","Cross-domain scripting detected (url: '%s'), cancel AJAX request",e),!1;"boolean"==typeof t&&(t={scrollToAnchor:t}),t=jQuery.extend({scrollToAnchor:!WPAC._Options.disableScrollToAnchor,showLoadingInfo:!0,updateUrl:!WPAC._Options.disableUrlUpdate,success:function(){},selectorCommentForm:WPAC._Options.selectorCommentForm,selectorCommentsContainer:WPAC._Options.selectorCommentsContainer,selectorRespondContainer:WPAC._Options.selectorRespondContainer,disableCache:WPAC._Options.disableCache,beforeSelectElements:WPACCallbacks.beforeSelectElements,beforeUpdateComments:WPACCallbacks.beforeUpdateComments,afterUpdateComments:WPACCallbacks.afterUpdateComments},t||{});var o=jQuery(t.selectorCommentForm).serializeArray(),n=document.activeElement?jQuery("[name='"+document.activeElement.name+"']",t.selectorCommentForm).attr("name"):"",r=new URL(e).searchParams;if(r.has("ajaxifyLazyLoadEnable")){var i=r.get("ajaxifyLazyLoadEnable"),s=r.get("nonce"),a=r.get("post_id");e=WPAC._AddQueryParamStringToUrl(e,"ajaxifyLazyLoadEnable",i),e=WPAC._AddQueryParamStringToUrl(e,"nonce",s),e=WPAC._AddQueryParamStringToUrl(e,"post_id",a)}return t.disableCache&&(e=WPAC._AddQueryParamStringToUrl(e,"WPACRandom",(new Date).getTime())),jQuery.ajax({url:e,type:"GET",beforeSend:function(e){e.setRequestHeader("X-WPAC-REQUEST","1")},success:function(r){try{if(!WPAC._ReplaceComments(r,e,!0,o,n,t.selectorCommentsContainer,t.selectorCommentForm,t.selectorRespondContainer,t.beforeSelectElements,t.beforeUpdateComments,t.afterUpdateComments))return;t.updateUrl&&WPAC._UpdateUrl(e);var i=!1;if(t.scrollToAnchor){var s=e.indexOf("#")>=0?e.substr(e.indexOf("#")):null;s&&(WPAC._Debug("info","Anchor '%s' extracted from url",s),WPAC._ScrollToAnchor(s,t.updateUrl,(function(){t.success()}))&&(i=!0))}}catch(e){WPAC._Debug("error","Something went wrong while refreshing comments: %s",e)}jQuery.unblockUI(),i||t.success()},error:function(){WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"))}}),!0},jQuery((function(){var e=WPAC.Init();if(!0===WPAC._Options.lazyLoadEnabled){if(!e)return void WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"));WPAC._Options.lazyLoadTrigger;var t=WPAC._Options.lazyLoadTrigger,o=parseInt(WPAC._Options.lazyLoadTriggerScrollOffset),n=WPAC._Options.lazyLoadTriggerElement,r=WPAC._Options.lazyLoadInlineLoadingType,i=parseInt(WPAC._Options.lazyLoadTriggerOffset);0===i&&(i="100%");var s="inline"===WPAC._Options.lazyLoadDisplay,a=WPAC._Options.lazyLoadInlineDisplayLocation;if(s&&WPAC._Options.lazyLoadIntoElement){var l=WPAC._Options.lazyLoadInlineDisplayElement;"comments"===a&&(l=WPAC._Options.selectorCommentsContainer);var c=document.querySelector("#wpac-lazy-load-content");if(null!==c){var u=jQuery.clone(c);if(u.id="wpac-lazy-load-content-clone","button"===r&&(t="external"),"comments"===a){var d=jQuery(l);if(d){var p=d.find(".wp-block-comments-title, .comments-title");p.length>0?jQuery(p).after(u):d.prepend(u)}else WPAC._Debug("error","Comments container not found for lazy loading when reaching the comments section.")}else if("element"===a){var f=jQuery(l);f?(jQuery(f).prepend(u),jQuery(f).removeAttr("style")):WPAC._Debug("error","Element not found for lazy loading when reaching the element.")}var m=document.querySelector(".ajaxify-comments-loading-button-wrapper button");null!==m&&m.addEventListener("click",(function(e){e.preventDefault(),m.innerHTML=WPAC._Options.lazyLoadInlineButtonLabelLoading,WPAC.RefreshComments()}))}}switch(WPAC._Debug("info","Loading comments asynchronously with secondary AJAX request (trigger: '%s')",t),window.location.hash&&/^#comment-[0-9]+$/.test(window.location.hash)&&(WPAC._Debug("info","Comment anchor in URL detected, force loading comments on DomReady (hash: '%s')",window.location.hash),t="domready"),t){case"external":WPAC._Debug("info","Lazy loading: Waiting on external trigger for lazy loading comments.",window.location.hash);break;case"comments":var h=document.querySelector(WPAC._Options.selectorCommentsContainer);null!==h?(WPAC._Debug("info","Lazy loading: Waiting on comments to scroll into view for lazy loading.",window.location.hash),jQuery(h).waypoint((function(e){this.destroy(),WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments()}),{offset:o||"100%"})):WPAC._Debug("error","Comments container not found for lazy loading when reaching the comments section.");break;case"element":var y=document.querySelector(n);null!==y?(WPAC._Debug("info","Lazy loading: Waiting on element to scroll into view for lazy loading.",window.location.hash),jQuery(y).waypoint((function(e){this.destroy(),"button"!==r&&s&&(WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments())}),{offset:o||"100%"})):WPAC._Debug("error","Element not found for lazy loading when reaching the element.");break;case"domready":&&(WPAC._Debug("info","Lazy loading: Waiting on Dom to be ready for lazy loading.",window.location.hash),WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments({scrollToAnchor:!0}));break;case"scroll":WPAC._Debug("info","Lazy loading: Waiting on Scroll Into View.",window.location.hash);var g=document.querySelector("body");jQuery(g).waypoint((function(e){this.destroy(),"button"!==r&&"inline"===r&&(WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments())}),{offset:-1*o})}}}))},9567:e=>{"use strict";e.exports=window.jQuery}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,o),i.exports}o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";o(2106),o(9014),o(8515),o(2084),o(269)})()})();
  • wp-ajaxify-comments/trunk/dist/wpac-frontend-wp-ajaxify-comments.asset.php

    r3099622 r3106067  
    1 <?php return array('dependencies' => array(), 'version' => '0113a7003ec3d77b19af');
     1<?php return array('dependencies' => array(), 'version' => '');
  • wp-ajaxify-comments/trunk/dist/wpac-frontend-wp-ajaxify-comments.js

    r3099622 r3106067  
    1 (()=>{function e(o){return e="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},e(o)}WPAC._Options=WPAC._Options||{},WPAC._BodyRegex=new RegExp("<body[^>]*>((.|\n|\r)*)</body>","i"),WPAC._ExtractBody=function(e){try{return jQuery("<div>"+WPAC._BodyRegex.exec(e)[1]+"</div>")}catch(e){return!1}},WPAC._TitleRegex=new RegExp("<title[^>]*>(.*?)<\\/title>","im"),WPAC._ExtractTitle=function(e){try{return WPAC._TitleRegex.exec(e)[1]}catch(e){return!1}},WPAC._ShowMessage=function(e,o){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=WPAC._Options.lazyLoadDisplay;if(!WPAC._Options.lazyLoadEnabled||"overlay"===n||t){var r=WPAC._Options.popupMarginTop+(jQuery("#wpadminbar").outerHeight()||0),a=WPAC._Options.popupBackgroundColorLoading,i=WPAC._Options.popupTextColorLoading;"error"==o?(a=WPAC._Options.popupBackgroundColorError,i=WPAC._Options.popupTextColorError):"success"==o&&(a=WPAC._Options.popupBackgroundColorSuccess,i=WPAC._Options.popupTextColorSuccess);var s="verticalStart"===WPAC._Options.popupVerticalAlign?r+"px":"unset";"verticalCenter"===WPAC._Options.popupVerticalAlign&&(s="45%"),jQuery.blockUI({blockMsgClass:"wpac-overlay",message:e,fadeIn:WPAC._Options.popupFadeIn,fadeOut:WPAC._Options.popupFadeOut,timeout:"loading"==o?0:WPAC._Options.popupTimeout,centerY:!1,centerX:!0,showOverlay:!0,css:{width:"var(--wpac-popup-width)",left:"calc(50% - var(--wpac-popup-width) / 2)",top:s,bottom:"verticalEnd"===WPAC._Options.popupVerticalAlign?r+"px":"unset",border:"none",padding:WPAC._Options.popupPadding+"px",backgroundColor:a,"-webkit-border-radius":WPAC._Options.popupCornerRadius+"px","-moz-border-radius":WPAC._Options.popupCornerRadius+"px","border-radius":WPAC._Options.popupCornerRadius+"px",opacity:WPAC._Options.popupOpacity/100,color:i,textAlign:WPAC._Options.popupTextAlign,cursor:"loading"==o||"loadingPreview"==o?"wait":"default","font-size":WPAC._Options.popupTextFontSize},overlayCSS:{backgroundColor:WPAC._Options.popupOverlayBackgroundColor,opacity:WPAC._Options.popupOverlayBackgroundColorOpacity},baseZ:WPAC._Options.popupZindex})}},WPAC._DebugErrorShown=!1,WPAC._Debug=function(o,t){if(WPAC._Options.debug){if(Function.prototype.call&&Function.prototype.call.bind&&void 0!==window.console&&console&&"object"===e(console.log)&&void 0===window.console[o].apply&&(console[o]=Function.prototype.call.bind(console[o],console)),void 0===window.console||void 0===window.console[o]||void 0===window.console[o].apply)return WPAC._DebugErrorShown||alert("Unfortunately the console object is undefined or is not supported in your browser, debugging WP Ajaxify Comments is disabled! Please use Firebug, Google Chrome or Internet Explorer 9 or above with enabled Developer Tools (F12) for debugging WP Ajaxify Comments."),void(WPAC._DebugErrorShown=!0);var n=jQuery.merge(["[WP Ajaxify Comments] "+t],jQuery.makeArray(arguments).slice(2));console[o].apply(console,n)}},WPAC._DebugSelector=function(e,o,t){if(WPAC._Options.debug){var n=jQuery(o);n.length?WPAC._Debug("info","Search %s (selector: '%s')... Found: %o",e,o,n):WPAC._Debug(t?"info":"error","Search %s (selector: '%s')... Not found",e,o)}},WPAC._AddQueryParamStringToUrl=function(e,o,t){var n=new URL(e),r=n.searchParams;return r.set(o,t),n.search=r.toString(),n.toString()},WPAC._LoadFallbackUrl=function(e){WPAC._ShowMessage(WPAC._Options.textReloadPage,"loading");var o=WPAC._AddQueryParamStringToUrl(e,"WPACRandom",(new Date).getTime());WPAC._Debug("info","Something went wrong. Reloading page (URL: '%s')...",o);var t=function(){location.href=o};WPAC._Options.debug?(WPAC._Debug("info","Sleep for 5s to enable analyzing debug messages..."),window.setTimeout(t,5e3)):t()},WPAC._ScrollToAnchor=function(e,o,t){t=t||function(){};var n=jQuery(e);if(n.length){WPAC._Debug("info","Scroll to anchor element %o (scroll speed: %s ms)...",n,WPAC._Options.scrollSpeed);var r=function(){o&&(window.location.hash=e),t()},a=n.offset().top;return jQuery(window).scrollTop()==a?r():jQuery("html,body").animate({scrollTop:a},{duration:WPAC._Options.scrollSpeed,complete:r}),!0}return WPAC._Debug("error","Anchor element not found (selector: '%s')",e),!1},WPAC._UpdateUrl=function(e){e.split("#")[0]!=window.location.href.split("#")[0]&&(window.history.replaceState?window.history.replaceState({},window.document.title,e):WPAC._Debug("info","Browser does not support window.history.replaceState() to update the URL without reloading the page",anchor))},WPAC._ReplaceComments=function(e,o,t,n,r,a,i,s,l,c,u){jQuery("#wpac-lazy-load-content-clone").remove();var m=t?WPAC._AddQueryParamStringToUrl(o,"WPACFallback","1"):o,d=jQuery(a);if(WPAC._Options.lazyLoadIntoElement&&"comments"!==WPAC._Options.lazyLoadInlineDisplayLocation&&(d=jQuery(WPAC._Options.lazyLoadInlineDisplayElement)),!d.length)return WPAC._Debug("error","Comment container on current page not found (selector: '%s')",a),WPAC._LoadFallbackUrl(m),!1;d.length>1&&(WPAC._Debug("error","Comment form on requested page found multiple times (selector: '%s')",d),d=d.filter((function(){return jQuery(this).children().length>0&&!jQuery(this).is(":header")})));var C=WPAC._ExtractBody(e);if(!1===C)return WPAC._Debug("error","Unsupported server response, unable to extract body (data: '%s')",e),WPAC._LoadFallbackUrl(m),!1;""!==l&&new Function("extractedBody",l)(C);var p=new CustomEvent("wpacBeforeSelectElements",{detail:{extractedBody:C}});document.dispatchEvent(p);var A=C.find(a);if(!A.length)return WPAC._Debug("error","Comment container on requested page not found (selector: '%s')",a),WPAC._LoadFallbackUrl(m),!1;if(A.length>1){WPAC._Debug("error","Comment form on requested page found multiple times (selector: '%s')",A);var P=(A=A.filter((function(){return jQuery(this).children().length>0&&!jQuery(this).is(":header")}))).find(s);P.length&&P.remove()}""!==c&&new Function("extractedBody","commentUrl",c)(C,o);var f=new CustomEvent("wpacBeforeUpdateComments",{detail:{newDom:C,commentUrl:o}});document.dispatchEvent(f);var W=WPAC._ExtractTitle(e);if(!1!==C&&(document.title=jQuery("<textarea />").html(W).text()),d.empty(),d.append(A.children()),WPAC._Options.commentsEnabled){var g=jQuery(i);if(g.length){if(!g.parents(a).length){WPAC._Debug("info","Replace comment form...");var _=C.find(i);if(0==_.length)return WPAC._Debug("error","Comment form on requested page not found (selector: '%s')",i),WPAC._LoadFallbackUrl(m),!1;g.replaceWith(_)}}else{WPAC._Debug("info","Try to re-inject comment form...");var b=jQuery("#wp-temp-form-div");if(!b.length)return WPAC._Debug("error","WordPress' #wp-temp-form-div container not found",s),WPAC._LoadFallbackUrl(m),!1;var y=C.find(s);if(!y.length)return WPAC._Debug("error","Respond container on requested page not found (selector: '%s')",s),WPAC._LoadFallbackUrl(m),!1;b.replaceWith(y)}if(n&&jQuery.each(n,(function(e,o){var t=jQuery("[name='"+o.name+"']",i);1!=t.length||t.val()||t.val(o.value)})),r){var h=jQuery("[name='"+r+"']",i);h&&h.focus()}}""!==u&&new Function("extractedBody","commentUrl",u)(C,o);var w=new CustomEvent("wpacAfterUpdateComments",{detail:{newDom:C,commentUrl:o}});return document.dispatchEvent(w),!0},WPAC._TestCrossDomainScripting=function(e){if(0!=e.indexOf("http"))return!1;var o=window.location.protocol+"//"+window.location.host;return 0!=e.indexOf(o)},WPAC._TestFallbackUrl=function(e){var o=new URL(e).searchParams,t=o.get("WPACFallback"),n=o.get("WPACRandom");return t&&n},WPAC.AttachForm=function(e){if(e=jQuery.extend({selectorCommentForm:WPAC._Options.selectorCommentForm,selectorCommentPagingLinks:WPAC._Options.selectorCommentPagingLinks,beforeSelectElements:WPACCallbacks.beforeSelectElements,beforeSubmitComment:WPACCallbacks.beforeSubmitComment,afterPostComment:WPACCallbacks.afterPostComment,selectorCommentsContainer:WPAC._Options.selectorCommentsContainer,selectorRespondContainer:WPAC._Options.selectorRespondContainer,beforeUpdateComments:WPACCallbacks.beforeUpdateComments,afterUpdateComments:WPACCallbacks.afterUpdateComments,scrollToAnchor:!WPAC._Options.disableScrollToAnchor,updateUrl:!WPAC._Options.disableUrlUpdate,selectorCommentLinks:WPAC._Options.selectorCommentLinks},e||{}),WPAC._Options.debug&&WPAC._Options.commentsEnabled&&(WPAC._Debug("info","Attach form..."),WPAC._DebugSelector("comment form",e.selectorCommentForm),WPAC._DebugSelector("comments container",e.selectorCommentsContainer),WPAC._DebugSelector("respond container",e.selectorRespondContainer),WPAC._DebugSelector("comment paging links",e.selectorCommentPagingLinks,!0),WPAC._DebugSelector("comment links",e.selectorCommentLinks,!0)),""!==WPACCallbacks.beforeSelectElements){new Function("dom",WPACCallbacks.beforeSelectElements)(jQuery(document));var o=new CustomEvent("wpacBeforeSelectElements",{detail:{dom:jQuery(document)}});document.dispatchEvent(o)}if(jQuery(document).on)var t=function(e,o,t){jQuery(document).on(e,o,t)};else t=jQuery(document).delegate?function(e,o,t){jQuery(document).delegate(o,e,t)}:function(e,o,t){jQuery(o).live(e,t)};t("click",e.selectorCommentPagingLinks,(function(o){var t=jQuery(this).attr("href");t&&(o.preventDefault(),WPAC.LoadComments(t,{selectorCommentForm:e.selectorCommentForm,selectorCommentsContainer:e.selectorCommentsContainer,selectorRespondContainer:e.selectorRespondContainer,beforeSelectElements:e.beforeSelectElements,beforeUpdateComments:e.beforeUpdateComments,afterUpdateComments:e.afterUpdateComments}))})),t("click",e.selectorCommentLinks,(function(o){var t=jQuery(this);if(!t.is(e.selectorCommentPagingLinks)){var n=t.attr("href"),r=new URL(n).hash;jQuery(r).length>0&&(e.updateUrl&&WPAC._UpdateUrl(n),WPAC._ScrollToAnchor(r,e.updateUrl),o.preventDefault())}})),WPAC._Options.commentsEnabled&&t("submit",e.selectorCommentForm,(function(o){var t=jQuery(this);if(""!==WPACCallbacks.beforeSubmitComment){new Function("dom",WPACCallbacks.beforeSubmitComment)(jQuery(document));var n=new CustomEvent("wpacBeforeSubmitComment",{detail:{dom:jQuery(document)}});document.dispatchEvent(n)}var r=t.attr("action");if(WPAC._TestCrossDomainScripting(r))WPAC._Options.debug&&!t.data("submitCrossDomain")&&(WPAC._Debug("error","Cross-domain scripting detected (submit url: '%s'), cancel AJAX request",r),WPAC._Debug("info","Sleep for 5s to enable analyzing debug messages..."),o.preventDefault(),t.data("submitCrossDomain",!0),window.setTimeout((function(){jQuery("#submit",t).remove(),t.submit()}),5e3));else if(o.preventDefault(),t.data("WPAC_SUBMITTING"))WPAC._Debug("info","Cancel submit, form is already submitting (Form: %o)",t);else{t.data("WPAC_SUBMITTING",!0),WPAC._ShowMessage(WPAC._Options.textPostComment,"loading",!0);var a=function(e){WPAC._Debug("info","Comment has not been posted"),WPAC._Debug("info","Try to extract error message (selector: '%s')...",WPAC._Options.selectorErrorContainer);var o=WPAC._ExtractBody(e);if(!1!==o){var t=o.find(WPAC._Options.selectorErrorContainer);if(t.length)return t=t.html(),WPAC._Debug("info","Error message '%s' successfully extracted",t),void WPAC._ShowMessage(t,"error",!0)}WPAC._Debug("error","Error message could not be extracted, use error message '%s'.",WPAC._Options.textUnknownError),WPAC._ShowMessage(WPAC._Options.textUnknownError,"error",!0)},i=jQuery.ajax({url:r,type:"POST",data:new FormData(this),processData:!1,contentType:!1,beforeSend:function(e){e.setRequestHeader("X-WPAC-REQUEST","1")},complete:function(e,o){t.removeData("WPAC_SUBMITTING",!0)},success:function(o){if(i.getResponseHeader("X-WPAC-ERROR"))return WPAC._Debug("info","Found error state X-WPAC-ERROR header.",t),void a(o);WPAC._Debug("info","Comment has been posted");var t=i.getResponseHeader("X-WPAC-URL");WPAC._Debug("info","Found comment URL '%s' in X-WPAC-URL header.",t);var n=i.getResponseHeader("X-WPAC-UNAPPROVED");if(WPAC._Debug("info","Found unapproved state '%s' in X-WPAC-UNAPPROVED",n),""!==WPACCallbacks.afterPostComment){new Function("commentUrl","unapproved",e.afterPostComment)(t,"1"==n);var r=new CustomEvent("wpacAfterPostComment",{detail:{commentUrl:t,unapproved:"1"==n}});document.dispatchEvent(r)}if(WPAC._ShowMessage("1"==n?WPAC._Options.textPostedUnapproved:WPAC._Options.textPosted,"success",!0),void 0!==window.wps_launch_confetti_cannon&&window.wps_launch_confetti_cannon(),WPAC._ReplaceComments(o,t,!1,{},"",e.selectorCommentsContainer,e.selectorCommentForm,e.selectorRespondContainer,e.beforeSelectElements,e.beforeUpdateComments,e.afterUpdateComments)&&t&&(e.updateUrl&&WPAC._UpdateUrl(t),e.scrollToAnchor)){var s=t.indexOf("#")>=0?t.substr(t.indexOf("#")):null;s&&(WPAC._Debug("info","Anchor '%s' extracted from comment URL '%s'",s,t),WPAC._ScrollToAnchor(s,e.updateUrl))}},error:function(e,o,t){if(0===e.status&&""===e.responseText)return WPAC._Debug("error","Comment seems to be posted, but loading comment update failed."),void WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"));a(e.responseText)}})}}))},WPAC._Initialized=!1,WPAC.Init=function(){if(WPAC._Initialized)return WPAC._Debug("info","Abort initialization (plugin already initialized)"),!1;if(WPAC._Initialized=!0,!WPAC._Options||!WPACCallbacks)return WPAC._Debug("error","Something unexpected happened, initialization failed. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Initializing version %s",WPAC._Options.version),WPAC._Options.debug){if(!jQuery||!jQuery.fn||!jQuery.fn.jquery)return WPAC._Debug("error","jQuery not found, abort initialization. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Found jQuery %s",jQuery.fn.jquery),!jQuery.blockUI||!jQuery.blockUI.version)return WPAC._Debug("error","jQuery blockUI not found, abort initialization. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Found jQuery blockUI %s",jQuery.blockUI.version),!jQuery.idleTimer)return WPAC._Debug("error","jQuery Idle Timer plugin not found, abort initialization. Please try to reinstall the plugin."),!1;WPAC._Debug("info","Found jQuery Idle Timer plugin")}return WPAC._Options.selectorPostContainer?(WPAC._Debug("info","Multiple comment form support enabled (selector: '%s')",WPAC._Options.selectorPostContainer),jQuery(WPAC._Options.selectorPostContainer).each((function(e,o){var t=jQuery(o).attr("id");t?WPAC.AttachForm({selectorCommentForm:"#"+t+" "+WPAC._Options.selectorCommentForm,selectorCommentPagingLinks:"#"+t+" "+WPAC._Options.selectorCommentPagingLinks,selectorCommentsContainer:"#"+t+" "+WPAC._Options.selectorCommentsContainer,selectorRespondContainer:"#"+t+" "+WPAC._Options.selectorRespondContainer}):WPAC._Debug("info","Skip post container element %o (ID not defined)",o)}))):WPAC.AttachForm(),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-loading a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is the loading preview...","loadingPreview",!0)})),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-success a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is a success message","success",!0)})),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-error a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is an error message","error",!0)})),WPAC._Options.commentsEnabled&&WPAC._Options.autoUpdateIdleTime>0&&(WPAC._Debug("info","Auto updating comments enabled (idle time: %s)",WPAC._Options.autoUpdateIdleTime),WPAC._InitIdleTimer()),WPAC._Debug("info","Initialization completed"),!0},WPAC._OnIdle=function(){WPAC.RefreshComments({success:WPAC._InitIdleTimer,scrollToAnchor:!1})},WPAC._InitIdleTimer=function(){WPAC._TestFallbackUrl(location.href)?WPAC._Debug("error","Fallback URL was detected (url: '%s'), cancel init idle timer",location.href):(jQuery(document).idleTimer("destroy"),jQuery(document).idleTimer(WPAC._Options.autoUpdateIdleTime),jQuery(document).on("idle.idleTimer",WPAC._OnIdle))},WPAC.RefreshComments=function(e){return WPAC._TestFallbackUrl(location.href)?(WPAC._Debug("error","Fallback URL was detected (url: '%s'), cancel AJAX request",location.href),!1):WPAC.LoadComments(location.href,e)},WPAC.LoadComments=function(e,o){if(WPAC._TestCrossDomainScripting(e))return WPAC._Debug("error","Cross-domain scripting detected (url: '%s'), cancel AJAX request",e),!1;"boolean"==typeof o&&(o={scrollToAnchor:o}),o=jQuery.extend({scrollToAnchor:!WPAC._Options.disableScrollToAnchor,showLoadingInfo:!0,updateUrl:!WPAC._Options.disableUrlUpdate,success:function(){},selectorCommentForm:WPAC._Options.selectorCommentForm,selectorCommentsContainer:WPAC._Options.selectorCommentsContainer,selectorRespondContainer:WPAC._Options.selectorRespondContainer,disableCache:WPAC._Options.disableCache,beforeSelectElements:WPACCallbacks.beforeSelectElements,beforeUpdateComments:WPACCallbacks.beforeUpdateComments,afterUpdateComments:WPACCallbacks.afterUpdateComments},o||{});var t=jQuery(o.selectorCommentForm).serializeArray(),n=document.activeElement?jQuery("[name='"+document.activeElement.name+"']",o.selectorCommentForm).attr("name"):"",r=new URL(e).searchParams;if(r.has("ajaxifyLazyLoadEnable")){var a=r.get("ajaxifyLazyLoadEnable"),i=r.get("nonce"),s=r.get("post_id");e=WPAC._AddQueryParamStringToUrl(e,"ajaxifyLazyLoadEnable",a),e=WPAC._AddQueryParamStringToUrl(e,"nonce",i),e=WPAC._AddQueryParamStringToUrl(e,"post_id",s)}return o.disableCache&&(e=WPAC._AddQueryParamStringToUrl(e,"WPACRandom",(new Date).getTime())),jQuery.ajax({url:e,type:"GET",beforeSend:function(e){e.setRequestHeader("X-WPAC-REQUEST","1")},success:function(r){try{if(!WPAC._ReplaceComments(r,e,!0,t,n,o.selectorCommentsContainer,o.selectorCommentForm,o.selectorRespondContainer,o.beforeSelectElements,o.beforeUpdateComments,o.afterUpdateComments))return;o.updateUrl&&WPAC._UpdateUrl(e);var a=!1;if(o.scrollToAnchor){var i=e.indexOf("#")>=0?e.substr(e.indexOf("#")):null;i&&(WPAC._Debug("info","Anchor '%s' extracted from url",i),WPAC._ScrollToAnchor(i,o.updateUrl,(function(){o.success()}))&&(a=!0))}}catch(e){WPAC._Debug("error","Something went wrong while refreshing comments: %s",e)}jQuery.unblockUI(),a||o.success()},error:function(){WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"))}}),!0},jQuery((function(){var e=WPAC.Init();if(!0===WPAC._Options.lazyLoadEnabled){if(!e)return void WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"));WPAC._Options.lazyLoadTrigger;var o=WPAC._Options.lazyLoadTrigger,t=parseInt(WPAC._Options.lazyLoadTriggerScrollOffset),n=WPAC._Options.lazyLoadTriggerElement,r=WPAC._Options.lazyLoadInlineLoadingType,a=parseInt(WPAC._Options.lazyLoadTriggerOffset);0===a&&(a="100%");var i="inline"===WPAC._Options.lazyLoadDisplay,s=WPAC._Options.lazyLoadInlineDisplayLocation;if(i&&WPAC._Options.lazyLoadIntoElement){var l=WPAC._Options.lazyLoadInlineDisplayElement;"comments"===s&&(l=WPAC._Options.selectorCommentsContainer);var c=document.querySelector("#wpac-lazy-load-content");if(null!==c){var u=jQuery.clone(c);if(u.id="wpac-lazy-load-content-clone","button"===r&&(o="external"),"comments"===s){var m=jQuery(l);if(m){var d=m.find(".wp-block-comments-title, .comments-title");d.length>0?jQuery(d).after(u):m.prepend(u)}else WPAC._Debug("error","Comments container not found for lazy loading when reaching the comments section.")}else if("element"===s){var C=jQuery(l);C?(jQuery(C).prepend(u),jQuery(C).removeAttr("style")):WPAC._Debug("error","Element not found for lazy loading when reaching the element.")}var p=document.querySelector(".ajaxify-comments-loading-button-wrapper button");null!==p&&p.addEventListener("click",(function(e){e.preventDefault(),p.innerHTML=WPAC._Options.lazyLoadInlineButtonLabelLoading,WPAC.RefreshComments()}))}}switch(WPAC._Debug("info","Loading comments asynchronously with secondary AJAX request (trigger: '%s')",o),window.location.hash&&/^#comment-[0-9]+$/.test(window.location.hash)&&(WPAC._Debug("info","Comment anchor in URL detected, force loading comments on DomReady (hash: '%s')",window.location.hash),o="domready"),o){case"external":WPAC._Debug("info","Lazy loading: Waiting on external trigger for lazy loading comments.",window.location.hash);break;case"comments":var A=document.querySelector(WPAC._Options.selectorCommentsContainer);null!==A?(WPAC._Debug("info","Lazy loading: Waiting on comments to scroll into view for lazy loading.",window.location.hash),jQuery(A).waypoint((function(e){this.destroy(),WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments()}),{offset:t||"100%"})):WPAC._Debug("error","Comments container not found for lazy loading when reaching the comments section.");break;case"element":var P=document.querySelector(n);null!==P?(WPAC._Debug("info","Lazy loading: Waiting on element to scroll into view for lazy loading.",window.location.hash),jQuery(P).waypoint((function(e){this.destroy(),"button"!==r&&i&&(WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments())}),{offset:t||"100%"})):WPAC._Debug("error","Element not found for lazy loading when reaching the element.");break;case"domready":"button"!==r&&i&&(WPAC._Debug("info","Lazy loading: Waiting on Dom to be ready for lazy loading.",window.location.hash),WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments({scrollToAnchor:!0}));break;case"scroll":WPAC._Debug("info","Lazy loading: Waiting on Scroll Into View.",window.location.hash);var f=document.querySelector("body");jQuery(f).waypoint((function(e){this.destroy(),"button"!==r&&"inline"===r&&(WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments())}),{offset:-1*t})}}}))})();
     1(()=>{function e(o){return e="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},e(o)}WPAC._Options=WPAC._Options||{},WPAC._BodyRegex=new RegExp("<body[^>]*>((.|\n|\r)*)</body>","i"),WPAC._ExtractBody=function(e){try{return jQuery("<div>"+WPAC._BodyRegex.exec(e)[1]+"</div>")}catch(e){return!1}},WPAC._TitleRegex=new RegExp("<title[^>]*>(.*?)<\\/title>","im"),WPAC._ExtractTitle=function(e){try{return WPAC._TitleRegex.exec(e)[1]}catch(e){return!1}},WPAC._ShowMessage=function(e,o){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=WPAC._Options.lazyLoadDisplay;if(!WPAC._Options.lazyLoadEnabled||"overlay"===n||t){var r=WPAC._Options.popupMarginTop+(jQuery("#wpadminbar").outerHeight()||0),a=WPAC._Options.popupBackgroundColorLoading,i=WPAC._Options.popupTextColorLoading;"error"==o?(a=WPAC._Options.popupBackgroundColorError,i=WPAC._Options.popupTextColorError):"success"==o&&(a=WPAC._Options.popupBackgroundColorSuccess,i=WPAC._Options.popupTextColorSuccess);var s="verticalStart"===WPAC._Options.popupVerticalAlign?r+"px":"unset";"verticalCenter"===WPAC._Options.popupVerticalAlign&&(s="45%"),jQuery.blockUI({blockMsgClass:"wpac-overlay",message:e,fadeIn:WPAC._Options.popupFadeIn,fadeOut:WPAC._Options.popupFadeOut,timeout:"loading"==o?0:WPAC._Options.popupTimeout,centerY:!1,centerX:!0,showOverlay:!0,css:{width:"var(--wpac-popup-width)",left:"calc(50% - var(--wpac-popup-width) / 2)",top:s,bottom:"verticalEnd"===WPAC._Options.popupVerticalAlign?r+"px":"unset",border:"none",padding:WPAC._Options.popupPadding+"px",backgroundColor:a,"-webkit-border-radius":WPAC._Options.popupCornerRadius+"px","-moz-border-radius":WPAC._Options.popupCornerRadius+"px","border-radius":WPAC._Options.popupCornerRadius+"px",opacity:WPAC._Options.popupOpacity/100,color:i,textAlign:WPAC._Options.popupTextAlign,cursor:"loading"==o||"loadingPreview"==o?"wait":"default","font-size":WPAC._Options.popupTextFontSize},overlayCSS:{backgroundColor:WPAC._Options.popupOverlayBackgroundColor,opacity:WPAC._Options.popupOverlayBackgroundColorOpacity},baseZ:WPAC._Options.popupZindex})}},WPAC._DebugErrorShown=!1,WPAC._Debug=function(o,t){if(WPAC._Options.debug){if(Function.prototype.call&&Function.prototype.call.bind&&void 0!==window.console&&console&&"object"===e(console.log)&&void 0===window.console[o].apply&&(console[o]=Function.prototype.call.bind(console[o],console)),void 0===window.console||void 0===window.console[o]||void 0===window.console[o].apply)return WPAC._DebugErrorShown||alert("Unfortunately the console object is undefined or is not supported in your browser, debugging WP Ajaxify Comments is disabled! Please use Firebug, Google Chrome or Internet Explorer 9 or above with enabled Developer Tools (F12) for debugging WP Ajaxify Comments."),void(WPAC._DebugErrorShown=!0);var n=jQuery.merge(["[WP Ajaxify Comments] "+t],jQuery.makeArray(arguments).slice(2));console[o].apply(console,n)}},WPAC._DebugSelector=function(e,o,t){if(WPAC._Options.debug){var n=jQuery(o);n.length?WPAC._Debug("info","Search %s (selector: '%s')... Found: %o",e,o,n):WPAC._Debug(t?"info":"error","Search %s (selector: '%s')... Not found",e,o)}},WPAC._AddQueryParamStringToUrl=function(e,o,t){var n=new URL(e),r=n.searchParams;return r.set(o,t),n.search=r.toString(),n.toString()},WPAC._LoadFallbackUrl=function(e){WPAC._ShowMessage(WPAC._Options.textReloadPage,"loading");var o=WPAC._AddQueryParamStringToUrl(e,"WPACRandom",(new Date).getTime());WPAC._Debug("info","Something went wrong. Reloading page (URL: '%s')...",o);var t=function(){location.href=o};WPAC._Options.debug?(WPAC._Debug("info","Sleep for 5s to enable analyzing debug messages..."),window.setTimeout(t,5e3)):t()},WPAC._ScrollToAnchor=function(e,o,t){t=t||function(){};var n=jQuery(e);if(n.length){WPAC._Debug("info","Scroll to anchor element %o (scroll speed: %s ms)...",n,WPAC._Options.scrollSpeed);var r=function(){o&&(window.location.hash=e),t()},a=n.offset().top;return jQuery(window).scrollTop()==a?r():jQuery("html,body").animate({scrollTop:a},{duration:WPAC._Options.scrollSpeed,complete:r}),!0}return WPAC._Debug("error","Anchor element not found (selector: '%s')",e),!1},WPAC._UpdateUrl=function(e){e.split("#")[0]!=window.location.href.split("#")[0]&&(window.history.replaceState?window.history.replaceState({},window.document.title,e):WPAC._Debug("info","Browser does not support window.history.replaceState() to update the URL without reloading the page",anchor))},WPAC._ReplaceComments=function(e,o,t,n,r,a,i,s,l,c,u){jQuery("#wpac-lazy-load-content-clone").remove();var m=t?WPAC._AddQueryParamStringToUrl(o,"WPACFallback","1"):o,d=jQuery(a);if(WPAC._Options.lazyLoadIntoElement&&"comments"!==WPAC._Options.lazyLoadInlineDisplayLocation&&(d=jQuery(WPAC._Options.lazyLoadInlineDisplayElement)),!d.length)return WPAC._Debug("error","Comment container on current page not found (selector: '%s')",a),WPAC._LoadFallbackUrl(m),!1;d.length>1&&(WPAC._Debug("error","Comment form on requested page found multiple times (selector: '%s')",d),d=d.filter((function(){return jQuery(this).children().length>0&&!jQuery(this).is(":header")})));var C=WPAC._ExtractBody(e);if(!1===C)return WPAC._Debug("error","Unsupported server response, unable to extract body (data: '%s')",e),WPAC._LoadFallbackUrl(m),!1;""!==l&&new Function("extractedBody",l)(C);var p=new CustomEvent("wpacBeforeSelectElements",{detail:{extractedBody:C}});document.dispatchEvent(p);var A=C.find(a);if(!A.length)return WPAC._Debug("error","Comment container on requested page not found (selector: '%s')",a),WPAC._LoadFallbackUrl(m),!1;if(A.length>1){WPAC._Debug("error","Comment form on requested page found multiple times (selector: '%s')",A);var P=(A=A.filter((function(){return jQuery(this).children().length>0&&!jQuery(this).is(":header")}))).find(s);P.length&&P.remove()}""!==c&&new Function("extractedBody","commentUrl",c)(C,o);var f=new CustomEvent("wpacBeforeUpdateComments",{detail:{newDom:C,commentUrl:o}});document.dispatchEvent(f);var W=WPAC._ExtractTitle(e);if(!1!==C&&(document.title=jQuery("<textarea />").html(W).text()),d.empty(),d.append(A.children()),WPAC._Options.commentsEnabled){var g=jQuery(i);if(g.length){if(!g.parents(a).length){WPAC._Debug("info","Replace comment form...");var _=C.find(i);if(0==_.length)return WPAC._Debug("error","Comment form on requested page not found (selector: '%s')",i),WPAC._LoadFallbackUrl(m),!1;g.replaceWith(_)}}else{WPAC._Debug("info","Try to re-inject comment form...");var b=jQuery("#wp-temp-form-div");if(!b.length)return WPAC._Debug("error","WordPress' #wp-temp-form-div container not found",s),WPAC._LoadFallbackUrl(m),!1;var y=C.find(s);if(!y.length)return WPAC._Debug("error","Respond container on requested page not found (selector: '%s')",s),WPAC._LoadFallbackUrl(m),!1;b.replaceWith(y)}if(n&&jQuery.each(n,(function(e,o){var t=jQuery("[name='"+o.name+"']",i);1!=t.length||t.val()||t.val(o.value)})),r){var h=jQuery("[name='"+r+"']",i);h&&h.focus()}}""!==u&&new Function("extractedBody","commentUrl",u)(C,o);var w=new CustomEvent("wpacAfterUpdateComments",{detail:{newDom:C,commentUrl:o}});return document.dispatchEvent(w),!0},WPAC._TestCrossDomainScripting=function(e){if(0!=e.indexOf("http"))return!1;var o=window.location.protocol+"//"+window.location.host;return 0!=e.indexOf(o)},WPAC._TestFallbackUrl=function(e){var o=new URL(e).searchParams,t=o.get("WPACFallback"),n=o.get("WPACRandom");return t&&n},WPAC.AttachForm=function(e){if(e=jQuery.extend({selectorCommentForm:WPAC._Options.selectorCommentForm,selectorCommentPagingLinks:WPAC._Options.selectorCommentPagingLinks,beforeSelectElements:WPACCallbacks.beforeSelectElements,beforeSubmitComment:WPACCallbacks.beforeSubmitComment,afterPostComment:WPACCallbacks.afterPostComment,selectorCommentsContainer:WPAC._Options.selectorCommentsContainer,selectorRespondContainer:WPAC._Options.selectorRespondContainer,beforeUpdateComments:WPACCallbacks.beforeUpdateComments,afterUpdateComments:WPACCallbacks.afterUpdateComments,scrollToAnchor:!WPAC._Options.disableScrollToAnchor,updateUrl:!WPAC._Options.disableUrlUpdate,selectorCommentLinks:WPAC._Options.selectorCommentLinks},e||{}),WPAC._Options.debug&&WPAC._Options.commentsEnabled&&(WPAC._Debug("info","Attach form..."),WPAC._DebugSelector("comment form",e.selectorCommentForm),WPAC._DebugSelector("comments container",e.selectorCommentsContainer),WPAC._DebugSelector("respond container",e.selectorRespondContainer),WPAC._DebugSelector("comment paging links",e.selectorCommentPagingLinks,!0),WPAC._DebugSelector("comment links",e.selectorCommentLinks,!0)),""!==WPACCallbacks.beforeSelectElements){new Function("dom",WPACCallbacks.beforeSelectElements)(jQuery(document));var o=new CustomEvent("wpacBeforeSelectElements",{detail:{dom:jQuery(document)}});document.dispatchEvent(o)}if(jQuery(document).on)var t=function(e,o,t){jQuery(document).on(e,o,t)};else t=jQuery(document).delegate?function(e,o,t){jQuery(document).delegate(o,e,t)}:function(e,o,t){jQuery(o).live(e,t)};t("click",e.selectorCommentPagingLinks,(function(o){var t=jQuery(this).attr("href");t&&(o.preventDefault(),WPAC.LoadComments(t,{selectorCommentForm:e.selectorCommentForm,selectorCommentsContainer:e.selectorCommentsContainer,selectorRespondContainer:e.selectorRespondContainer,beforeSelectElements:e.beforeSelectElements,beforeUpdateComments:e.beforeUpdateComments,afterUpdateComments:e.afterUpdateComments}))})),t("click",e.selectorCommentLinks,(function(o){var t=jQuery(this);if(!t.is(e.selectorCommentPagingLinks)){var n=t.attr("href"),r=new URL(n).hash;jQuery(r).length>0&&(e.updateUrl&&WPAC._UpdateUrl(n),WPAC._ScrollToAnchor(r,e.updateUrl),o.preventDefault())}})),WPAC._Options.commentsEnabled&&t("submit",e.selectorCommentForm,(function(o){var t=jQuery(this);if(""!==WPACCallbacks.beforeSubmitComment){new Function("dom",WPACCallbacks.beforeSubmitComment)(jQuery(document));var n=new CustomEvent("wpacBeforeSubmitComment",{detail:{dom:jQuery(document)}});document.dispatchEvent(n)}var r=t.attr("action");if(WPAC._TestCrossDomainScripting(r))WPAC._Options.debug&&!t.data("submitCrossDomain")&&(WPAC._Debug("error","Cross-domain scripting detected (submit url: '%s'), cancel AJAX request",r),WPAC._Debug("info","Sleep for 5s to enable analyzing debug messages..."),o.preventDefault(),t.data("submitCrossDomain",!0),window.setTimeout((function(){jQuery("#submit",t).remove(),t.submit()}),5e3));else if(o.preventDefault(),t.data("WPAC_SUBMITTING"))WPAC._Debug("info","Cancel submit, form is already submitting (Form: %o)",t);else{t.data("WPAC_SUBMITTING",!0),WPAC._ShowMessage(WPAC._Options.textPostComment,"loading",!0);var a=function(e){WPAC._Debug("info","Comment has not been posted"),WPAC._Debug("info","Try to extract error message (selector: '%s')...",WPAC._Options.selectorErrorContainer);var o=WPAC._ExtractBody(e);if(!1!==o){var t=o.find(WPAC._Options.selectorErrorContainer);if(t.length)return t=t.html(),WPAC._Debug("info","Error message '%s' successfully extracted",t),void WPAC._ShowMessage(t,"error",!0)}WPAC._Debug("error","Error message could not be extracted, use error message '%s'.",WPAC._Options.textUnknownError),WPAC._ShowMessage(WPAC._Options.textUnknownError,"error",!0)},i=jQuery.ajax({url:r,type:"POST",data:new FormData(this),processData:!1,contentType:!1,beforeSend:function(e){e.setRequestHeader("X-WPAC-REQUEST","1")},complete:function(e,o){t.removeData("WPAC_SUBMITTING",!0)},success:function(o){if(i.getResponseHeader("X-WPAC-ERROR"))return WPAC._Debug("info","Found error state X-WPAC-ERROR header.",t),void a(o);WPAC._Debug("info","Comment has been posted");var t=i.getResponseHeader("X-WPAC-URL");WPAC._Debug("info","Found comment URL '%s' in X-WPAC-URL header.",t);var n=i.getResponseHeader("X-WPAC-UNAPPROVED");if(WPAC._Debug("info","Found unapproved state '%s' in X-WPAC-UNAPPROVED",n),""!==WPACCallbacks.afterPostComment){new Function("commentUrl","unapproved",e.afterPostComment)(t,"1"==n);var r=new CustomEvent("wpacAfterPostComment",{detail:{commentUrl:t,unapproved:"1"==n}});document.dispatchEvent(r)}if(WPAC._ShowMessage("1"==n?WPAC._Options.textPostedUnapproved:WPAC._Options.textPosted,"success",!0),void 0!==window.wps_launch_confetti_cannon&&window.wps_launch_confetti_cannon(),WPAC._ReplaceComments(o,t,!1,{},"",e.selectorCommentsContainer,e.selectorCommentForm,e.selectorRespondContainer,e.beforeSelectElements,e.beforeUpdateComments,e.afterUpdateComments)&&t&&(e.updateUrl&&WPAC._UpdateUrl(t),e.scrollToAnchor)){var s=t.indexOf("#")>=0?t.substr(t.indexOf("#")):null;s&&(WPAC._Debug("info","Anchor '%s' extracted from comment URL '%s'",s,t),WPAC._ScrollToAnchor(s,e.updateUrl))}},error:function(e,o,t){if(0===e.status&&""===e.responseText)return WPAC._Debug("error","Comment seems to be posted, but loading comment update failed."),void WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"));a(e.responseText)}})}}))},WPAC._Initialized=!1,WPAC.Init=function(){if(WPAC._Initialized)return WPAC._Debug("info","Abort initialization (plugin already initialized)"),!1;if(WPAC._Initialized=!0,!WPAC._Options||!WPACCallbacks)return WPAC._Debug("error","Something unexpected happened, initialization failed. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Initializing version %s",WPAC._Options.version),WPAC._Options.debug){if(!jQuery||!jQuery.fn||!jQuery.fn.jquery)return WPAC._Debug("error","jQuery not found, abort initialization. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Found jQuery %s",jQuery.fn.jquery),!jQuery.blockUI||!jQuery.blockUI.version)return WPAC._Debug("error","jQuery blockUI not found, abort initialization. Please try to reinstall the plugin."),!1;if(WPAC._Debug("info","Found jQuery blockUI %s",jQuery.blockUI.version),!jQuery.idleTimer)return WPAC._Debug("error","jQuery Idle Timer plugin not found, abort initialization. Please try to reinstall the plugin."),!1;WPAC._Debug("info","Found jQuery Idle Timer plugin")}return WPAC._Options.selectorPostContainer?(WPAC._Debug("info","Multiple comment form support enabled (selector: '%s')",WPAC._Options.selectorPostContainer),jQuery(WPAC._Options.selectorPostContainer).each((function(e,o){var t=jQuery(o).attr("id");t?WPAC.AttachForm({selectorCommentForm:"#"+t+" "+WPAC._Options.selectorCommentForm,selectorCommentPagingLinks:"#"+t+" "+WPAC._Options.selectorCommentPagingLinks,selectorCommentsContainer:"#"+t+" "+WPAC._Options.selectorCommentsContainer,selectorRespondContainer:"#"+t+" "+WPAC._Options.selectorRespondContainer}):WPAC._Debug("info","Skip post container element %o (ID not defined)",o)}))):WPAC.AttachForm(),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-loading a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is the loading preview...","loadingPreview",!0)})),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-success a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is a success message","success",!0)})),jQuery("#wp-admin-bar-wpac-menu-helper-preview-overlay-error a").on("click",(function(e){e.preventDefault(),WPAC._ShowMessage("This is an error message","error",!0)})),WPAC._Options.commentsEnabled&&WPAC._Options.autoUpdateIdleTime>0&&(WPAC._Debug("info","Auto updating comments enabled (idle time: %s)",WPAC._Options.autoUpdateIdleTime),WPAC._InitIdleTimer()),WPAC._Debug("info","Initialization completed"),!0},WPAC._OnIdle=function(){WPAC.RefreshComments({success:WPAC._InitIdleTimer,scrollToAnchor:!1})},WPAC._InitIdleTimer=function(){WPAC._TestFallbackUrl(location.href)?WPAC._Debug("error","Fallback URL was detected (url: '%s'), cancel init idle timer",location.href):(jQuery(document).idleTimer("destroy"),jQuery(document).idleTimer(WPAC._Options.autoUpdateIdleTime),jQuery(document).on("idle.idleTimer",WPAC._OnIdle))},WPAC.RefreshComments=function(e){return WPAC._TestFallbackUrl(location.href)?(WPAC._Debug("error","Fallback URL was detected (url: '%s'), cancel AJAX request",location.href),!1):WPAC.LoadComments(location.href,e)},WPAC.LoadComments=function(e,o){if(WPAC._TestCrossDomainScripting(e))return WPAC._Debug("error","Cross-domain scripting detected (url: '%s'), cancel AJAX request",e),!1;"boolean"==typeof o&&(o={scrollToAnchor:o}),o=jQuery.extend({scrollToAnchor:!WPAC._Options.disableScrollToAnchor,showLoadingInfo:!0,updateUrl:!WPAC._Options.disableUrlUpdate,success:function(){},selectorCommentForm:WPAC._Options.selectorCommentForm,selectorCommentsContainer:WPAC._Options.selectorCommentsContainer,selectorRespondContainer:WPAC._Options.selectorRespondContainer,disableCache:WPAC._Options.disableCache,beforeSelectElements:WPACCallbacks.beforeSelectElements,beforeUpdateComments:WPACCallbacks.beforeUpdateComments,afterUpdateComments:WPACCallbacks.afterUpdateComments},o||{});var t=jQuery(o.selectorCommentForm).serializeArray(),n=document.activeElement?jQuery("[name='"+document.activeElement.name+"']",o.selectorCommentForm).attr("name"):"",r=new URL(e).searchParams;if(r.has("ajaxifyLazyLoadEnable")){var a=r.get("ajaxifyLazyLoadEnable"),i=r.get("nonce"),s=r.get("post_id");e=WPAC._AddQueryParamStringToUrl(e,"ajaxifyLazyLoadEnable",a),e=WPAC._AddQueryParamStringToUrl(e,"nonce",i),e=WPAC._AddQueryParamStringToUrl(e,"post_id",s)}return o.disableCache&&(e=WPAC._AddQueryParamStringToUrl(e,"WPACRandom",(new Date).getTime())),jQuery.ajax({url:e,type:"GET",beforeSend:function(e){e.setRequestHeader("X-WPAC-REQUEST","1")},success:function(r){try{if(!WPAC._ReplaceComments(r,e,!0,t,n,o.selectorCommentsContainer,o.selectorCommentForm,o.selectorRespondContainer,o.beforeSelectElements,o.beforeUpdateComments,o.afterUpdateComments))return;o.updateUrl&&WPAC._UpdateUrl(e);var a=!1;if(o.scrollToAnchor){var i=e.indexOf("#")>=0?e.substr(e.indexOf("#")):null;i&&(WPAC._Debug("info","Anchor '%s' extracted from url",i),WPAC._ScrollToAnchor(i,o.updateUrl,(function(){o.success()}))&&(a=!0))}}catch(e){WPAC._Debug("error","Something went wrong while refreshing comments: %s",e)}jQuery.unblockUI(),a||o.success()},error:function(){WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"))}}),!0},jQuery((function(){var e=WPAC.Init();if(!0===WPAC._Options.lazyLoadEnabled){if(!e)return void WPAC._LoadFallbackUrl(WPAC._AddQueryParamStringToUrl(window.location.href,"WPACFallback","1"));WPAC._Options.lazyLoadTrigger;var o=WPAC._Options.lazyLoadTrigger,t=parseInt(WPAC._Options.lazyLoadTriggerScrollOffset),n=WPAC._Options.lazyLoadTriggerElement,r=WPAC._Options.lazyLoadInlineLoadingType,a=parseInt(WPAC._Options.lazyLoadTriggerOffset);0===a&&(a="100%");var i="inline"===WPAC._Options.lazyLoadDisplay,s=WPAC._Options.lazyLoadInlineDisplayLocation;if(i&&WPAC._Options.lazyLoadIntoElement){var l=WPAC._Options.lazyLoadInlineDisplayElement;"comments"===s&&(l=WPAC._Options.selectorCommentsContainer);var c=document.querySelector("#wpac-lazy-load-content");if(null!==c){var u=jQuery.clone(c);if(u.id="wpac-lazy-load-content-clone","button"===r&&(o="external"),"comments"===s){var m=jQuery(l);if(m){var d=m.find(".wp-block-comments-title, .comments-title");d.length>0?jQuery(d).after(u):m.prepend(u)}else WPAC._Debug("error","Comments container not found for lazy loading when reaching the comments section.")}else if("element"===s){var C=jQuery(l);C?(jQuery(C).prepend(u),jQuery(C).removeAttr("style")):WPAC._Debug("error","Element not found for lazy loading when reaching the element.")}var p=document.querySelector(".ajaxify-comments-loading-button-wrapper button");null!==p&&p.addEventListener("click",(function(e){e.preventDefault(),p.innerHTML=WPAC._Options.lazyLoadInlineButtonLabelLoading,WPAC.RefreshComments()}))}}switch(WPAC._Debug("info","Loading comments asynchronously with secondary AJAX request (trigger: '%s')",o),window.location.hash&&/^#comment-[0-9]+$/.test(window.location.hash)&&(WPAC._Debug("info","Comment anchor in URL detected, force loading comments on DomReady (hash: '%s')",window.location.hash),o="domready"),o){case"external":WPAC._Debug("info","Lazy loading: Waiting on external trigger for lazy loading comments.",window.location.hash);break;case"comments":var A=document.querySelector(WPAC._Options.selectorCommentsContainer);null!==A?(WPAC._Debug("info","Lazy loading: Waiting on comments to scroll into view for lazy loading.",window.location.hash),jQuery(A).waypoint((function(e){this.destroy(),WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments()}),{offset:t||"100%"})):WPAC._Debug("error","Comments container not found for lazy loading when reaching the comments section.");break;case"element":var P=document.querySelector(n);null!==P?(WPAC._Debug("info","Lazy loading: Waiting on element to scroll into view for lazy loading.",window.location.hash),jQuery(P).waypoint((function(e){this.destroy(),"button"!==r&&i&&(WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments())}),{offset:t||"100%"})):WPAC._Debug("error","Element not found for lazy loading when reaching the element.");break;case"domready":&&(WPAC._Debug("info","Lazy loading: Waiting on Dom to be ready for lazy loading.",window.location.hash),WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments({scrollToAnchor:!0}));break;case"scroll":WPAC._Debug("info","Lazy loading: Waiting on Scroll Into View.",window.location.hash);var f=document.querySelector("body");jQuery(f).waypoint((function(e){this.destroy(),"button"!==r&&"inline"===r&&(WPAC._ShowMessage(WPAC._Options.textRefreshComments,"loading"),WPAC.RefreshComments())}),{offset:-1*t})}}}))})();
  • wp-ajaxify-comments/trunk/php/Lazy_Load.php

    r3099622 r3106067  
    9393            <div class="<?php echo esc_attr( implode( ' ', $wrapper_classes ) ); ?>">
    9494                <?php
    95                 $button_text = sanitize_text_field( $options['lazyLoadInlineLoadingButtonLabel'] );
     95                $button_text = sanitize_text_field( $options['lazyLoadInlineButtonLabel'] );
    9696                if ( ! empty( $button_text ) ) :
    9797                    ?>
  • wp-ajaxify-comments/trunk/readme.txt

    r3099625 r3106067  
    44Requires at least: 5.0
    55Tested up to: 6.5
    6 Stable tag: 3.0.0
     6Stable tag: 3.0.
    77Requires PHP: 7.2
    88License: GPLv2 or later
     
    126126
    127127== Changelog ==
     128
     129
     130
     131
     132
    128133
    129134= 3.0.0 =
     
    227232== Upgrade Notice ==
    228233
    229 = 3.0.0 =
    230 Inline lazy loading has arrived. You can now load comments inline with a loading spinner, loading skeleton, or loading button. Alternatively, you can use a shortcode to output your own custom loading indicator.
     234= 3.0. =
     235.
  • wp-ajaxify-comments/trunk/wp-ajaxify-comments.php

    r3099625 r3106067  
    66Author: DLX Plugins
    77Author URI: https://dlxplugins.com/plugins/ajaxify-comments/
    8 Version: 3.0.0
     8Version: 3.0.
    99License: GPLv2
    1010Text Domain: wp-ajaxify-comments
     
    1313namespace DLXPlugins\WPAC;
    1414
    15 define( 'WPAC_VERSION', '3.0.0' );
     15define( 'WPAC_VERSION', '3.0.' );
    1616define( 'WPAC_PLUGIN_NAME', 'WP Ajaxify Comments' );
    1717define( 'WPAC_SETTINGS_URL', 'admin.php?page=wp-ajaxify-comments' );
Note: See TracChangeset for help on using the changeset viewer.