(()=>{"use strict";var e,t={91(){const e=window.wp.blocks,t=window.wp.blockEditor,r=(window.wp.i18n,JSON.parse('{"UU":"gateway/gtx-viewport"}')),i=window.ReactJSXRuntime;(0,e.registerBlockType)(r.UU,{edit:()=>{const e=(0,t.useBlockProps)({className:"gateway-viewport"});return(0,i.jsx)("div",{...e,children:(0,i.jsxs)("div",{className:"gateway-viewport-editor",children:[(0,i.jsxs)("div",{className:"gateway-viewport-header",children:[(0,i.jsx)("strong",{children:"GT Viewport"}),(0,i.jsx)("div",{className:"gateway-viewport-info",children:(0,i.jsxs)("small",{children:["Detects when this block enters the viewport. Child blocks can access ",(0,i.jsx)("code",{children:"inViewport"})," context."]})})]}),(0,i.jsx)("div",{className:"gateway-viewport-content",children:(0,i.jsx)(t.InnerBlocks,{renderAppender:()=>(0,i.jsx)(t.InnerBlocks.ButtonBlockAppender,{})})})]})})},save:()=>{const e=JSON.stringify({inViewport:!1});return(0,i.jsx)("div",{...t.useBlockProps.save({className:"gateway-viewport"}),"data-wp-interactive":"gateway/viewport","data-wp-context":e,"data-wp-init":"callbacks.initViewport",children:(0,i.jsx)(t.InnerBlocks.Content,{})})}})}},r={};function i(e){var s=r[e];if(void 0!==s)return s.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,i),a.exports}i.m=t,e=[],i.O=(t,r,s,a)=>{if(!r){var o=1/0;for(p=0;p<e.length;p++){for(var[r,s,a]=e[p],n=!0,c=0;c<r.length;c++)(!1&a||o>=a)&&Object.keys(i.O).every(e=>i.O[e](r[c]))?r.splice(c--,1):(n=!1,a<o&&(o=a));if(n){e.splice(p--,1);var l=s();void 0!==l&&(t=l)}}return t}a=a||0;for(var p=e.length;p>0&&e[p-1][2]>a;p--)e[p]=e[p-1];e[p]=[r,s,a]},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={899:0,571:0};i.O.j=t=>0===e[t];var t=(t,r)=>{var s,a,[o,n,c]=r,l=0;if(o.some(t=>0!==e[t])){for(s in n)i.o(n,s)&&(i.m[s]=n[s]);if(c)var p=c(i)}for(t&&t(r);l<o.length;l++)a=o[l],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return i.O(p)},r=globalThis.webpackChunkgateway_block_types=globalThis.webpackChunkgateway_block_types||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var s=i.O(void 0,[571],()=>i(91));s=i.O(s)})();