PageSourceSearch

https://myyaak.com/static/js/5869400c.chunk.js

js myyaak.com collected 2026-10-04 08:27:39 UTC 2,206 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_metafox_react=self.webpackChunk_metafox_react||[]).push([["metafox-layout-LayoutBlock-BlockWithEditingSite"],{76811:function(e,t,a){a.r(t),a.d(t,{default:function(){return b}});var l=a(62809),o=a(21275),n=a(97723),i=a(24045),r=a(24476),c=a(30758),s=a(79344),d=a(354),u=a.n(d);let m=(0,r.Ay)("div",{name:"EditBlock",slot:"root"})({}),g=(0,r.Ay)("div",{name:"EditBlock",slot:"controller",shouldForwardProp:e=>"dragging"!==e&&"canDrag"!==e})(({theme:e,disabled:t})=>({minHeight:"40px",display:"flex",alignItems:"center",justifyContent:"space-between",padding:e.spacing(.5,1),backgroundColor:e.palette.background.paper,margin:e.spacing(1,0),borderRadius:e.shape.borderRadius/2,boxShadow:e.shadows[1],cursor:"pointer",border:"2px dashed transparent",boxSizing:"border-box",...t?{background:"rgba(0,0,0,0.1)",cursor:"default"}:{"&:hover":{opacity:.8}}})),p=(0,r.Ay)("div",{name:"EditBlock",slot:"actions"})(({theme:e})=>({"& button":{marginLeft:e.spacing(.5)}})),k=(0,r.Ay)("div",{name:"EditBlock",slot:"content"})(({theme:e})=>({paddingLeft:e.spacing(2)}));function b(e){let{title:t,layoutEditMode:a,blockName:r,blockOrigin:d,elements:b}=e,{layoutBackend:f,jsxBackend:y,dispatch:E,i18n:h}=(0,l.PCX)(),{title:A,container:B}=c.useMemo(()=>f.getBlockView(r)||{title:r,container:!1},[r,f]),C=(t&&u()(t)?h.formatMessage({id:t}):"")||A||r,_="layout"===d&&a===s.W.editLayout||"page"===d&&a===s.W.editPageContent||"site"===d&&a===s.W.editSiteContent,x=t=>E({type:t,payload:e});return c.createElement(m,null,c.createElement(g,null,C,c.createElement(p,null,B?c.createElement(n.A,{title:h.formatMessage({id:"add_layout_block"})},c.createElement(i.A,{onClick:()=>x("@layout/createBlock"),size:"smaller"},c.createElement(o.s4,{icon:"ico-plus"}))):null,_?c.createElement(n.A,{title:h.formatMessage({id:"edit_layout_block"})},c.createElement(i.A,{onClick:()=>x("@layout/editBlock"),size:"smaller"},c.createElement(o.s4,{icon:"ico-pencil"}))):null,_?c.createElement(n.A,{title:h.formatMessage({id:"delete_layout_block"})},c.createElement(i.A,{onClick:()=>x("@layout/deleteBlock"),size:"smaller"},c.createElement(o.s4,{icon:"ico-trash"}))):null)),B?c.createElement(k,null,y.render(b)):null)}}}]);

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.