PageSourceSearch

https://www.socar.kr/_next/static/chunks/1757-238bbdf6ae491ed2.js

js socar.kr collected 2026-10-01 11:43:16 UTC 7,640 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1757],{4073:(t,e,i)=>{i.d(e,{A8:()=>r,CJ:()=>s,Zk:()=>o,xm:()=>l});var a=i(56002),n=i(90879);let r={height:7,width:11},s={colors:{andriod:"rgba(74,86,103,0.90)",ios:"rgba(53,65,83,0.74)",...a.w4.colors}},o={animate:{opacity:1,y:0},exit:{opacity:0,y:-10},initial:{opacity:0,y:-10},transition:{cubicBezier:(0,n.A)(.65,0,.35,1),duration:.5}},l={animate:{opacity:1,transition:{cubicBezier:(0,n.A)(.65,0,.35,1),duration:.5},y:0},exit:{opacity:0,transition:{cubicBezier:(0,n.A)(.65,0,.35,1),duration:.5},y:0},initial:{opacity:0,y:0}}},20854:(t,e,i)=>{i.d(e,{IconButton:()=>c});var a=i(54568),n=i(7620),r=i(77650),s=i(99164),o=i(96499),l=i(19388);let c=(0,n.forwardRef)(({className:t,disabled:e,hapticConfig:i=s.g9,icon:c,onPointerCancel:w,onPointerDown:d,onPointerLeave:u,onPointerUp:p,size:g,type:m="button",...f},h)=>{var v;let{handlePointerCancel:y,handlePointerDown:b,handlePointerLeave:x,handlePointerUp:N}=(0,o.G)({disabled:e,hapticConfig:i,onPointerCancel:w,onPointerDown:d,onPointerLeave:u,onPointerUp:p}),{rootClassName:j}=(({className:t,disabled:e})=>{let i=!!t&&/tw-bg-[^\s]+/.test(t),a=!!t&&/tw-border-[^\s]+/.test(t),n=(0,r.cn)(["tw-group","tw-aspect-square tw-w-fit","tw-relative",e&&["tw-cursor-not-allowed","tw-pointer-events-none"],e&&i&&"!tw-bg-gray-100",e&&a&&"!tw-border-border-regular",!e&&["active:after:tw-absolute","active:after:tw-left-spacing-0","active:after:tw-top-spacing-0","active:after:tw-content-['']","active:after:tw-w-full","active:after:tw-h-full","active:after:tw-bg-pressed-dark-regular","active:after:tw-rounded-radius-circle"]]),s=(0,r.cn)("tw-rounded-radius-circle");return{rootClassName:(0,r.cn)(l.r,n,t,s)}})({className:t,disabled:e}),B=null==(v=new Map([["large",{margin:"tw-m-spacing-200"}],["medium",{margin:"tw-m-spacing-150"}],["small",{margin:"tw-m-spacing-100"}],["xLarge",{margin:"tw-m-spacing-250"}],["xSmall",{margin:"tw-m-spacing-50"}]]).get(g))?void 0:v.margin,A=(0,n.cloneElement)(c,{className:(0,r.cn)(c.props.className,B,"group-active:tw-fill-gray-400 group-active:tw-scale-[92%]",{"!tw-fill-gray-400":e})});return(0,a.jsx)("button",{className:j,disabled:e,onPointerCancel:y,onPointerDown:b,onPointerLeave:x,onPointerUp:N,type:m,...f,ref:h,children:(0,a.jsx)("div",{className:"tw-flex tw-items-center tw-justify-center",children:A})})});c.displayName="IconButton"},32524:(t,e,i)=>{i.d(e,{A:()=>n});var a=i(54568);let n=(0,i(7620).forwardRef)(({className:t="",size:e=20,...i},n)=>(0,a.jsx)("svg",{className:t,fill:"currentColor",height:e,ref:n,viewBox:"0 0 24 24",width:e,xmlns:"http://www.w3.org/2000/svg",...i,children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M16.3071 21.3077C15.9166 21.6982 15.2834 21.6982 14.8929 21.3077L6.29287 12.7077C5.90234 12.3172 5.90234 11.684 6.29287 11.2935L14.8929 2.69348C15.2834 2.30295 15.9166 2.30295 16.3071 2.69348C16.6976 3.084 16.6976 3.71717 16.3071 4.10769L8.41419 12.0006L16.3071 19.8935C16.6976 20.284 16.6976 20.9172 16.3071 21.3077Z",fillRule:"evenodd"})}));n.displayName=void 0},70965:(t,e,i)=>{i.d(e,{TopAppBar:()=>x});var a=i(54568),n=i(7620),r=i(58601),s=i(77650),o=i(20854),l=i(32524);let c=({onClick:t,...e})=>(0,a.jsx)(o.IconButton,{icon:(0,a.jsx)(l.A,{}),onClick:e=>{if(t)return void t(e);if("undefined"!=typeof window){let t=null==window?void 0:window.onClickNavigation;"function"==typeof t?t():console.warn("ON_CLICK_NAVIGATION is not a function")}else console.info("SSR: onClickBackButton is not provided")},size:"large",...e});c.displayName="TopAppBar.BasicBackButton";let w=({children:t,className:e,...i})=>(0,a.jsx)("div",{className:(0,s.cn)("tw-flex tw-min-h-[40px] tw-items-center tw-justify-start",e),...i,children:t});w.displayName="LeftSideIconSlot";var d=i(82803);class u{constructor(t=window.fetch){this.intervalId=null,this.originalFetch=t}backToPreviousInstance(){Object.defineProperty(window,"fetch",{configurable:!0,enumerable:!0,value:this.originalFetch})}overRideWith(t,e,i,a){this.originalFetch=window.fetch.bind(window);let n=()=>this.startProgressAnimation(i),r=()=>this.stopProgressAnimation();Object.defineProperty(window,"fetch",{configurable:!0,enumerable:!0,get:()=>async(...i)=>{let[s]=i,o=s instanceof Request?s.url:s,l="string"==typeof o?o.includes(t):o.host===t;l&&(e(),n());try{return await this.originalFetch(...i)}finally{l&&(r(),a())}}})}startProgressAnimation(t){let e=performance.now(),i=a=>{a-e>=300&&(t(),e=a),null!==this.intervalId&&requestAnimationFrame(i)};this.intervalId=window.requestAnimationFrame(t=>i(t))}stopProgressAnimation(){null!==this.intervalId&&(cancelAnimationFrame(this.intervalId),this.intervalId=null)}}let p=(t,e)=>{switch(e.type){case"START":return{isLoading:!0,progress:10};case"INCREASE":return{isLoading:!0,progress:Math.min(t.progress+5,80)};case"DONE":return{isLoading:!1,progress:100};case"RESET":return{isLoading:!1,progress:0};default:return t}},g=({isLoading:t,progress:e})=>(0,a.jsx)("div",{className:`${t?"tw-bg-gray-100":"tw-bg-white"}
1 tw-absolute tw-bottom-[0px] tw-z-20 tw-h-[3px] tw-w-full`,children:(0,a.jsx)(d.P.div,{animate:{opacity:+!!t,width:`${e}%`},className:"tw-absolute tw-left-[0px] tw-z-10 tw-h-[100%] tw-bg-blue-500","data-slot":"topappbar-loading-bar",role:"progressbar",transition:{duration:.5,ease:[.42,0,.58,1]}},t.toString())}),m=({children:t=g,url:e})=>{let[i,r]=(0,n.useReducer)(p,{isLoading:!1,progress:0}),s=n.useMemo(()=>new u,[]);return(0,n.useEffect)(()=>(s.overRideWith(e,()=>r({type:"START"}),()=>r({type:"INCREASE"}),()=>{r({type:"DONE"}),setTimeout(()=>r({type:"RESET"}),500)}),()=>{s.backToPreviousInstance()}),[s,e]),(0,a.jsx)(a.Fragment,{children:t(i)})};m.displayName="LoadingBar";let f="socar-scroll-detect-title",h=({children:t,className:e,...i})=>(0,a.jsx)("h2",{className:e,id:f,...i,children:t});h.displayName="ScrollDetectTitle";let v=({children:t,className:e,onClick:i,type:n="general",...r})=>{let{isScrolledPast:o}=y(f),l=(0,s.cn)("tw-flex-1","tw-m-spacing-0 tw-mr-spacing-400 tw-py-[5px] tw-pl-spacing-150","tw-overflow-hidden tw-text-ellipsis tw-whitespace-nowrap tw-title1","tw-w-auto tw-min-w-0 ");return"scroll"===n?(0,a.jsx)(d.P.div,{animate:{opacity:+!!o},className:(0,s.cn)(l,e),initial:{opacity:0}
1,onClick:i,transition:{duration:.5,ease:[.42,0,.58,1]},children:t}):(0,a.jsx)("div",{...r,className:(0,s.cn)(l,e),children:t})},y=t=>{let[e,i]=(0,n.useState)(!1),a=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=document.getElementById(t);if(e)return a.current=new IntersectionObserver(([t])=>{i(!t.isIntersecting)},{root:null,threshold:1}),a.current.observe(e),()=>{var t;null==(t=a.current)||t.disconnect()}},[]),{isScrolledPast:e}};v.displayName="Title";let b=({children:t,className:e,...i})=>(0,a.jsx)("div",{className:(0,s.cn)("tw-flex tw-min-h-[40px] tw-w-fit tw-items-center tw-justify-center tw-gap-spacing-200",e),...i,children:t});b.displayName="TrailingButtonSlot";let x=Object.freeze(Object.assign(({children:t,className:e,...i})=>{let n=(0,r.B)(t,w),o=(0,r.B)(t,b),l=(0,r.B)(t,v),c=(0,r.B)(t,m);return(0,a.jsxs)("nav",{className:(0,s.cn)(e,"tw-sticky tw-top-spacing-0 tw-z-30 tw-flex tw-w-full tw-flex-col tw-justify-center tw-bg-white","tw-min-h-[52px]"),"data-slot":"socar-frame-top-app-bar",...i,children:[(0,a.jsxs)("div",{className:"tw-flex tw-items-center tw-justify-between tw-px-spacing-250 tw-py-spacing-150 ",children:[n,null!=l?l:(0,a.jsx)("div",{className:"tw-min-h-[40px]","data-slot":"topappbar-blank-title"}),o]}),c&&(0,a.jsx)("div",{children:c})]})},{BasicBackButton:c,LeftSideIconSlot:w,LoadingBar:m,ScrollDetectTitle:h,Title:v,TrailingButtonSlot:b}))}}]);
2//# sourceMappingURL=1757-238bbdf6ae491ed2.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.