PageSourceSearch

https://prepareforchange.net/wp-content/plugins/stachethemes_event…/list-502778c6562a5b89e48c-lazy.js

js prepareforchange.net collected 2026-10-03 20:36:26 UTC 1,724 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkstec=globalThis.webpackChunkstec||[]).push([[4555],{92138(e,t,a){a.r(t),a.d(t,{default:()=>i});var r=a(58168),n=a(33694),s=a(98196),c=a(60799),o=a(73772),l=a(26878);const __=o.__,_n=o._n,_x=o._x;const i=function(){const[e,t]=(0,l.useState)(0),a={listPageId:"calendars-list",importPageId:"calendars-import",upsertPageId:"calendars-upsert",exportUrl:"CALENDARS/EXPORT",importUrl:"CALENDARS/IMPORT",restUrl:"CALENDARS",termLabelSingle:__("calendar","stec"),termLabelPlural:__("calendars","stec"),taxonomyName:"stec_cal",itemsMap:(e,a,r,n)=>{let l=[...a];if(e.count>0){const a={id:"empty-calendar",icon:React.createElement("i",{className:"fa-solid fa-broom"}),label:_x("Empty","Empty the calendar","stec"),color:"yellow",onClick:()=>{((e,a)=>{!0!==a.current?c.toast.promise(new Promise(((r,n)=>{a.current=!0,async function(){try{return await(0,s.newApiDelete)({route:"DELETE-FROM-CALENDAR",args:e.id,errorMessage:"auto"}),t((new Date).getTime()),r(__("Events deleted","stec"))}catch(e){return n(e.message)}}()})),{loading:__("Deleting","stec"),success:e=>(a.current=!1,e),error:e=>(a.current=!1,e)}):(0,c.toast)(__("Another action is in progress","stec"))})(e,n)}};l=[a,...l]}const i=e.meta?.thumbnail?.image?.[0]?.sizes?.thumbnail;return{key:e.id,id:e.id,title:`${e.name} (ID#${e.id})`,description:(0,o.sprintf)(_n("Used by %d event","Used by %d events",e.count,"stec"),e.count),thumbnail:{type:i?"image":e.meta?.thumbnail?.type||"icon",icon:e.meta?.thumbnail?.icon||"fa-solid fa-calendar",image:i||"",backgroundColor:e.meta?.color||"#f15e6e",color:"#fff",day:"DD",month:"MMM"},controls:l,checked:r.some((t=>e.id===t))}}};return React.createElement(n.default,(0,r.default)({key:e},a))}}}]);

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