{"version":3,"file":"EXLABLocaleText.Dhy9-_e1.mjs","names":["__esmMin","init_npm_react_18_3_1","c","J","init_jsx_runtime","init_framer_BpuvUAiZ","useLocaleInfo","withKeepWords","Component","props","withMobileDeckLabel","english","activeLocale","withCompactInquiryIntro","withEnglishGoogleMap","GOOGLE_OFFICE_QUERY","withEnglishGoogleDirections","init_EXLABLocaleText"],"sources":["https:/framerusercontent.com/modules/hYiODBbStnnHqc9QnTfV/yu2hBZnjt25kSS4nBW9C/EXLABLocaleText.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{useLocaleInfo}from\"framer\";export function withLocaleTextLink(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{activeLocale,locales,setLocale}=useLocaleInfo();const english=activeLocale?.code?.toLowerCase().startsWith(\"en\");const target=locales.find(locale=>english?locale.code.toLowerCase().startsWith(\"ko\")||locale.id===\"default\":locale.code.toLowerCase().startsWith(\"en\"));const onClick=event=>{if(event.metaKey||event.ctrlKey||event.shiftKey||event.altKey||!target)return;event.preventDefault();setLocale(target);};return /*#__PURE__*/_jsx(Component,{...props,ref:ref,text:english?\"KR\":\"EN\",onClick:onClick,\"aria-label\":english?\"한국어로 전환\":\"Switch to English\"});});}export function withKeepWords(Component){return /*#__PURE__*/forwardRef((props,ref)=>/*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,wordBreak:\"keep-all\",overflowWrap:\"break-word\"}}));}export function withMobileDeckLabel(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{activeLocale}=useLocaleInfo();const english=activeLocale?.code?.toLowerCase().startsWith(\"en\");return /*#__PURE__*/_jsx(Component,{...props,ref:ref,...english?{text:\"Download company profile (PDF)\"}:{},style:{...props.style,wordBreak:\"keep-all\",overflowWrap:\"break-word\"}});});}// Concise consultation and quotation introduction across all breakpoints.\nexport function withCompactInquiryIntro(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{activeLocale}=useLocaleInfo();const english=activeLocale?.code?.toLowerCase().startsWith(\"en\");return /*#__PURE__*/_jsx(Component,{...props,ref:ref,text:english?\"Start with a consultation if details are undecided, or get an estimate from your size and venue. No account required.\":\"규모\\xb7장소가 미정이면 상담부터, 정해졌다면 견적부터 시작하세요. 회원가입은 필요하지 않습니다.\",style:{...props.style,wordBreak:\"keep-all\",overflowWrap:\"break-word\"}});});}// Google Maps in both locales, with localized interface language.\nconst GOOGLE_OFFICE_QUERY=encodeURIComponent(\"3 Seolleung-ro 134-gil, Gangnam-gu, Seoul, South Korea\");export function withEnglishGoogleMap(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{activeLocale}=useLocaleInfo();const english=activeLocale?.code?.toLowerCase().startsWith(\"en\");return /*#__PURE__*/_jsx(Component,{...props,ref:ref,href:\"https://www.google.com/maps/search/?api=1&query=\"+GOOGLE_OFFICE_QUERY+\"&hl=\"+(english?\"en\":\"ko\")});});}export function withEnglishGoogleDirections(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{activeLocale}=useLocaleInfo();const english=activeLocale?.code?.toLowerCase().startsWith(\"en\");return /*#__PURE__*/_jsx(Component,{...props,ref:ref,href:\"https://www.google.com/maps/dir/?api=1&destination=\"+GOOGLE_OFFICE_QUERY+\"&hl=\"+(english?\"en\":\"ko\")});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withEnglishGoogleDirections\":{\"type\":\"reactHoc\",\"name\":\"withEnglishGoogleDirections\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withKeepWords\":{\"type\":\"reactHoc\",\"name\":\"withKeepWords\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withEnglishGoogleMap\":{\"type\":\"reactHoc\",\"name\":\"withEnglishGoogleMap\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLocaleTextLink\":{\"type\":\"reactHoc\",\"name\":\"withLocaleTextLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCompactInquiryIntro\":{\"type\":\"reactHoc\",\"name\":\"withCompactInquiryIntro\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMobileDeckLabel\":{\"type\":\"reactHoc\",\"name\":\"withMobileDeckLabel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EXLABLocaleText.map"],"mappings":"A,oKAAyvB,SAAgBO,EAAc,EAAU,CAAC,MAAoB,iBAAY,EAAM,IAAmB,gBAAKC,EAAU,CAAC,GAAGC,EAAU,MAAI,MAAM,CAAC,GAAGA,EAAM,MAAM,UAAU,WAAW,aAAa,YAAY,CAAC,CAAC,CAAC,CAAE,CAAC,SAAgBC,EAAoB,EAAU,CAAC,MAAoB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,gBAAcJ,EAAc,EAAQK,EAAQC,GAAc,MAAM,YAAY,CAAC,CAAC,WAAW,IAAI,EAAE,MAAoB,gBAAKJ,EAAU,CAAC,GAAGC,EAAU,MAAI,GAAGE,EAAQ,CAAC,KAAK,gCAAgC,EAAE,CAAC,EAAE,MAAM,CAAC,GAAGF,EAAM,MAAM,UAAU,WAAW,aAAa,YAAY,CAAC,CAAC,CAAE,CAAC,CAAE,CAC7zC,SAAgBI,EAAwB,EAAU,CAAC,MAAoB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,gBAAcP,EAAc,EAAQK,EAAQC,GAAc,MAAM,YAAY,CAAC,CAAC,WAAW,IAAI,EAAE,MAAoB,gBAAKJ,EAAU,CAAC,GAAGC,EAAU,MAAI,KAAKE,EAAQ,wHAAwH,uDAA0D,MAAM,CAAC,GAAGF,EAAM,MAAM,UAAU,WAAW,aAAa,YAAY,CAAC,CAAC,CAAE,CAAC,CAAE,CAC7Z,SAAgBK,EAAqB,EAAU,CAAC,MAAoB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,gBAAcR,EAAc,EAAQK,EAAQC,GAAc,MAAM,YAAY,CAAC,CAAC,WAAW,IAAI,EAAE,MAAoB,gBAAKJ,EAAU,CAAC,GAAGC,EAAU,MAAI,KAAK,mDAAmDM,EAAoB,QAAQJ,EAAQ,KAAK,KAAK,CAAC,CAAE,CAAC,CAAE,CAAC,SAAgBK,EAA4B,EAAU,CAAC,MAAoB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,gBAAcV,EAAc,EAAQK,EAAQC,GAAc,MAAM,YAAY,CAAC,CAAC,WAAW,IAAI,EAAE,MAAoB,gBAAKJ,EAAU,CAAC,GAAGC,EAAU,MAAI,KAAK,sDAAsDM,EAAoB,QAAQJ,EAAQ,KAAK,KAAK,CAAC,CAAE,CAAC,CAAE,C,gDAAlzB,EAAoB,0E"}