1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[50519],{76715:function(e,t,l){l.d(t,{L:function(){return i}});var n=l(67294);let i=n.createContext({})},50519:function(e,t,l){l.d(t,{W:function(){return C}});var n=l(85893),i=l(92655),o=l(68471),r=l(67294),u=l(16145),d=l(93967),a=l.n(d),s=l(11606),c=l(79909),v=l(57851),p=l(76715),f=l(5152),m=l.n(f),h=l(99439),y=l(65598);let g=e=>{let{templateKey:t}=e;return(0,n.jsx)(y.Dev,{visible:!0,vsCodeLink:{relativePath:"/src/app/template/blocks/".concat(t,".block.tsx")},className:"absolute z-40 hover:bg-blue-800 cursor-help left-0 top-0",children:t})};var b=l(11163);let x=m()(()=>Promise.all([l.e(49774),l.e(20684),l.e(49901),l.e(2746)]).then(l.bind(l,2746)),{loadableGenerated:{webpack:()=>[2746]},ssr:!1}),k={F:"100vw",L:"1440px",M:"1280px",S:"1024px",XS:"768px"},C=e=>{var t,l,d,f,m,y;let C=e.container?{}:(0,r.useContext)(p.L),{container:N,preview:w,template:P,templateKey:_,setPropertyOnChild:T,Tag:E="div",editToolProp:j,aos:D,children:M,style:K,index:z,tooltipProp:I,overlay:L,...O}={...C,...e};if(N.__deleted)return null;if(!N)throw Error("container is undefined");let{adminReady:S,editMode:F,isMobileSize:Z,windowSize:A,editingEle:H,Tools:J}=(0,r.useContext)(u.v),R=(0,b.useRouter)(),V=(0,o.F)(N.type),X=V(N,{preview:w}),{editingProp:B}=(0,i.I)(N,{...O,preview:w,...j}),U=["header","footer","widget"].includes(N.type),W=F||!D||"none"===N.aosEffect||U;N.type;let q=void 0===(null===(t=N.aosConfig)||void 0===t?void 0:t.once),G=W?{}:{"data-aos":N.aosEffect,"data-aos-once":q?"true":"false","data-aos-mirror":(null===(l=N.aosConfig)||void 0===l?void 0:l.mirror)?"true":"false"},$={};"header"===N.type&&($=(0,s.gJ)(Object.entries(N.mlink||{})));let Q=Z&&N.mx||N.x,Y=Z&&N.my||N.y,ee=Z&&N.mt||N.t,et=Z&&N.mb||N.b,el={...G,...O,...B,title:void 0,className:(0,v.m)(a()("tempalteRender","hover-parent-container py-custom relative ",{"-outline-offset-2":!!P,"min-h-[16px]":!U&&F,"max-w-custom-box":Q,["py-custom-".concat(Y)]:Y,["pt-custom-".concat(ee)]:ee,["pb-custom-".concat(et)]:et},C.className,B.className,O.className))},en={...$,...K,...el.style};P&&Q&&(en={...en,...(0,s.gJ)([["max-w-custom",k[Q]]])}),"none"!==en.display&&(Z?N.mbHide&&(en.display="none"):N.pcHide&&(en.display="none"));let ei={...G,...el,style:(0,c._8)(en),"data-template-key":_||void 0},eo="function"==typeof M?void 0:r.Children.map(M,e=>{if(T&&r.isValidElement(e)){var t;return r.cloneElement(e,{...ei,className:a()(ei.className,(null===(t=e.props)||void 0===t?void 0:t.className)||"")})}return e}),er=(0,r.useMemo)(()=>{var e;return null==ei?void 0:null===(e=ei.className)||void 0===e?void 0:e.includes("overflow-hidden")},[null==ei?void 0:ei.className]);return"widget"===N.type&&(!X.open||(null===(d=N.renderPaths)||void 0===d?void 0:d.length)&&!(null===(f=N.renderPaths)||void 0===f?void 0:f.includes(R.asPath))||(null===(m=N.hidePaths)||void 0===m?void 0:m.length)&&(null===(y=N.hidePaths)||void 0===y?void 0:y.includes(R.asPath)))?null:(0,n.jsx)(o.X.Provider,{value:X,children:T?eo:(0,n.jsxs)(E,{...ei,children:["function"==typeof M?M(X):M,F&&(0,n.jsx)(x,{dir:er?"top-in":0===z?"bottom-in":"top",container:N,...I}),_&&(0,n.jsx)(g,{templateKey:_}),(0,n.jsx)(h.d,{contentClassName:ei.className,overlay:(null==N?void 0:N.overlay)||L})]})})}},48:function(e,t,l){l.d(t,{U:function(){return o},Z:function(){return r}});var n=l(67294),i=l(16145);let o=e=>{let{isMobileSize:t}=(0,n.useContext)(i.v);return{getSplashStyle:l=>{var n,i;if(!l)return{};let o=null==e?void 0:null===(i=e.listProp)||void 0===i?void 0:null===(n=i[l])||void 0===n?void 0:n.style,r=t?null==o?void 0:o.sm:{},u={...null==o?void 0:o.full,...r};return u},getSplashProp:t=>{var l;if(!t)return{};let{style:n,...i}=(null==e?void 0:null===(l=e.listProp)||void 0===l?void 0:l[t])||{};return i}}},r=n.createContext({})},99439:function(e,t,l){l.d(t,{d:function(){return u}});var n=l(85893),i=l(93967),o=l.n(i),r=l(57851);let u=e=>{let{overlay:t,className:l,contentClassName:i,...u}=e,d=null==i?void 0:i.split(" ").find(e=>e.includes("z-"));return t?(0,n.jsx)("div",{...u,className:(0,r.m)(o()("video-after z-10",l)),style:{opacity:t.opacity,backgroundColor:t.color,zIndex:d?Number(d.split("-")[1])+1:1,...u.style}}):null}},92655:function(e,t,l){l.d(t,{I:function(){return k}});var n=l(93967),i=l.n(n),o=l(67294),r=l(16145),u=l(68471),d=l(11163),a=l(79909),s=l(2307),c=l(45140),v=l(76573),p=l(22954),f=l(11606),m=l(48),h=l(38409),y=l(51912),g=l(19006);let b=["image","text","link","button","icon","video"],x=[],k=function(e){var t,l,n,k;let C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},N=arguments.length>2?arguments[2]:void 0,{editStart:w,editMode:P,webEditorModalHook:_,editingEleClasses:T,editingEle:E,Tools:j,page:D,website:M,contextMenuHook:K,langMode:z,parentEditStart:I,store:L,windowSize:O,isMobileSize:S,imgPopupModalHook:F}=(0,o.useContext)(r.v),Z=(0,d.useRouter)(),{getSplashProp:A,getSplashStyle:H}=(0,o.useContext)(m.Z)||{},J=null==H?void 0:H(null==e?void 0:e.name),{preview:R=C.preview}=(0,o.useContext)(u.X),V=(e,t)=>{let l=x.includes(e.id)||e.id===(null==E?void 0:E.id);if(x.length>1&&x.splice(0,2),l&&"page"===e.type){w(t.id),x.splice(0,2);return}if(l){let l=j.findParent(e);
1if(!l){w(e.id);return}V(l,t)}else x.push(e.id),w(e.id)},X=function(t){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(null==N?void 0:N.selectDelay)||0;if(n||(t.stopPropagation(),t.preventDefault()),i?setTimeout(()=>{w(null==l?void 0:l.id)},i):w(null==l?void 0:l.id),t.shiftKey||t.altKey||t.ctrlKey||t.metaKey){V(l,l);return}},B=P?{onBlur:t=>{let l=t.currentTarget.innerHTML,n=(0,c.F)(l);if(z){e.lang={...e.lang,[S?"enMb":"en"]:n},j.set();return}if((null==e?void 0:e.mbTextUse)&&S){e.mbText=n,j.set();return}e.text=n,j.set()},onfocus:X,contentEditable:"plaintext-only"}:{},U={...B,onKeyDownCapture:e=>{e.stopPropagation()}},W=(()=>{if(O.width<=640){var t;return null==e?void 0:null===(t=e.style)||void 0===t?void 0:t.sm}return{}})(),q=C.populateClickEvent,G=t=>{s.e.clicking=null==e?void 0:e.id,s.e.clickingTimer=setTimeout(()=>{s.e.clicking===(null==e?void 0:e.id)&&(s.e.clicking=void 0,s.e.clickingTimer=void 0)},300),null==X||X(t,e,q)},$={..."string"==typeof C.ai?{ai:C.ai}:C.ai},Q=Object.fromEntries(Object.entries({asname:null==C?void 0:C.asname,...$,...C.config}).filter(e=>void 0!==e).map(e=>{let[t,l]=e;return["data-".concat(t),l]})),Y={...C.style,...J,...null==e?void 0:null===(t=e.style)||void 0===t?void 0:t.full,...W},ee=(0,f.gJ)([["--hover-color",null==Y?void 0:null===(l=Y.hover)||void 0===l?void 0:l.color],["--hover-border-color",null==Y?void 0:null===(n=Y.hover)||void 0===n?void 0:n.bordercolor],["--hover-bg-color",null==Y?void 0:null===(k=Y.hover)||void 0===k?void 0:k.bgcolor]].filter(e=>e[1])),et=(0,a._8)({...Y,...ee}),el="";(null==Y?void 0:Y.hover)&&(el+="hover-effect");let en=i()(C.className,el,{["".concat(T(e))]:!R}),ei={onContextMenu:e=>{G(e),K.handleContextMenu(e)},onClick:P?e=>{var t;e.preventDefault();let l=(0,v.bC)(e),n=!1,i=!1;l.forEach(e=>{let t=j.findById(e),l=(null==t?void 0:t.type)==="containerOfArray",o=b.includes(null==t?void 0:t.type);l&&(n=!0),o&&(i=!0)}),(n&&!i||p.q$)&&K.handleContextMenu(e),q&&(null===(t=C.onClick)||void 0===t||t.call(C,e)),G(e)}:C.onClick?t=>{var l;(null==e?void 0:e.type)!=="menu"&&t.preventDefault(),null===(l=C.onClick)||void 0===l||l.call(C,t)}:t=>{var l;let n=(null==C?void 0:C.type)==="submit"||(null==t?void 0:null===(l=t.currentTarget)||void 0===l?void 0:l.getAttribute("type"))==="submit";!n&&(null==e?void 0:e.type)&&!["menu","form","div","boardView","board","signup","policy","containerOfArray","array","block","click","mypage"].includes(null==e?void 0:e.type)&&t.preventDefault();let i=null==e?void 0:e.href;if(i&&(0,h.m)({cellName:e.text||e.mbText||e.name,pageName:null==D?void 0:D.name,path:null==D?void 0:D.path,event:y.Z8z.Click}),null==i?void 0:i.startsWith("#"))return;if((null==e?void 0:e.linkType)==="img-pop"){F.open({img:e.href,Title:"ìì¸ë³´ê¸°"});return}if(null==e?void 0:e.category){let t=(0,g.ng)(null==L?void 0:L.itemCategories,null==e?void 0:e.category);Z.push("/item-list/"+(null==t?void 0:t.slug))}if((null==e?void 0:e.linkType)==="download"){window.open(e.href,"_blank");return}if(!i)return;let o=":"+(M.domain||"")+"/";if(!i.includes("https://")||i.includes(o)){t.stopPropagation(),t.preventDefault(),Z.push(i);return}t.stopPropagation(),t.preventDefault(),window.open(i,e.target)},...(null==e?void 0:e.type)?({button:B,text:U,link:B})[null==e?void 0:e.type]:{},className:en,style:et,...P?Q:{},id:null==e?void 0:e.id,"data-eid":null==e?void 0:e.id,"data-type":null==e?void 0:e.type};return{resultClass:en,element:e,editingProp:ei,style:Y}}},19006:function(e,t,l){l.d(t,{Z4:function(){return i},_I:function(){return u},bg:function(){return r},mV:function(){return o},ng:function(){return n}});let n=(e,t)=>{for(let l of e){if(l._id===t)return l;if(l.childrens){let e=n(l.childrens,t);if(e)return e}}return null},i=(e,t)=>{for(let l of e){if(l.slug===t)return l;if(l.childrens){let e=i(l.childrens,t);if(e)return e}}return null},o=(e,t)=>{let l=[],n=(e,t,i)=>{for(let o of e){let e=[...i,o];if(o._id===t)return l.push(...e),!0;if(o.childrens&&n(o.childrens,t,e))return!0}return!1};return n(e,t,[]),l},r=(e,t)=>{let l=[],n=(e,t)=>{for(let i of e){if(i._id===t)return l.push(i._id),i.childrens&&i.childrens.forEach(e
1=>{l.push(e._id),e.childrens&&n(i.childrens,e._id)}),!0;if(i.childrens&&n(i.childrens,t))return!0}return!1};return n(e,t),l},u=(e,t)=>{let l=o(e,t);return l.length>0?l[0]:null}},45140:function(e,t,l){l.d(t,{F:function(){return n}});let n=e=>e.replace(/\u0008/g,"").replace(/<\/?(html|head|body)[^>]*>/gi,"").replace(/\n/g,"<br>")}}]);
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.