PageSourceSearch

https://www.womanfuture.or.kr/_next/static/chunks/9564.80cfc9a2206cd5b0.js

js womanfuture.or.kr collected 2026-10-06 14:04:45 UTC 11,048 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9564],{99564:function(e,t,n){n.r(t),n.d(t,{default:function(){return containers_GlobalContents}});var o=n(85893),r=n(36503);let getCustomCode=async e=>{let{pageId:t}=e,{data:n}=await r.Z.get("/custom-code/page/".concat(t));return n};var l=n(88767),i=n(4480),c=n(57445),u=n(67294),hooks_useCustomCodeApi=()=>{let{page:e}=(0,i.sJ)(c.U7),t=(0,i.sJ)(c.ZP),[n,o]=(0,u.useState)(!1),r=!!(null==e?void 0:e.id),a=(null==t?void 0:t.plan)!=="free",{data:s}=(0,l.useQuery)("getCustomCode",()=>getCustomCode({pageId:null==e?void 0:e.id}),{enabled:r&&a&&!n});return(0,u.useEffect)(()=>{let e="Y"===localStorage.getItem("QSHOP_DEBUG_MODE");o(e)},[]),(0,u.useEffect)(()=>{null==t||t.plan},[null==t?void 0:t.plan]),{customCodeData:s}},a=n(68618),hooks_useCustomCodeScriptingWorker=()=>{let{customCodeData:e}=hooks_useCustomCodeApi();return(0,a.Z)(null==e?void 0:e.pageCode),null},s=n(82729),d=n(35817),f=n(41815),m=n(95439);let p=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],g={desktop:54,mobile:40},h={horizontal:"right",vertical:"bottom"},b={desktop:50,mobile:15},getButtonRadiusValues=e=>p.reduce((t,n)=>{let o=null==e?void 0:e[n];if(null==o||""===o)return t[n]=100,t;let r=Number(o);return t[n]=Number.isFinite(r)?r:100,t},{}),getButtonRadiusStyle=(e,t)=>{let n=(t?g.mobile:g.desktop)/2,o=getButtonRadiusValues(e);return p.reduce((e,t)=>(e[t]="".concat(Math.ceil(n*o[t]/100),"px"),e),{})},toOffset=(e,t)=>{if(null==e||""===e)return t;let n=Number(e);return Number.isFinite(n)?n:t},getFloatingPosition=(e,t)=>t?{...h,offsetX:b.mobile,offsetY:b.mobile}:{horizontal:(null==e?void 0:e.horizontal)==="left"?"left":h.horizontal,vertical:(null==e?void 0:e.vertical)==="top"?"top":h.vertical,offsetX:toOffset(null==e?void 0:e.offsetX,b.desktop),offsetY:toOffset(null==e?void 0:e.offsetY,b.desktop)},getFloatingPositionStyle=function(e){let{isMobile:t,viewportInset:n=0,bottomInset:o=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{horizontal:r,vertical:l,offsetX:i,offsetY:c}=getFloatingPosition(e,t);return{position:"fixed",["left"===r?"left":"right"]:"".concat(i+toOffset(n,0),"px"),["top"===l?"top":"bottom"]:"".concat("top"===l?c:c+toOffset(o,0),"px")}},getFloatingAlignItems=(e,t)=>"left"===getFloatingPosition(e,t).horizontal?"flex-start":"flex-end",getFloatingTitleDirection=(e,t)=>"left"===getFloatingPosition(e,t).horizontal?"row-reverse":"row",isTopAnchored=(e,t)=>"top"===getFloatingPosition(e,t).vertical;var v=n(16829),C=n(1095),j=n(62905);function _templateObject(){let e=(0,s._)(["\n  display: flex;\n  flex-direction: ",";\n  align-items: center;\n  justify-content: center;\n  gap: 10px;\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,s._)(["\n  font-size: 16px;\n  font-weight: 400;\n  color: ",";\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,s._)(["\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background-color: rgba(0, 0, 0, 0.5);\n  backdrop-filter: blur(10px);\n  ","\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,s._)(["\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  ","\n  ","\n  /* 하단 여백(bottomInset)이 바뀔 때 튀지 않게 */\n  transition: bottom 0.2s ease-out;\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,s._)(["\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: ",";\n  gap: 10px;\n  width: 100%;\n  height: 100%;\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,s._)(["\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  width: ",";\n  height: ",";\n  ","\n  ","\n  box-shadow: 3px 4px 10px 2px rgba(0, 0, 0, 0.2);\n  background-color: ",";\n  cursor: pointer;\n  i {\n    font-size: ",";\n    color: ",";\n  }\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,s._)(["\n  background-color: ",";\n  i {\n    font-size: ",";\n    color: ",";\n  }\n"]);
1return _templateObject6=function(){return e},e}function _templateObject7(){let e=(0,s._)(["\n  width: 100%;\n  height: 100%;\n  object-fit: cover;\n"]);return _templateObject7=function(){return e},e}let x=v.Z.div(_templateObject(),e=>{let{direction:t}=e;return t||"row"}),_=v.Z.span(_templateObject1(),e=>{let{color:t}=e;return t||"#ffffff"}),y=v.Z.div(_templateObject2(),C.P.floatZIndex),O=v.Z.div(_templateObject3(),C.P.floatZIndex,e=>{let{positionStyle:t}=e;return t}),k=v.Z.div(_templateObject4(),e=>{let{alignItems:t}=e;return t||"flex-end"}),w=v.Z.div(_templateObject5(),e=>{let{isMobile:t}=e;return t?"".concat(g.mobile,"px"):"".concat(g.desktop,"px")},e=>{let{isMobile:t}=e;return t?"".concat(g.mobile,"px"):"".concat(g.desktop,"px")},e=>{let{radiusStyle:t}=e;return t},e=>{let{hasImage:t}=e;return t?"overflow: hidden;":""},e=>{let{backgroundColor:t}=e;return t},e=>{let{isMobile:t}=e;return t?"18px":"24px"},e=>{let{color:t}=e;return t}),S=(0,v.Z)(w)(_templateObject6(),e=>{let{backgroundColor:t}=e;return t},e=>{let{isMobile:t}=e;return t?"18px":"24px"},e=>{let{color:t}=e;return t}),F=v.Z.img(_templateObject7());var Slime_Floating=e=>{var t;let{...n}=e,{item:r,device:l}=n,{mainButton:c,subButtons:a,useFloatingContent:s,useMainButton:p,useBackground:g,position:h}=r.data,b=(0,j.Z)(),[v,C]=(0,u.useState)(!1),[E,I]=(0,u.useState)(0),Z=(0,i.sJ)(d.IZ),P=getFloatingPosition(h,b).horizontal,D=(0,i.sJ)((0,f.q4)(P));(0,u.useEffect)(()=>{var e;if((null===(e=window)||void 0===e?void 0:e.innerWidth)>1920&&1920===Z){I((window.innerWidth-Z)/2);return}!Z||1920===Z||window.innerWidth-Z<=0?I(0):I((window.innerWidth-Z)/2)},[Z,null===(t=window)||void 0===t?void 0:t.innerWidth]),(0,u.useEffect)(()=>{!1===p&&C(!0)},[p]);let A=(0,u.useMemo)(()=>getFloatingPositionStyle(h,{isMobile:b,viewportInset:E,bottomInset:D}),[h,b,E,D]),B=(0,u.useMemo)(()=>getFloatingAlignItems(h,b),[h,b]),M=(0,u.useMemo)(()=>getFloatingTitleDirection(h,b),[h,b]),N=(0,u.useMemo)(()=>isTopAnchored(h,b),[h,b]);if(!s)return null;let R=v&&(null==a?void 0:a.map((e,t)=>{let{id:n,icon:r,image:i,title:c,color:a,backgroundColor:s,textColor:d,hideTitle:f,onClick:p,style:g}=e;return(0,o.jsx)(u.Fragment,{children:(0,o.jsx)(m.Z,{device:l,onClick:p,children:(0,o.jsxs)(x,{direction:M,children:[!f&&(0,o.jsx)(_,{color:d,children:c}),(0,o.jsx)(S,{color:a,backgroundColor:i?"transparent":s,radiusStyle:getButtonRadiusStyle(g,b),hasImage:!!i,isMobile:b,children:i?(0,o.jsx)(F,{src:i,alt:c||""}):(0,o.jsx)("i",{className:r})})]})})},"".concat(n,"-").concat(t))})),z=!!(null==c?void 0:c.image)&&!v,T=p&&(0,o.jsxs)(x,{direction:"column-reverse",children:[!(null==c?void 0:c.hideTitle)&&(0,o.jsx)(_,{color:null==c?void 0:c.textColor,children:null==c?void 0:c.title}),(0,o.jsx)(w,{onClick:()=>C(e=>!e),color:(null==c?void 0:c.color)||"#000000",backgroundColor:z?"transparent":(null==c?void 0:c.backgroundColor)||"#ffffff",radiusStyle:getButtonRadiusStyle(null==c?void 0:c.style,b),hasImage:z,isMobile:b,children:v?(0,o.jsx)("i",{className:"fa-solid fa-close"}):z?(0,o.jsx)(F,{src:c.image,alt:(null==c?void 0:c.title)||""}):(0,o.jsx)("i",{className:(null==c?void 0:c.icon)||"icon-options-vertical"})})]});return(0,o.jsxs)(o.Fragment,{children:[p&&v&&g&&(0,o.jsx)(y,{}),(0,o.jsx)(O,{positionStyle:A,children:(0,o.jsx)(k,{alignItems:B,children:N?(0,o.jsxs)(o.Fragment,{children:[T,R]}):(0,o.jsxs)(o.Fragment,{children:[R,T]})})})]})},E=n(96651),I=n(73935),_hook_useFloatingBlock=()=>{let e=(0,i.sJ)(f.Gq),{get:t}=(0,E.Z)({isAdmin:!1}),{data:n}=(0,l.useQuery)(["footer"],()=>t("/page-section/footer"),{select:e=>{let{data:t}=e;try{var n,o;let e=JSON.parse(null==t?void 0:null===(n=t.item)||void 0===n?void 0:n.html);return null==e?void 0:null===(o=e.children)||void 0===o?void 0:o.find(e=>"floating"===e.type)}catch(e){return null}},staleTime:6e4,cacheTime:3e5});return{FloatingRenderer:()=>{try{if(n)return(0,I.createPortal)((0,o.jsx)(Slime_Floating,{item:n}),document.body);if(e)return(0,I.createPortal)((0,o.jsx)(Slime_Floating,{item:e}),document.body);return null}catch(e){return null}}}},containers_GlobalContents=()=>{let{FloatingRenderer:e}=_hook_useFloatingBlock();return hooks_useCustomCodeScriptingWorker(),(0,o.jsx)(o.Fragment,{children:e()})}},68618:function(e,t,n){n.d(t,{Z:function(){return hooks_useCustomCodeInjection}});var o=n(67294);let wrapInlineScript=(e,t)=>
1"\n            (function() {\n              try {\n                ".concat(e,"\n              } catch (error) {\n                console.group('\uD83D\uDEA8 ").concat(t," 스크립트 실행 오류');\n                console.error('오류 내용:', error.message);\n                console.error('스택 트레이스:', error.stack);\n                console.error('스크립트 코드:', ").concat(JSON.stringify(e),");\n                console.groupEnd();\n              }\n            })();\n          "),injectCustomCode=async function(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>!1;if(!e||o())return;let r=document.createElement("div");r.innerHTML=e;let l=r.querySelectorAll("style");l.forEach(e=>{let o=document.createElement("style");o.textContent=e.textContent,o.setAttribute("data-custom-code",t),document.head.appendChild(o),n(o)});let i=r.querySelectorAll("script");for(let e=0;e<i.length;e++){if(o())return;let r=i[e];if(r.src){await new Promise(e=>{let o=document.createElement("script");o.setAttribute("data-custom-code",t),o.src=r.src,o.async=!1,o.onload=()=>e(),o.onerror=()=>e(),"header"===t?document.head.appendChild(o):document.body.appendChild(o),n(o)});continue}let l=r.textContent;if(!(null==l?void 0:l.trim()))continue;let c=document.createElement("script");if(c.setAttribute("data-custom-code",t),c.textContent=wrapInlineScript(l,t),"header"===t){document.head.appendChild(c),n(c);continue}"loading"===document.readyState?await new Promise(e=>{document.addEventListener("DOMContentLoaded",()=>{o()||(document.body.appendChild(c),n(c)),e()},{once:!0})}):(document.body.appendChild(c),n(c))}},injectCustomCodeSlots=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>!1;await injectCustomCode(e.header,"header",t,n),await injectCustomCode(e.body,"body",t,n),await injectCustomCode(e.footer,"footer",t,n)},removeInjectedCustomCode=e=>{e.forEach(e=>{e&&e.parentNode&&e.parentNode.removeChild(e)})},isCustomCodeDisabledByDebugMode=()=>{try{return"Y"===localStorage.getItem("QSHOP_DEBUG_MODE")}catch(e){return!1}};var hooks_useCustomCodeInjection=e=>{let t=(0,o.useRef)([]),n=null==e?void 0:e.header,r=null==e?void 0:e.body,l=null==e?void 0:e.footer;(0,o.useEffect)(()=>{if(removeInjectedCustomCode(t.current),t.current=[],isCustomCodeDisabledByDebugMode()||!n&&!r&&!l)return;let e=!1;return injectCustomCodeSlots({header:n,body:r,footer:l},e=>{t.current.push(e)},()=>e),()=>{e=!0,removeInjectedCustomCode(t.current),t.current=[]}},[n,r,l])}}}]);

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.