PATH:
home
/
lab2454c
/
.trash
/
wp-includes
/
js
/
dist
/*! This file is auto-generated */ import*as e from"@wordpress/interactivity";var t={d:(e,o)=>{for(var i in o)t.o(o,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:o[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},o={};t.d(o,{o:()=>x,w:()=>b});const i=(e=>{var o={};return t.d(o,e),o})({getConfig:()=>e.getConfig,privateApis:()=>e.privateApis,store:()=>e.store});var a;const{directivePrefix:n,getRegionRootFragment:r,initialVdom:s,toVdom:c,render:l,parseInitialData:d,populateInitialData:g,batch:w}=(0,i.privateApis)("I acknowledge that using private APIs means my theme or plugin will inevitably break in the next version of WordPress."),h=null!==(a=(0,i.getConfig)("core/router").navigationMode)&&void 0!==a?a:"regionBased",u=new Map,m=(new Map,e=>{const t=new URL(e,window.location.href);return t.pathname+t.search}),f=async(e,{vdom:t}={})=>{const o={body:void 0};if("regionBased"===h){const i=`data-${n}-router-region`;e.querySelectorAll(`[${i}]`).forEach((e=>{const a=e.getAttribute(i);o[a]=t?.has(e)?t.get(e):c(e)}))}const i=e.querySelector("title")?.innerText,a=d(e);return{regions:o,head:undefined,title:i,initialData:a}},p=e=>{w((()=>{if("regionBased"===h){g(e.initialData);const t=`data-${n}-router-region`;document.querySelectorAll(`[${t}]`).forEach((o=>{const i=o.getAttribute(t),a=r(o);l(e.regions[i],a)}))}e.title&&(document.title=e.title)}))},v=e=>(window.location.assign(e),new Promise((()=>{})));window.addEventListener("popstate",(async()=>{const e=m(window.location.href),t=u.has(e)&&await u.get(e);t?(p(t),b.url=window.location.href):window.location.reload()})),u.set(m(window.location.href),Promise.resolve(f(document,{vdom:s})));let y="";const{state:b,actions:x}=(0,i.store)("core/router",{state:{url:window.location.href,navigation:{hasStarted:!1,hasFinished:!1,texts:{loading:"",loaded:""},message:""}},actions:{*navigate(e,t={}){const{clientNavigationDisabled:o}=(0,i.getConfig)();o&&(yield v(e));const a=m(e),{navigation:n}=b,{loadingAnimation:r=!0,screenReaderAnnouncement:s=!0,timeout:c=1e4}=t;y=e,x.prefetch(a,t);const l=new Promise((e=>setTimeout(e,c))),d=setTimeout((()=>{y===e&&(r&&(n.hasStarted=!0,n.hasFinished=!1),s&&(n.message=n.texts.loading))}),400),g=yield Promise.race([u.get(a),l]);if(clearTimeout(d),y===e)if(g&&!g.initialData?.config?.["core/router"]?.clientNavigationDisabled){yield p(g),window.history[t.replace?"replaceState":"pushState"]({},"",e),b.url=e,r&&(n.hasStarted=!1,n.hasFinished=!0),s&&(n.message=n.texts.loaded+(n.message===n.texts.loaded?" ":""));const{hash:o}=new URL(e,window.location.href);o&&document.querySelector(o)?.scrollIntoView()}else yield v(e)},prefetch(e,t={}){const{clientNavigationDisabled:o}=(0,i.getConfig)();if(o)return;const a=m(e);!t.force&&u.has(a)||u.set(a,(async(e,{html:t})=>{try{if(!t){const o=await window.fetch(e);if(200!==o.status)return!1;t=await o.text()}const o=(new window.DOMParser).parseFromString(t,"text/html");return f(o)}catch(e){return!1}})(a,{html:t.html}))}}});var A=o.o,P=o.w;export{A as actions,P as state};
[-] private-apis.js
[edit]
[-] i18n.min.js
[edit]
[-] editor.js
[edit]
[-] widgets.min.js
[edit]
[-] core-data.js
[edit]
[-] is-shallow-equal.js
[edit]
[-] format-library.js
[edit]
[-] rich-text.js
[edit]
[-] reusable-blocks.min.js
[edit]
[-] url.min.js
[edit]
[-] primitives.js
[edit]
[-] html-entities.js
[edit]
[-] plugins.js
[edit]
[-] blob.min.js
[edit]
[-] a11y.min.js
[edit]
[-] shortcode.min.js
[edit]
[-] patterns.min.js
[edit]
[-] block-directory.js
[edit]
[-] autop.js
[edit]
[-] blocks.min.js
[edit]
[-] compose.min.js
[edit]
[-] edit-widgets.js
[edit]
[-] style-engine.js
[edit]
[+]
..
[-] components.min.js
[edit]
[-] dom-ready.js
[edit]
[-] edit-post.js
[edit]
[-] date.min.js
[edit]
[-] edit-post.min.js
[edit]
[-] keyboard-shortcuts.js
[edit]
[-] token-list.min.js
[edit]
[-] core-commands.min.js
[edit]
[-] viewport.js
[edit]
[-] block-serialization-default-parser.min.js
[edit]
[-] priority-queue.min.js
[edit]
[-] preferences-persistence.min.js
[edit]
[-] rich-text.min.js
[edit]
[-] widgets.js
[edit]
[-] undo-manager.js
[edit]
[-] components.js
[edit]
[-] undo-manager.min.js
[edit]
[-] a11y.js
[edit]
[-] url.js
[edit]
[-] wordcount.min.js
[edit]
[-] viewport.min.js
[edit]
[-] is-shallow-equal.min.js
[edit]
[-] block-library.js
[edit]
[-] style-engine.min.js
[edit]
[-] preferences.min.js
[edit]
[-] commands.js
[edit]
[-] preferences-persistence.js
[edit]
[-] redux-routine.min.js
[edit]
[-] blob.js
[edit]
[-] api-fetch.js
[edit]
[-] block-editor.js
[edit]
[-] escape-html.min.js
[edit]
[-] customize-widgets.js
[edit]
[-] nux.min.js
[edit]
[-] edit-site.js
[edit]
[-] priority-queue.js
[edit]
[-] block-directory.min.js
[edit]
[-] html-entities.min.js
[edit]
[+]
development
[-] date.js
[edit]
[-] primitives.min.js
[edit]
[-] nux.js
[edit]
[+]
vendor
[-] editor.min.js
[edit]
[-] notices.js
[edit]
[-] dom.min.js
[edit]
[-] core-commands.js
[edit]
[-] keyboard-shortcuts.min.js
[edit]
[-] plugins.min.js
[edit]
[-] router.min.js
[edit]
[-] i18n.js
[edit]
[-] warning.js
[edit]
[-] data-controls.min.js
[edit]
[-] customize-widgets.min.js
[edit]
[-] block-editor.min.js
[edit]
[-] hooks.min.js
[edit]
[-] reusable-blocks.js
[edit]
[-] deprecated.js
[edit]
[-] block-serialization-default-parser.js
[edit]
[-] interactivity.js
[edit]
[-] commands.min.js
[edit]
[-] list-reusable-blocks.js
[edit]
[-] list-reusable-blocks.min.js
[edit]
[-] blocks.js
[edit]
[-] server-side-render.min.js
[edit]
[-] edit-site.min.js
[edit]
[-] interactivity-router.asset.php
[edit]
[-] data-controls.js
[edit]
[-] keycodes.js
[edit]
[-] dom.js
[edit]
[-] patterns.js
[edit]
[-] router.js
[edit]
[-] annotations.min.js
[edit]
[-] redux-routine.js
[edit]
[-] interactivity.min.js
[edit]
[-] format-library.min.js
[edit]
[-] interactivity-router.min.asset.php
[edit]
[-] preferences.js
[edit]
[-] keycodes.min.js
[edit]
[-] media-utils.min.js
[edit]
[-] interactivity-router.js
[edit]
[-] hooks.js
[edit]
[-] autop.min.js
[edit]
[-] block-library.min.js
[edit]
[-] deprecated.min.js
[edit]
[-] data.js
[edit]
[-] compose.js
[edit]
[-] private-apis.min.js
[edit]
[-] warning.min.js
[edit]
[-] escape-html.js
[edit]
[-] core-data.min.js
[edit]
[-] edit-widgets.min.js
[edit]
[-] annotations.js
[edit]
[-] notices.min.js
[edit]
[-] api-fetch.min.js
[edit]
[-] element.js
[edit]
[-] media-utils.js
[edit]
[-] shortcode.js
[edit]
[-] dom-ready.min.js
[edit]
[-] element.min.js
[edit]
[-] interactivity-router.min.js
[edit]
[-] token-list.js
[edit]
[-] server-side-render.js
[edit]
[-] wordcount.js
[edit]
[-] data.min.js
[edit]