PageSourceSearch

https://www.ausl.fe.it/static/js/RepeatableContentEdit.c28cee60.chunk.js

js ausl.fe.it collected 2026-10-02 10:38:40 UTC 4,128 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[70888],{6560:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var o=n(11504),s=n(44680),a=n(55708),l=n(900),i=n(91376),c=n(40848),h=n(896),r=n(26808),d=n(22140),u=o.createElement;const g=(0,a.defineMessages)({emptySelection:{id:"repeatable-content-block-emptySelection",defaultMessage:"Please select an content in the sidebar in order to show it here"},pathNotExists:{id:"repeatable-content-block-pathNotExists",defaultMessage:"The content path does not exist. Please select a new one or delete this block"}}),f=({block:e,data:t,selected:n,onChangeBlock:a,openObjectBrowser:f})=>{var m;const w=(0,s.useSelector)((t=>t.content.subrequests[e])),C=(0,s.useSelector)((t=>{var n;return null===(n=t.content.subrequests[e])||void 0===n?void 0:n.data})),p=(0,l.c)(),v=(0,s.useDispatch)();return(0,o.useEffect)((()=>(!t.href||null!==w&&void 0!==w&&w.loading||v((0,i.uq)((0,h._c)(t.href),null,e)),()=>v((0,i.s7)(e)))),[v,e,t.href]),u(o.Fragment,null,(null===(m=t.href)||void 0===m?void 0:m.length)>0?t.href.startsWith("../")?u("div",{className:"ui message warning"},p.formatMessage(g.pathNotExists)):u(o.Fragment,null,u("div",{className:"public-ui"},u("div",{className:"block repeatableContentBlock"},u(r.c,{content:C,edit:!0,data:t})))):u("div",{className:"ui message warning"},p.formatMessage(g.emptySelection)),u(c._OY,{selected:n},u(d.M3,{block:e,data:t,onChangeBlock:a,openObjectBrowser:f})))}},41024:(e,t,n)=>{n.r(t),n.d(t,{default:()=>w});var o=n(76040),s=n(11504),a=n(1328),l=n(55708),i=n(900),c=n(29560),h=n(40848),r=n(70359),d=n.n(r),u=n(40680),g=n.n(u),f=s.createElement;const m=(0,l.defineMessages)({select_content:{id:"select_content",defaultMessage:"Select content"},showContentTitle:{id:"showContentTitle",defaultMessage:"Show content title"},showContentDescription:{id:"showContentDescription",defaultMessage:"Show content description"},showContentText:{id:"showContentText",defaultMessage:"Show content text"},showContentImage:{id:"showContentImage",defaultMessage:"Show content image (if available)"},imageFullWidth:{id:"imageFullWidth",defaultMessage:"Show full-width image (if available)"},title:{id:"title",defaultMessage:"Title"}}),w=({block:e,data:t,onChangeBlock:n,openObjectBrowser:l})=>{const r=(0,i.c)();return(0,s.useEffect)((()=>{t.showContentImage||t.showContentDescription||t.showContentText||t.showContentTitle||void 0!==t.href||n(e,(0,o.c)((0,o.c)({},t),{},{showContentText:!0}))}),[t]),f(a.c.Group,{raised:!0},f("header",{className:"header pulled"},f("h2",null,f(c.c,{id:"Content to be replicated",defaultMessage:"Content to be replicated"}))),f(a.c,{className:"form"},f(h.mwe,{id:"title",title:r.formatMessage(m.title),required:!1,value:t.title,onChange:(s,a)=>{n(e,(0,o.c)((0,o.c)({},t),{},{[s]:a}))}}),f(h.mwe,{id:"href",title:r.formatMessage(m.select_content),required:!1,value:t.href,icon:t.href?d():g(),iconAction:t.href?()=>{n(e,(0,o.c)((0,o.c)({},t),{},{href:""}))}:()=>l({mode:"link",onSelectItem:s=>{n(e,(0,o.c)((0,o.c)({},t),{},{href:s}))}}),onChange:(s,a)=>{n(e,(0,o.c)((0,o.c)({},t),{},{[s]:a}))}})),f(a.c,null,f(h.Wi2,{id:"showContentTitle",title:r.formatMessage(m.showContentTitle),value:!!t.showContentTitle&&t.showContentTitle,onChange:(s,a)=>{n(e,(0,o.c)((0,o.c)({},t),{},{[s]:a}))}}),f(h.Wi2,{id:"showContentDescription",title:r.formatMessage(m.showContentDescription),value:!!t.showContentDescription&&t.showContentDescription,onChange:(s,a)=>{n(e,(0,o.c)((0,o.c)({},t),{},{[s]:a}))}}),f(h.Wi2,{id:"showContentText",title:r.formatMessage(m.showContentText),value:!!t.showContentText&&t.showContentText,onChange:(s,a)=>{n(e,(0,o.c)((0,o.c)({},t),{},{[s]:a}))}}),f(h.Wi2,{id:"showContentImage",title:r.formatMessage(m.showContentImage),value:!!t.showContentImage&&t.showContentImage,onChange:(s,a)=>{n(e,(0,o.c)((0,o.c)({},t),{},{[s]:a}))}}),t.showContentImage&&f(h.Wi2,{id:"imageFullWidth",title:r.formatMessage(m.imageFullWidth),value:!!t.imageFullWidth&&t.imageFullWidth,onChange:(s,a)=>{n(e,(0,o.c)((0,o.c)({},t),{},{[s]:a}))}})))}}}]);
2//# sourceMappingURL=RepeatableContentEdit.c28cee60.chunk.js.map

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.