HEX
Server: LiteSpeed
System: Linux premium212.web-hosting.com 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64
User: vitanhod (1367)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //home/vitanhod/public_html/wp-content/plugins/woocommerce/assets/client/admin/notices/index.js
(()=>{"use strict";var e={d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{createErrorNotice:()=>f,createInfoNotice:()=>l,createNotice:()=>a,createSuccessNotice:()=>d,createWarningNotice:()=>p,removeNotice:()=>w});var n={};e.r(n),e.d(n,{getNotices:()=>b}),window.wp.notices;const i=window.wp.data,o=window.lodash;var r,c=(r=(e=[],t)=>{switch(t.type){case"CREATE_NOTICE":return[...(0,o.reject)(e,{id:t.notice.id}),t.notice];case"REMOVE_NOTICE":return(0,o.reject)(e,{id:t.id})}return e},(e={},t)=>{const n=t.context;if(void 0===n)return e;const i=r(e[n],t);return i===e[n]?e:{...e,[n]:i}});const s="global",u="info";function a(e=u,t,n={}){const{speak:i=!0,isDismissible:r=!0,context:c=s,id:a=(0,o.uniqueId)(c),actions:d=[],type:l="default",__unstableHTML:f,icon:p=null,explicitDismiss:w=!1,onDismiss:y=null}=n;return{type:"CREATE_NOTICE",context:c,notice:{id:a,status:e,content:t=String(t),spokenMessage:i?t:null,__unstableHTML:f,isDismissible:r,actions:d,type:l,icon:p,explicitDismiss:w,onDismiss:y}}}function d(e,t){return a("success",e,t)}function l(e,t){return a("info",e,t)}function f(e,t){return a("error",e,t)}function p(e,t){return a("warning",e,t)}function w(e,t=s){return{type:"REMOVE_NOTICE",id:e,context:t}}const y=[];function b(e,t=s){return e[t]||y}(0,i.registerStore)("core/notices2",{reducer:c,actions:t,selectors:n}),(window.wc=window.wc||{}).notices={}})();