From c9ae27457978147c87b72991d5c6b6ab17094cf9 Mon Sep 17 00:00:00 2001 From: Mike Wilkerson <11575183+mlwilkerson@users.noreply.github.com> Date: Fri, 9 Aug 2024 17:47:04 -0700 Subject: [PATCH] rebuild admin bundle --- admin/build/index.asset.php | 2 +- admin/build/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/build/index.asset.php b/admin/build/index.asset.php index 807800de5..62b47ae96 100644 --- a/admin/build/index.asset.php +++ b/admin/build/index.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => '261ccfe450f5968d7854'); + array('lodash', 'react', 'react-dom', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => '216e55b4ec5691929633'); diff --git a/admin/build/index.js b/admin/build/index.js index fa94de531..40be85073 100644 --- a/admin/build/index.js +++ b/admin/build/index.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,n={780:(e,t,n)=>{n.d(t,{A:()=>s});const r=window.wp.element,s=r.createInterpolateElement||r.__experimentalCreateInterpolateElement},442:(e,t,n)=>{n.d(t,{Ay:()=>_,HM:()=>i,M7:()=>o,jm:()=>u});var r=n(87),s=n(644);const o="ADMIN_TAB_SETTINGS",i="ADMIN_TAB_TROUBLESHOOT",c=e=>!0===e||"1"===e,a=e=>0===(0,r.size)(e)?{}:e;function u(e={}){const t=e.unregisteredClients||{};return Object.keys(t).reduce(((e,n)=>((0,r.get)(t,[n,"blocked"],!1)&&e.push(n),e)),[])}const l={hasSubmitted:!1,isSubmitting:!1,success:!1,message:""},E={hasSubmitted:!1,isSubmitting:!1,pending:null,success:!1,message:""},d={hasSubmitted:!1,isSubmitting:!1,pending:[],success:!1,message:""};function f(e={},t){return e}const _=(0,s.HY)({activeAdminTab:function(e=o,t={}){const{type:n,tab:r}=t;return"SET_ACTIVE_ADMIN_TAB"===n?r:e},apiNonce:f,apiUrl:f,faApiUrl:f,blocklistUpdateStatus:function(e=E,t={}){const{type:n,success:r,message:s}=t;switch(n){case"BLOCKLIST_UPDATE_RESET":return E;case"BLOCKLIST_UPDATE_START":return{...e,isSubmitting:!0};case"BLOCKLIST_UPDATE_END":return{...e,isSubmitting:!1,pending:null,hasSubmitted:!0,success:r,message:s};case"UPDATE_PENDING_BLOCKLIST":return Array.isArray(t.data)||null===t.data?{...e,hasSubmitted:!1,pending:t.data,success:!1,message:""}:e;default:return e}},clientPreferences:a,conflictDetectionScannerStatus:function(e={isSubmitting:!1,hasSubmitted:!1,success:!1,message:""},t={}){const{type:n,success:r,message:s}=t;switch(n){case"ENABLE_CONFLICT_DETECTION_SCANNER_START":case"DISABLE_CONFLICT_DETECTION_SCANNER_START":return{...e,hasSubmitted:!1,success:!1,isSubmitting:!0};case"ENABLE_CONFLICT_DETECTION_SCANNER_END":case"DISABLE_CONFLICT_DETECTION_SCANNER_END":return{...e,hasSubmitted:!0,isSubmitting:!1,success:r,message:s};default:return e}},detectConflictsUntil:function(e=0,t={}){const{type:n,data:s}=t,o=parseInt((0,r.get)(s,"detectConflictsUntil"));switch(n){case"ENABLE_CONFLICT_DETECTION_SCANNER_END":case"DISABLE_CONFLICT_DETECTION_SCANNER_END":return t.success&&null!==s?isNaN(o)?0:o:e;default:const n=parseInt(e);return isNaN(n)?0:n}},kits:function(e=[],t={}){const{type:n,data:s,success:o}=t;return"KITS_QUERY_END"===n&&o?(0,r.get)(s,"me.kits",[]):e},kitsQueryStatus:function(e={success:!1,hasSubmitted:!1,isSubmitting:!1,message:""},t={}){const{type:n,success:r,message:s}=t;switch(n){case"KITS_QUERY_START":return{...e,isSubmitting:!0};case"KITS_QUERY_END":return{...e,isSubmitting:!1,hasSubmitted:!0,success:r,message:s};default:return e}},onSettingsPage:c,options:function(e={},t={}){const{type:n,data:s}=t;if("OPTIONS_FORM_SUBMIT_END"===n){if((0,r.get)(t,"data.options")){const{options:{technology:e,usePro:t,compat:n,pseudoElements:r,version:o,kitToken:i,apiToken:a}}=s;return{technology:e,version:o,kitToken:i,apiToken:a,usePro:c(t),compat:c(n),pseudoElements:c(r)}}return e}return e},optionsFormState:function(e=l,t={}){const{type:n,success:r,message:s}=t;switch(n){case"OPTIONS_FORM_SUBMIT_START":return{...e,isSubmitting:!0};case"OPTIONS_FORM_SUBMIT_END":return{...e,isSubmitting:!1,hasSubmitted:!0,success:r,message:s};case"OPTIONS_FORM_STATE_RESET":case"CHOOSE_AWAY_FROM_KIT_CONFIG":case"CHOOSE_INTO_KIT_CONFIG":return l;case"ADD_PENDING_OPTION":return{...e,hasSubmitted:!1,success:!1,message:""};default:return e}},pendingOptionConflicts:function(e={},t={}){const{type:n,detectedConflicts:r={}}=t;switch(n){case"PREFERENCE_CHECK_END":return{...r};case"OPTIONS_FORM_SUBMIT_END":case"CHOOSE_AWAY_FROM_KIT_CONFIG":case"CHOOSE_INTO_KIT_CONFIG":return{};default:return e}},pendingOptions:function(e={},t={}){const{type:n,change:s,activeKitToken:o,concreteVersion:i}=t;switch(n){case"ADD_PENDING_OPTION":return{...e,...s};case"RESET_PENDING_OPTION":const t=Object.keys(s)[0];return(0,r.omit)(e,t);case"CHOOSE_AWAY_FROM_KIT_CONFIG":return o?{kitToken:null,version:i}:{};case"CHOOSE_INTO_KIT_CONFIG":case"RESET_PENDING_OPTIONS":case"OPTIONS_FORM_SUBMIT_END":return{};default:return e}},pluginVersion:f,preferenceConflictDetection:function(e={isChecking:!1,hasChecked:!1,success:!1,message:""},t={}){const{type:n,success:r,message:s}=t;switch(n){case"PREFERENCE_CHECK_START":return{...e,isChecking:!0};case"PREFERENCE_CHECK_END":return{...e,isChecking:!1,hasChecked:!0,success:r,message:s};case"OPTIONS_FORM_SUBMIT_END":return{...e,isChecking:!1,hasChecked:!1,success:!1,message:""};default:return e}},preferenceConflicts:function(e={},t={}){const{type:n}=t;if("OPTIONS_FORM_SUBMIT_END"===n){if(!t.success)return e;const n=(0,r.get)(t,"data.conflicts");return a(n||e)}return a(e)},restApiNamespace:f,rootUrl:f,mainCdnAssetUrl:f,mainCdnAssetIntegrity:f,releases:f,settingsPageUrl:f,showAdmin:c,showConflictDetectionReporter:function(e=!1,t={}){const{type:n}=t;switch(n){case"ENABLE_CONFLICT_DETECTION_SCANNER_END":return t.success;case"DISABLE_CONFLICT_DETECTION_SCANNER_END":return!t.success;case"CONFLICT_DETECTION_TIMER_EXPIRED":return!1;default:return c(e)}},unregisteredClientDetectionStatus:function(e={success:!1,hasSubmitted:!1,isSubmitting:!1,unregisteredClientsBeforeDetection:[],recentConflictsDetected:{},message:""},t={}){const{type:n,success:r,message:s,unregisteredClientsBeforeDetection:o,recentConflictsDetected:i}=t;switch(n){case"CONFLICT_DETECTION_SUBMIT_START":return{...e,isSubmitting:!0,unregisteredClientsBeforeDetection:o,recentConflictsDetected:i};case"CONFLICT_DETECTION_SUBMIT_END":return{...e,isSubmitting:!1,hasSubmitted:!0,success:r,message:s};case"CONFLICT_DETECTION_NONE_FOUND":return{...e,isSubmitting:!1,success:!0};default:return e}},unregisteredClients:function(e={},t={}){const{type:n,data:r}=t;switch(n){case"CONFLICT_DETECTION_SUBMIT_END":return t.success&&null!==r?a(r):a(e);case"BLOCKLIST_UPDATE_END":if(t.success&&Array.isArray(r)){const t=Object.keys(e).reduce(((e,t)=>(e[t].blocked=!!~r.indexOf(t),e)),Object.assign({},e));return a(t)}return a(e);case"DELETE_UNREGISTERED_CLIENTS_END":return t.success&&r?r:a(e);default:return a(e)}},unregisteredClientsDeletionStatus:function(e=d,t={}){const{type:n,success:r,message:s}=t;switch(n){case"DELETE_UNREGISTERED_CLIENTS_RESET":return d;case"DELETE_UNREGISTERED_CLIENTS_START":return{...e,hasSubmitted:!1,success:!1,isSubmitting:!0};case"DELETE_UNREGISTERED_CLIENTS_END":return{...e,isSubmitting:!1,pending:[],hasSubmitted:!0,success:r,message:s};case"UPDATE_PENDING_UNREGISTERED_CLIENTS_FOR_DELETION":return Array.isArray(t.data)?{...e,hasSubmitted:!1,pending:t.data,success:!1,message:""}:e;default:return e}},userAttemptedToStopScanner:function(e=!1,t={}){const{type:n}=t;switch(n){case"USER_STOP_SCANNER":return!0;case"ENABLE_CONFLICT_DETECTION_SCANNER_START":case"ENABLE_CONFLICT_DETECTION_SCANNER_END":return!1;default:return e}},webpackPublicPath:f})},609:e=>{e.exports=window.React},795:e=>{e.exports=window.ReactDOM},87:e=>{e.exports=window.lodash},490:e=>{e.exports=window.wp.domReady},723:e=>{e.exports=window.wp.i18n},644:(e,t,n)=>{function r(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,{HY:()=>a,Tw:()=>l,Zz:()=>u,y$:()=>c});var s=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),o=()=>Math.random().toString(36).substring(7).split("").join("."),i={INIT:`@@redux/INIT${o()}`,REPLACE:`@@redux/REPLACE${o()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${o()}`};function c(e,t,n){if("function"!=typeof e)throw new Error(r(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(r(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(r(1));return n(c)(e,t)}let o=e,a=t,u=new Map,l=u,E=0,d=!1;function f(){l===u&&(l=new Map,u.forEach(((e,t)=>{l.set(t,e)})))}function _(){if(d)throw new Error(r(3));return a}function p(e){if("function"!=typeof e)throw new Error(r(4));if(d)throw new Error(r(5));let t=!0;f();const n=E++;return l.set(n,e),function(){if(t){if(d)throw new Error(r(6));t=!1,f(),l.delete(n),u=null}}}function T(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(r(7));if(void 0===e.type)throw new Error(r(8));if("string"!=typeof e.type)throw new Error(r(17));if(d)throw new Error(r(9));try{d=!0,a=o(a,e)}finally{d=!1}return(u=l).forEach((e=>{e()})),e}return T({type:i.INIT}),{dispatch:T,subscribe:p,getState:_,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));o=e,T({type:i.REPLACE})},[s]:function(){const e=p;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(r(11));function n(){const e=t;e.next&&e.next(_())}return n(),{unsubscribe:e(n)}},[s](){return this}}}}}function a(e){const t=Object.keys(e),n={};for(let r=0;r{const n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error(r(12));if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error(r(13))}))}(n)}catch(e){o=e}return function(e={},t){if(o)throw o;let i=!1;const c={};for(let o=0;oe:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}function l(...e){return t=>(n,s)=>{const o=t(n,s);let i=()=>{throw new Error(r(15))};const c={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},a=e.map((e=>e(c)));return i=u(...a)(o.dispatch),{...o,dispatch:i}}}}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}};return n[e](o,o.exports,s),o.exports}s.m=n,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>e+"-"+{83:"162df65cd7810fe7fcfa",85:"eee9e92eb9e129f61186",381:"c7cd92b0e63216294ba4",560:"d5e311e2f40dfe507924",587:"20200c1dc5961eccaf51",897:"6d99748cb159b27b004d"}[e]+".js",s.miniCssF=e=>e+"-"+{381:"c7cd92b0e63216294ba4",587:"20200c1dc5961eccaf51"}[e]+".css",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="font-awesome-admin:",s.l=(n,r,o,i)=>{if(e[n])e[n].push(r);else{var c,a;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l{c.onerror=c.onload=null,clearTimeout(f);var s=e[n];if(delete e[n],c.parentNode&&c.parentNode.removeChild(c),s&&s.forEach((e=>e(r))),t)return t(r)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=d.bind(null,c.onerror),c.onload=d.bind(null,c.onload),a&&document.head.appendChild(c)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{if("undefined"!=typeof document){var e={57:0};s.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{381:1,587:1}[t]&&n.push(e[t]=(e=>new Promise(((t,n)=>{var r=s.miniCssF(e),o=s.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",s.nc&&(i.nonce=s.nc),i.onerror=i.onload=n=>{if(i.onerror=i.onload=null,"load"===n.type)r();else{var s=n&&n.type,c=n&&n.target&&n.target.href||t,a=new Error("Loading CSS chunk "+e+" failed.\n("+s+": "+c+")");a.name="ChunkLoadError",a.code="CSS_CHUNK_LOAD_FAILED",a.type=s,a.request=c,i.parentNode&&i.parentNode.removeChild(i),o(a)}},i.href=t,document.head.appendChild(i)})(e,o,0,t,n)})))(t).then((()=>{e[t]=0}),(n=>{throw delete e[t],n})))}}})(),(()=>{var e={57:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,s)=>r=e[t]=[n,s]));n.push(r[2]=o);var i=s.p+s.u(t),c=new Error;s.l(i,(n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,i=n[0],c=n[1],a=n[2],u=0;if(i.some((t=>0!==e[t]))){for(r in c)s.o(c,r)&&(s.m[r]=c[r]);a&&a(s)}for(t&&t(n);u{var e=s(644);var t,n=({dispatch:e,getState:n})=>r=>s=>"function"==typeof s?s(e,n,t):r(s),r=s(442);const o=[n],i=(0,e.Zz)((0,e.Tw)(...o));var c=s(87);const a="__FontAwesomeOfficialPlugin__";var u=s(780),l=s(723);const E=window[a];s.p=(0,c.get)(E,"webpackPublicPath");const d="fontAwesomeConflictDetectionReport";let f=null;if((0,c.get)(E,"showConflictDetectionReporter")){const e=new Event(d,{bubbles:!0,cancelable:!1});window.FontAwesomeDetection={...window.FontAwesomeDetection||{},report:t=>{f=t,document.dispatchEvent(e)}}}E||console.error((0,l.__)("Font Awesome plugin is broken: initial state data missing.","font-awesome"));const _=function(t={}){return(0,e.y$)(r.Ay,t,i)}(E);(0,c.set)(window,[a,"createInterpolateElement"],u.A);const{showAdmin:p,showConflictDetectionReporter:T}=_.getState();p&&Promise.all([s.e(83),s.e(560),s.e(897),s.e(381)]).then(s.bind(s,381)).then((({default:e})=>{e(_)})).catch((e=>{console.error((0,l.__)("Font Awesome plugin error when initializing admin settings view","font-awesome"),e)})),T&&Promise.all([Promise.all([s.e(83),s.e(85)]).then(s.bind(s,85)),Promise.all([s.e(83),s.e(560),s.e(587)]).then(s.bind(s,587))]).then((([{reportDetectedConflicts:e},{mountConflictDetectionReporter:t}])=>{const n=t=>_.dispatch(e(t));f?n(f):document.addEventListener(d,(e=>n(f))),t(_)})).catch((e=>{console.error((0,l.__)("Font Awesome plugin error when initializing conflict detection scanner","font-awesome"),e)}))})()})(); \ No newline at end of file +(()=>{"use strict";var e,t,n={780:(e,t,n)=>{n.d(t,{A:()=>s});const r=window.wp.element,s=r.createInterpolateElement||r.__experimentalCreateInterpolateElement},442:(e,t,n)=>{n.d(t,{Ay:()=>_,HM:()=>i,M7:()=>o,jm:()=>u});var r=n(87),s=n(644);const o="ADMIN_TAB_SETTINGS",i="ADMIN_TAB_TROUBLESHOOT",c=e=>!0===e||"1"===e,a=e=>0===(0,r.size)(e)?{}:e;function u(e={}){const t=e.unregisteredClients||{};return Object.keys(t).reduce(((e,n)=>((0,r.get)(t,[n,"blocked"],!1)&&e.push(n),e)),[])}const E={hasSubmitted:!1,isSubmitting:!1,success:!1,message:""},l={hasSubmitted:!1,isSubmitting:!1,pending:null,success:!1,message:""},d={hasSubmitted:!1,isSubmitting:!1,pending:[],success:!1,message:""};function f(e={},t){return e}const _=(0,s.HY)({activeAdminTab:function(e=o,t={}){const{type:n,tab:r}=t;return"SET_ACTIVE_ADMIN_TAB"===n?r:e},apiNonce:f,apiUrl:f,faApiUrl:f,blocklistUpdateStatus:function(e=l,t={}){const{type:n,success:r,message:s}=t;switch(n){case"BLOCKLIST_UPDATE_RESET":return l;case"BLOCKLIST_UPDATE_START":return{...e,isSubmitting:!0};case"BLOCKLIST_UPDATE_END":return{...e,isSubmitting:!1,pending:null,hasSubmitted:!0,success:r,message:s};case"UPDATE_PENDING_BLOCKLIST":return Array.isArray(t.data)||null===t.data?{...e,hasSubmitted:!1,pending:t.data,success:!1,message:""}:e;default:return e}},clientPreferences:a,conflictDetectionScannerStatus:function(e={isSubmitting:!1,hasSubmitted:!1,success:!1,message:""},t={}){const{type:n,success:r,message:s}=t;switch(n){case"ENABLE_CONFLICT_DETECTION_SCANNER_START":case"DISABLE_CONFLICT_DETECTION_SCANNER_START":return{...e,hasSubmitted:!1,success:!1,isSubmitting:!0};case"ENABLE_CONFLICT_DETECTION_SCANNER_END":case"DISABLE_CONFLICT_DETECTION_SCANNER_END":return{...e,hasSubmitted:!0,isSubmitting:!1,success:r,message:s};default:return e}},detectConflictsUntil:function(e=0,t={}){const{type:n,data:s}=t,o=parseInt((0,r.get)(s,"detectConflictsUntil"));switch(n){case"ENABLE_CONFLICT_DETECTION_SCANNER_END":case"DISABLE_CONFLICT_DETECTION_SCANNER_END":return t.success&&null!==s?isNaN(o)?0:o:e;default:const n=parseInt(e);return isNaN(n)?0:n}},kits:function(e=[],t={}){const{type:n,data:s,success:o}=t;return"KITS_QUERY_END"===n&&o?(0,r.get)(s,"me.kits",[]):e},kitsQueryStatus:function(e={success:!1,hasSubmitted:!1,isSubmitting:!1,message:""},t={}){const{type:n,success:r,message:s}=t;switch(n){case"KITS_QUERY_START":return{...e,isSubmitting:!0};case"KITS_QUERY_END":return{...e,isSubmitting:!1,hasSubmitted:!0,success:r,message:s};default:return e}},onSettingsPage:c,options:function(e={},t={}){const{type:n,data:s}=t;if("OPTIONS_FORM_SUBMIT_END"===n){if((0,r.get)(t,"data.options")){const{options:{technology:e,usePro:t,compat:n,pseudoElements:r,version:o,kitToken:i,apiToken:a}}=s;return{technology:e,version:o,kitToken:i,apiToken:a,usePro:c(t),compat:c(n),pseudoElements:c(r)}}return e}return e},optionsFormState:function(e=E,t={}){const{type:n,success:r,message:s}=t;switch(n){case"OPTIONS_FORM_SUBMIT_START":return{...e,isSubmitting:!0};case"OPTIONS_FORM_SUBMIT_END":return{...e,isSubmitting:!1,hasSubmitted:!0,success:r,message:s};case"OPTIONS_FORM_STATE_RESET":case"CHOOSE_AWAY_FROM_KIT_CONFIG":case"CHOOSE_INTO_KIT_CONFIG":return E;case"ADD_PENDING_OPTION":return{...e,hasSubmitted:!1,success:!1,message:""};default:return e}},pendingOptionConflicts:function(e={},t={}){const{type:n,detectedConflicts:r={}}=t;switch(n){case"PREFERENCE_CHECK_END":return{...r};case"OPTIONS_FORM_SUBMIT_END":case"CHOOSE_AWAY_FROM_KIT_CONFIG":case"CHOOSE_INTO_KIT_CONFIG":return{};default:return e}},pendingOptions:function(e={},t={}){const{type:n,change:s,activeKitToken:o,concreteVersion:i}=t;switch(n){case"ADD_PENDING_OPTION":return{...e,...s};case"RESET_PENDING_OPTION":const t=Object.keys(s)[0];return(0,r.omit)(e,t);case"CHOOSE_AWAY_FROM_KIT_CONFIG":return o?{kitToken:null,version:i}:{};case"CHOOSE_INTO_KIT_CONFIG":case"RESET_PENDING_OPTIONS":case"OPTIONS_FORM_SUBMIT_END":return{};default:return e}},pluginVersion:f,preferenceConflictDetection:function(e={isChecking:!1,hasChecked:!1,success:!1,message:""},t={}){const{type:n,success:r,message:s}=t;switch(n){case"PREFERENCE_CHECK_START":return{...e,isChecking:!0};case"PREFERENCE_CHECK_END":return{...e,isChecking:!1,hasChecked:!0,success:r,message:s};case"OPTIONS_FORM_SUBMIT_END":return{...e,isChecking:!1,hasChecked:!1,success:!1,message:""};default:return e}},preferenceConflicts:function(e={},t={}){const{type:n}=t;if("OPTIONS_FORM_SUBMIT_END"===n){if(!t.success)return e;const n=(0,r.get)(t,"data.conflicts");return a(n||e)}return a(e)},restApiNamespace:f,rootUrl:f,mainCdnAssetUrl:f,mainCdnAssetIntegrity:f,releases:f,settingsPageUrl:f,showAdmin:c,showConflictDetectionReporter:function(e=!1,t={}){const{type:n}=t;switch(n){case"ENABLE_CONFLICT_DETECTION_SCANNER_END":return t.success;case"DISABLE_CONFLICT_DETECTION_SCANNER_END":return!t.success;case"CONFLICT_DETECTION_TIMER_EXPIRED":return!1;default:return c(e)}},unregisteredClientDetectionStatus:function(e={success:!1,hasSubmitted:!1,isSubmitting:!1,unregisteredClientsBeforeDetection:[],recentConflictsDetected:{},message:""},t={}){const{type:n,success:r,message:s,unregisteredClientsBeforeDetection:o,recentConflictsDetected:i}=t;switch(n){case"CONFLICT_DETECTION_SUBMIT_START":return{...e,isSubmitting:!0,unregisteredClientsBeforeDetection:o,recentConflictsDetected:i};case"CONFLICT_DETECTION_SUBMIT_END":return{...e,isSubmitting:!1,hasSubmitted:!0,success:r,message:s};case"CONFLICT_DETECTION_NONE_FOUND":return{...e,isSubmitting:!1,success:!0};default:return e}},unregisteredClients:function(e={},t={}){const{type:n,data:r}=t;switch(n){case"CONFLICT_DETECTION_SUBMIT_END":return t.success&&null!==r?a(r):a(e);case"BLOCKLIST_UPDATE_END":if(t.success&&Array.isArray(r)){const t=Object.keys(e).reduce(((e,t)=>(e[t].blocked=!!~r.indexOf(t),e)),Object.assign({},e));return a(t)}return a(e);case"DELETE_UNREGISTERED_CLIENTS_END":return t.success&&r?r:a(e);default:return a(e)}},unregisteredClientsDeletionStatus:function(e=d,t={}){const{type:n,success:r,message:s}=t;switch(n){case"DELETE_UNREGISTERED_CLIENTS_RESET":return d;case"DELETE_UNREGISTERED_CLIENTS_START":return{...e,hasSubmitted:!1,success:!1,isSubmitting:!0};case"DELETE_UNREGISTERED_CLIENTS_END":return{...e,isSubmitting:!1,pending:[],hasSubmitted:!0,success:r,message:s};case"UPDATE_PENDING_UNREGISTERED_CLIENTS_FOR_DELETION":return Array.isArray(t.data)?{...e,hasSubmitted:!1,pending:t.data,success:!1,message:""}:e;default:return e}},userAttemptedToStopScanner:function(e=!1,t={}){const{type:n}=t;switch(n){case"USER_STOP_SCANNER":return!0;case"ENABLE_CONFLICT_DETECTION_SCANNER_START":case"ENABLE_CONFLICT_DETECTION_SCANNER_END":return!1;default:return e}},webpackPublicPath:f})},609:e=>{e.exports=window.React},795:e=>{e.exports=window.ReactDOM},87:e=>{e.exports=window.lodash},490:e=>{e.exports=window.wp.domReady},723:e=>{e.exports=window.wp.i18n},644:(e,t,n)=>{function r(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,{HY:()=>a,Tw:()=>E,Zz:()=>u,y$:()=>c});var s=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),o=()=>Math.random().toString(36).substring(7).split("").join("."),i={INIT:`@@redux/INIT${o()}`,REPLACE:`@@redux/REPLACE${o()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${o()}`};function c(e,t,n){if("function"!=typeof e)throw new Error(r(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(r(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(r(1));return n(c)(e,t)}let o=e,a=t,u=new Map,E=u,l=0,d=!1;function f(){E===u&&(E=new Map,u.forEach(((e,t)=>{E.set(t,e)})))}function _(){if(d)throw new Error(r(3));return a}function p(e){if("function"!=typeof e)throw new Error(r(4));if(d)throw new Error(r(5));let t=!0;f();const n=l++;return E.set(n,e),function(){if(t){if(d)throw new Error(r(6));t=!1,f(),E.delete(n),u=null}}}function T(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(r(7));if(void 0===e.type)throw new Error(r(8));if("string"!=typeof e.type)throw new Error(r(17));if(d)throw new Error(r(9));try{d=!0,a=o(a,e)}finally{d=!1}return(u=E).forEach((e=>{e()})),e}return T({type:i.INIT}),{dispatch:T,subscribe:p,getState:_,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));o=e,T({type:i.REPLACE})},[s]:function(){const e=p;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(r(11));function n(){const e=t;e.next&&e.next(_())}return n(),{unsubscribe:e(n)}},[s](){return this}}}}}function a(e){const t=Object.keys(e),n={};for(let r=0;r{const n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error(r(12));if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error(r(13))}))}(n)}catch(e){o=e}return function(e={},t){if(o)throw o;let i=!1;const c={};for(let o=0;oe:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}function E(...e){return t=>(n,s)=>{const o=t(n,s);let i=()=>{throw new Error(r(15))};const c={getState:o.getState,dispatch:(e,...t)=>i(e,...t)},a=e.map((e=>e(c)));return i=u(...a)(o.dispatch),{...o,dispatch:i}}}}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}};return n[e](o,o.exports,s),o.exports}s.m=n,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>e+"-"+{83:"162df65cd7810fe7fcfa",85:"eee9e92eb9e129f61186",381:"c7cd92b0e63216294ba4",560:"d5e311e2f40dfe507924",587:"20200c1dc5961eccaf51",897:"6d99748cb159b27b004d"}[e]+".js",s.miniCssF=e=>e+"-"+{381:"c7cd92b0e63216294ba4",587:"20200c1dc5961eccaf51"}[e]+".css",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="font-awesome-admin:",s.l=(n,r,o,i)=>{if(e[n])e[n].push(r);else{var c,a;if(void 0!==o)for(var u=document.getElementsByTagName("script"),E=0;E{c.onerror=c.onload=null,clearTimeout(f);var s=e[n];if(delete e[n],c.parentNode&&c.parentNode.removeChild(c),s&&s.forEach((e=>e(r))),t)return t(r)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=d.bind(null,c.onerror),c.onload=d.bind(null,c.onload),a&&document.head.appendChild(c)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{if("undefined"!=typeof document){var e={57:0};s.f.miniCss=(t,n)=>{e[t]?n.push(e[t]):0!==e[t]&&{381:1,587:1}[t]&&n.push(e[t]=(e=>new Promise(((t,n)=>{var r=s.miniCssF(e),o=s.p+r;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",s.nc&&(i.nonce=s.nc),i.onerror=i.onload=n=>{if(i.onerror=i.onload=null,"load"===n.type)r();else{var s=n&&n.type,c=n&&n.target&&n.target.href||t,a=new Error("Loading CSS chunk "+e+" failed.\n("+s+": "+c+")");a.name="ChunkLoadError",a.code="CSS_CHUNK_LOAD_FAILED",a.type=s,a.request=c,i.parentNode&&i.parentNode.removeChild(i),o(a)}},i.href=t,document.head.appendChild(i)})(e,o,0,t,n)})))(t).then((()=>{e[t]=0}),(n=>{throw delete e[t],n})))}}})(),(()=>{var e={57:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,s)=>r=e[t]=[n,s]));n.push(r[2]=o);var i=s.p+s.u(t),c=new Error;s.l(i,(n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,r[1](c)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,i=n[0],c=n[1],a=n[2],u=0;if(i.some((t=>0!==e[t]))){for(r in c)s.o(c,r)&&(s.m[r]=c[r]);a&&a(s)}for(t&&t(n);u{var e=s(644);var t,n=({dispatch:e,getState:n})=>r=>s=>"function"==typeof s?s(e,n,t):r(s),r=s(442);const o=[n],i=(0,e.Zz)((0,e.Tw)(...o));var c=s(87);const a="__FontAwesomeOfficialPlugin__";var u=s(780),E=s(723);const l=window[a],d="fontAwesomeConflictDetectionReport";let f=null;if((0,c.get)(l,"showConflictDetectionReporter")){const e=new Event(d,{bubbles:!0,cancelable:!1});window.FontAwesomeDetection={...window.FontAwesomeDetection||{},report:t=>{f=t,document.dispatchEvent(e)}}}l||console.error((0,E.__)("Font Awesome plugin is broken: initial state data missing.","font-awesome"));const _=function(t={}){return(0,e.y$)(r.Ay,t,i)}(l);(0,c.set)(window,[a,"createInterpolateElement"],u.A);const{showAdmin:p,showConflictDetectionReporter:T}=_.getState();p&&Promise.all([s.e(83),s.e(560),s.e(897),s.e(381)]).then(s.bind(s,381)).then((({default:e})=>{e(_)})).catch((e=>{console.error((0,E.__)("Font Awesome plugin error when initializing admin settings view","font-awesome"),e)})),T&&Promise.all([Promise.all([s.e(83),s.e(85)]).then(s.bind(s,85)),Promise.all([s.e(83),s.e(560),s.e(587)]).then(s.bind(s,587))]).then((([{reportDetectedConflicts:e},{mountConflictDetectionReporter:t}])=>{const n=t=>_.dispatch(e(t));f?n(f):document.addEventListener(d,(e=>n(f))),t(_)})).catch((e=>{console.error((0,E.__)("Font Awesome plugin error when initializing conflict detection scanner","font-awesome"),e)}))})()})(); \ No newline at end of file