PageSourceSearch

https://type.link/_next/static/chunks/822.21b4e79fb17a799b.js

js type.link collected 2026-10-01 14:10:31 UTC 10,845 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7cb4737b-5893-4af9-b915-da31e52d1737",e._sentryDebugIdIdentifier="sentry-dbid-7cb4737b-5893-4af9-b915-da31e52d1737")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[822],{5395:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var i=l(95155),n=l(12115);l(22161);var s=l(77374),a=l(89005),o=l(13546),c=l(95604);function r(e){let{handleCloseModal:t,onChange:l}=e,r=(0,n.useRef)(null),[d,x]=(0,n.useState)("emoji"),u=(0,n.useContext)(a.M),[p,m]=(0,n.useState)(""),h=(0,c.useTranslations)("app.editor");function f(e){l(e.i.includes("<svg")?e.i:'<svg class="fill-current" pointer-events="none" width="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="'.concat(e.i,'"></path></svg>')),"mobile"===(0,o.H9)()&&t()}function g(e){return null==e?void 0:e.toString().includes(p)}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"py-[12px] relative text-[14px] text-gray5 font-bold flex flex-row justify-center items-center gap-[12px]",children:[(0,i.jsxs)("svg",{onClick:()=>t(),className:"absolute cursor-pointer transition active:scale-95 md:top-[8px] right-[8px]",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"11.5",fill:"white"}),(0,i.jsx)("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"11.5",stroke:"#EAEAEA"}),(0,i.jsx)("path",{d:"M8.66675 8.66666L15.3334 15.3333",stroke:"#3E87F8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M15.3334 8.66666L8.66675 15.3333",stroke:"#3E87F8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,i.jsx)("span",{onClick:()=>{x("emoji")},className:"".concat("emoji"===d?"text-blue":""," cursor-pointer transition active:scale-95"),children:h("popupicons.tab1")}),(0,i.jsx)("span",{onClick:()=>{x("icon")},className:"".concat("icon"===d?"text-blue":""," cursor-pointer transition active:scale-95"),children:h("popupicons.tab2")})]}),(0,i.jsx)("input",{autoComplete:"off",ref:r,spellCheck:!1,value:p,onChange:e=>m(e.target.value.toLowerCase()),type:"text",placeholder:h("popupicons.searchplaceholder"),className:"border border-gray5 border-opacity-20 rounded-[6px] search-input"}),(0,i.jsxs)("div",{className:"overflow-scroll max-h-[477px] no-scrollbar",children:["emoji"===d&&(0,i.jsxs)("div",{className:"md:w-[240px] my-[5px] mx-auto flex flex-wrap justify-center",children:[u.emojis.filter(e=>p?g(e.n):e).slice(0,102).map((e,n)=>(0,i.jsx)("div",{onClick:()=>{l(e.i),"mobile"===(0,o.H9)()&&t()},className:"emoji-item",children:(0,i.jsx)("span",{className:"leading-[20px]",children:e.i})},n)),0===u.emojis.length&&(0,i.jsx)("div",{className:"flex items-center justify-center w-full h-[150px] text-blue",children:s.wG})]}),"icon"===d&&(0,i.jsxs)("div",{className:"md:w-[240px] my-[5px] mx-auto flex flex-wrap justify-center",children:[u.material.filter(e=>p?g(e.n):e).slice(0,102).map((e,t)=>(0,i.jsx)("div",{onClick:f.bind(null,e),className:"icon-item",title:e.n,children:e.i.includes("<svg")?(0,i.jsx)("div",{className:"w-[15px]",dangerouslySetInnerHTML:{__html:e.i}}):(0,i.jsx)("svg",{className:"fill-current",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"20px",height:"20px",children:(0,i.jsx)("path",{fill:"#A4ADBA",d:e.i})})},t)),0===u.material.length&&(0,i.jsx)("div",{className:"flex items-center justify-center w-full h-[150px] text-blue",children:s.wG})]})]})]})}let d=e=>{let t=(0,n.useRef)(null),[l,s]=(0,n.useState)(!1),[a,c]=(0,n.useState)(!1),[d,x]=(0,n.useState)(!1),[u,p]=(0,n.useState)(!1),m=(0,n.useRef)(null);function h(t){e.isStatic||(s(!1),setTimeout(()=>{c(!1)},100))}function f(){h(null),x(!0),setTimeout(()=>{p(!0)},100)}function g(e){"Escape"===e.key&&w()}function w(){var e,t;p(!1),null==(e=m.current)||e.removeAttribute("open"),null==(t=m.current)||t.close(),setTimeout(()=>{x(!1)},150)}return(0,n.useEffect)(()=>
1{if(d){var e;t.current.closest(".typelink-item")&&(t.current.closest(".typelink-item").parentNode.style.zIndex="11",t.current.closest(".grid-layout").style.zIndex="11"),document.addEventListener("keydown",g),null==(e=m.current)||e.showModal()}return()=>{t.current&&t.current.closest(".typelink-item")&&(t.current.closest(".typelink-item").parentNode.style.zIndex="",t.current.closest(".grid-layout").style.zIndex=""),document.removeEventListener("keydown",g)}},[d]),(0,i.jsxs)("div",{"data-no-dnd":!0,ref:t,tabIndex:0,onBlur:function(e){var l,i,n;"mobile"!==(0,o.H9)()&&((null==(l=t.current)?void 0:l.contains(e.relatedTarget))||(null==(i=m.current)||i.removeAttribute("open"),null==(n=m.current)||n.close(),p(!1),setTimeout(()=>x(!1),150)))},className:"relative outline-none",onMouseEnter:function(t){e.isStatic||e.onClickOpen||d||(c(!0),setTimeout(()=>{s(!0)},10))},onMouseLeave:h,children:[(0,i.jsx)("div",{onClick:function(){!e.isStatic&&("mobile"===(0,o.H9)()||e.onClickOpen)&&f()},className:e.className+" outline-none",dangerouslySetInnerHTML:{__html:e.src}}),a&&(0,i.jsx)("div",{className:"hidden md:block absolute z-[21] uploader-panel",style:"top"===e.panelAlign?{top:-30,paddingBottom:20,paddingRight:20,left:"50%",marginLeft:-15}:{bottom:-40,paddingTop:40},children:(0,i.jsxs)("div",{className:"".concat(l?"scale-100 opacity-100":"scale-95 opacity-0"," c-shadow transition flex flex-row justify-center items-center bg-blue rounded-md"),children:[(0,i.jsx)("div",{className:"absolute bg-blue w-[12px] h-[12px] rounded-sm bottom-[-3px] left-[10px] rotate-45 z-[0]",style:"top"===e.panelAlign?{bottom:-3}:{top:-3}}),(0,i.jsx)("label",{onClick:f,className:"cursor-pointer active:scale-95 z-[1] p-[6px]",children:(0,i.jsx)("img",{draggable:!1,loading:"lazy",src:"/images/icons/icon-picker.svg",className:"max-w-[19px] w-[19px] h-[16px]"})})]})}),d&&"desktop"===(0,o.H9)()&&(0,i.jsx)("div",{className:"icon-picker__popup ".concat(e.position||"left-[100px] top-[100px]"," !fixed grid-drag__disabled transition-all duration-100 ").concat(u?"scale-100 opacity-100":"scale-95 opacity-0"),children:(0,i.jsx)(r,{onChange:e.onChange,handleCloseModal:w})}),d&&"mobile"===(0,o.H9)()&&(0,i.jsxs)("dialog",{ref:m,className:"modal modal-bottom text-black",children:[(0,i.jsxs)("div",{className:"modal-box md:max-w-[800px] lg:max-w-[1040px] md:mx-auto h-[80%] md:h-auto w-full",children:[(0,i.jsx)("div",{className:"block md:hidden left-1/2 -translate-x-1/2 -translate-y-[24px] top-[7px] w-[44px] h-[4px] rounded-[4px] bg-gray5 sticky opacity-50"}),(0,i.jsx)("div",{className:"modal-body justify-center",children:(0,i.jsx)("div",{children:(0,i.jsx)(r,{onChange:e.onChange,handleCloseModal:w})})})]}),(0,i.jsx)("form",{method:"dialog",onClick:w,className:"modal-backdrop",children:(0,i.jsx)("button",{children:"close"})})]})]})}},8441:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>x});var i=l(95155),n=l(95644),s=l.n(n),a=l(12115),o=l(5395),c=l(79775);l(80153);var r=l(97417),d=l(41245);let x=e=>{var t,l,n;let x=(0,r.o)(),u=(null==x?void 0:x.getTextBlockStyle)||(()=>({})),p=(null==x?void 0:x.setSelectedTextBlockId)||(()=>{}),m=(0,a.useRef)(null),{data:h,id:f}=e.widget,g=(0,a.useCallback)((t,l,i)=>{let n=h.items,a=n.find(e=>e.id===l);a&&(a[t]=s()(i,{allowedTags:["b","i","a","p"],allowedAttributes:{a:["href"]}}),e.updateWidgetDataInPage({items:n},e.widget.id),clearTimeout(m.current),m.current=setTimeout(()=>{e.setSavePage({save:!0})},300))},[]),w=(0,a.useCallback)((t,l)=>{e.updateWidgetDataInPage({[t]:s()(l,{allowedTags:["b","i","a","p"],allowedAttributes:{a:["href"]}})},e.widget.id),clearTimeout(m.current),m.current=setTimeout(()=>{e.setSavePage({save:!0})},300)},[]),b=h.colorscheme.textColor||"".concat((null==(t=e.layoutColorSchemeBg)?void 0:t.includes("black"))?"text-white":"");return(0,i.jsx)("div",{style:e.customStyle,className:"typelink-item ".concat(e.customClassname," ").concat(e.isStatic?"typelink-item__static":""," justify-").concat((null==(l=h.show)?void 0:l.smallText)?"start":"center"," items-center ").concat(h.colorscheme.border," ").concat(h.colorscheme.bg," ").concat(b," rounded-2xl flex ").concat("flex-col"," ").concat("gap-[0px]"),children:(0,i.jsxs)("div",{className:"flex flex-row justify-center h-full relative  ".concat(h.fullWidth?"mobile"!==e.currentDevice||e.isStatic?"lg:w-[780p
1x] md:w-[780px] w-[360px] mx-auto":"w-[360px] mx-auto":"w-full"),children:[(null==(n=h.show)?void 0:n.smallText)&&(0,i.jsx)(c.A,{isStatic:e.isStatic,wrapperClass:"absolute top-[-12px] ".concat(h.fullWidth?"left-0":"left-[-12px]"," min-w-[20px] max-w-[calc(100%-24px)]"),onChange:w.bind(null,"smallText"),textColor:b,html:h.smallText,tagName:"h2",className:"outline-none flex-none webkit-box-1 word-break overflow-hidden text-left mr-auto typelink-item__text font-semibold text-[10px] ".concat(b.includes("black")||!b?"text-gray5":h.colorscheme.textColor),textBlockId:(0,d.BT)(h.type,"smallText",f),textBlockStyle:u((0,d.BT)(h.type,"smallText",f)),onTextBlockClick:p}),(0,i.jsx)("div",{className:"whitespace-nowrap h-[125px] overflow-auto max-w-full flex flex-row justify-center",children:(0,i.jsx)("div",{className:"flex pt-[12px] flex-row gap-[10px] items-center max-w-[100%]",children:h.items.map((t,l)=>{var n;return(0,i.jsxs)("div",{className:"flex flex-col gap-[8px] w-[66px] flex-none text-center justify-center items-center relative transition ".concat(e.isStatic?"typelink-item__clickable":""),children:[(0,i.jsxs)("div",{className:"".concat(b.includes("white")?"bg-white":"bg-gray5 bg-opacity-20"," w-[44px] h-[44px] flex justify-center items-center ").concat(t.photoRounding),children:[(0,i.jsx)("div",{className:"hidden text-green text-red text-blue text-orange"}),(0,i.jsx)(o.A,{isStatic:e.isStatic,panelAlign:"top",src:t.icon,className:"w-[24px] ".concat(b.includes("white")?(null==(n=h.colorscheme.bg)?void 0:n.replace("bg-","text-"))||"text-black":""," ").concat(t.icon.includes("<svg")?"text-[24px]":"text-[21px] leading-[22px]"," text-center transition-icon"),onChange:l=>((t,l)=>{let i=h.items,n=i.find(e=>e.id===t);n&&(n.icon=l,e.updateWidgetDataInPage({items:i},e.widget.id),e.setSavePage({save:!0}))})(t.id,l)})]}),(0,i.jsx)(c.A,{isStatic:e.isStatic,onChange:g.bind(null,"title",t.id),wrapperClass:"relative max-w-[74px] ",textColor:b,html:t.title,tagName:"p",className:"text-[12px] outline-none typelink-item__text truncate",textBlockId:(0,d.BT)(h.type,"title",f,t.id),textBlockStyle:u((0,d.BT)(h.type,"title",f,t.id)),onTextBlockClick:p}),e.isStatic&&(0,i.jsx)("a",{className:"absolute top-0 left-0 right-0 bottom-0",href:t.href,target:"_blank"})]},t.id)})})})]})})}},22161:()=>{},80153:()=>{}}]);

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.