PageSourceSearch

https://pickpeak.ai/_next/static/chunks/b3a814c463151e51.js

js pickpeak.ai collected 2026-10-05 14:11:07 UTC 31,304 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7e1e9ffd-3d82-59db-bf20-37053e375bf8")}catch(e){}}();
3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,207253,e=>{"use strict";e.s(["useContactFormDefaults",()=>r]);var t=e.i(664956),a=e.i(419232),n=e.i(911468);let r=()=>{let{data:e,status:r}=(0,t.useSession)(),{data:l}=(0,n.useGetUserProfile)({enabled:"authenticated"===r});return(0,a.useMemo)(()=>{var t,a,n,r,s;return{name:null!=(a=null==l?void 0:l.name)?a:"",company:null!=(n=null==l?void 0:l.companyName)?n:"",phone:null!=(r=null==l?void 0:l.phone)?r:"",email:null!=(s=null==e||null==(t=e.user)?void 0:t.email)?s:""}},[l,e])}},745709,e=>{"use strict";e.s(["PropertyFeaturedBadge",()=>c]);var t=e.i(911111),a=e.i(294237),n=e.i(686533),r=e.i(761895),l=e.i(975157);let s=(0,a.cva)("",{variants:{size:{sm:"size-3 text-accent-700",md:"size-4 text-brown-600"}},defaultVariants:{size:"sm"}}),i=(0,a.cva)("font-medium",{variants:{size:{sm:"typo-footnote text-accent-700",md:"typo-body-sm text-text-featured-primary"}},defaultVariants:{size:"sm"}}),o=(0,a.cva)("inline-flex items-center gap-1 self-start rounded py-px",{variants:{size:{sm:"border border-accent-300 bg-accent-50 px-1.5",md:"border border-border-featured-subtle bg-bg-featured-primary px-2"}},defaultVariants:{size:"sm"}}),c=e=>{let{className:a,size:c}=e,d=(0,n.useTranslations)("propertyDetailPage.tags");return(0,t.jsxs)("div",{className:(0,l.cn)(o({size:c}),a),children:[(0,t.jsx)(r.ShieldTickOutlined,{className:s({size:c})}),(0,t.jsx)("span",{className:i({size:c}),children:d("featured")})]})}},39305,e=>{"use strict";e.s(["filterImages",()=>l,"getAreaText",()=>r,"getFloorText",()=>n]);var t=e.i(23235),a=e.i(379444);let n=(e,t)=>null!==e&&null!==t?"".concat((0,a.formatFloorNumber)(e)," / ").concat((0,a.formatFloorNumber)(t)):null!==e?(0,a.formatFloorNumber)(e):null!==t?(0,a.formatFloorNumber)(t):null,r=(e,t)=>null===e?null:"".concat((0,a.formatNumber)(e,2)," ").concat(t),l=e=>e.filter(e=>e.type===t.MEDIA_TYPE.PHOTO).map(e=>e.url)},685427,e=>{"use strict";e.s(["FormContactStep",()=>o]);var t=e.i(911111),a=e.i(887614),n=e.i(3198),r=e.i(810325),l=e.i(397692),s=e.i(957786),i=e.i(626302);let o=e=>{let{t:o,notesMaxLength:c}=e,{control:d}=(0,a.useFormContext)(),m=o("optionalSuffix");return(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("p",{className:"typo-body-sm rounded-md bg-bg-secondary px-3 py-2.5 text-text-secondary",children:o("contact.notice")}),(0,t.jsx)(a.Controller,{control:d,name:"name",render:e=>{var a;let{field:n,fieldState:r}=e;return(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(l.FormLabel,{isRequired:!0,children:o("contact.nameLabel")}),(0,t.jsx)(s.Input,{...n,helperText:null==(a=r.error)?void 0:a.message,isInvalid:!!r.error,placeholder:o("contact.namePlaceholder")})]})}}),(0,t.jsx)(a.Controller,{control:d,name:"company",render:e=>{let{field:a}=e;return(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(l.FormLabel,{children:"".concat(o("contact.companyLabel")).concat(m)}),(0,t.jsx)(s.Input,{...a,placeholder:o("contact.companyPlaceholder")})]})}}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)(l.FormLabel,{isRequired:!0,children:o("contact.contactMethodLabel")}),(0,t.jsx)("p",{className:"typo-footnote text-text-tertiary!",children:o("contact.contactMethodHint")})]}),(0,t.jsx)(a.Controller,{control:d,name:"phone",render:e=>{var a;let{field:n,fieldState:s}=e;return(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(l.FormLabel,{children:o("contact.phoneLabel")}),(0,t.jsx)(r.PhoneInput,{...n,helperText:null==(a=s.error)?void 0:a.message,isInvalid:!!s.error,placeholder:o("contact.phonePlaceholder")})]})}}),(0,t.jsx)(a.Controller,{control:d,name:"email",render:e=>{var a;let{field:r,fieldState:s}=e;return(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(l.FormLabel,{children:o("contact.emailLabel")}),(0,t.jsx)(n.EmailAutocompleteInput,{helperText:null==(a=s.error)?void 0:a.message,isInvalid:!!s.error,name:r.name,onBlur:r.onBlur,onChange:r.onChange,placeholder:o("contact.emailPlaceholder"),value:r.value})]})}})]}
3),(0,t.jsx)(a.Controller,{control:d,name:"note",render:e=>{var a,n,r;let{field:l,fieldState:s}=e;return(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)(i.Textarea,{helperText:null==(a=s.error)?void 0:a.message,isInvalid:!!s.error,label:"".concat(o("contact.notesLabel")).concat(m),maxLength:c,name:l.name,onBlur:l.onBlur,onChange:l.onChange,placeholder:o("contact.notesPlaceholder"),value:null!=(n=l.value)?n:""}),(0,t.jsxs)("span",{className:"typo-body-sm mt-1 self-end text-text-secondary",children:[(null!=(r=l.value)?r:"").length,"/",c]})]})}})]})}},409805,e=>{"use strict";e.s(["PROPERTY_TIMING",()=>t]);let t={ASAP:"asap",BETWEEN_1_AND_3:"between1And3",BETWEEN_3_AND_6:"between3And6",ABOVE_6:"above6"}},504747,883059,e=>{"use strict";e.s(["PHONE_PATTERN",()=>t],504747);let t=/^[0-9+\-() ]{6,20}$/;e.s(["sanitizeDecimal",()=>a],883059);let a=e=>{let[t,...a]=e.replace(/[^\d.]/g,"").split(".");return 0===a.length?t:"".concat(t,".").concat(a.join("").slice(0,2))}},652842,e=>{"use strict";e.s(["ArrowNarrowLeftOutlined",()=>n]);var t=e.i(911111),a=e.i(937198);let n=e=>(0,t.jsx)(a.SquareSvg,{...e,children:(0,t.jsx)("path",{d:"M9.29295 5.29302C9.68348 4.90249 10.3165 4.90249 10.707 5.29302C11.0975 5.68354 11.0975 6.31655 10.707 6.70708L6.41405 11H20C20.5523 11 21 11.4478 21 12C21 12.5523 20.5523 13 20 13H6.41405L10.707 17.293C11.0975 17.6835 11.0975 18.3166 10.707 18.7071C10.3165 19.0976 9.68348 19.0976 9.29295 18.7071L3.29295 12.7071C2.90243 12.3166 2.90243 11.6835 3.29295 11.293L9.29295 5.29302Z",fill:"currentColor"})})},911468,16090,28013,e=>{"use strict";e.s(["useConfirmPhoneVerification",()=>D,"useGetUserProfile",()=>H,"usePatchUserProfile",()=>V,"useSendPhoneVerification",()=>F],911468);var t=e.i(247826),a=e.i(900566),n=e.i(740598);e.s(["PHONE_VERIFICATION_CODE_LENGTH",()=>c,"PHONE_VERIFICATION_RET_CODE",()=>i,"confirmPhoneVerification",()=>p,"sendPhoneVerification",()=>u,"toPositiveSeconds",()=>d],16090),e.i(541536);var r=e.i(23474),l=e.i(286012),s=e.i(169625);let i={SMS_SEND_FAILED:1005001,INVALID_CODE:1005002,ATTEMPTS_EXHAUSTED:1005003,NOT_MOBILE:1005004,ALREADY_VERIFIED:1005005,INVALID_FORMAT:100001,TOO_MANY_REQUESTS:100003,INVALID_CODE_LENGTH:100007},o=[400,409,422,429],c=6,d=e=>"number"==typeof e&&Number.isFinite(e)&&e>0?e:void 0,m=r.z.object({phone:r.z.string()}),u=e=>{let t=r.z.object({resendAfter:r.z.number().nullish().transform(e=>{var t;return null!=(t=d(e))?t:60})});return(0,s.customFetch)("/v1".concat(l.USER_PATH,"/phone/verifications"),{method:"POST",body:m.parse(e),isTokenRequired:!0,skipCaptureStatuses:[...o]},t)},C=r.z.object({phone:r.z.string(),code:r.z.string()}),p=e=>{let t=r.z.object({isPhoneVerified:r.z.boolean()});return(0,s.customFetch)("/v1".concat(l.USER_PATH,"/phone/verifications/confirm"),{method:"POST",body:C.parse(e),isTokenRequired:!0,skipCaptureStatuses:[...o]},t)};e.s(["COMPANY_NAME_MAX_LENGTH",()=>v,"IDENTITY_TYPES",()=>h,"JOB_TITLES_BY_IDENTITY",()=>T,"JOB_TITLE_OTHER_MAX_LENGTH",()=>b,"JOB_TITLE_TYPES",()=>f,"REFERRAL_SOURCES",()=>N,"REGISTRATION_INTENTS",()=>g,"REGISTRATION_INTENTS_BY_IDENTITY",()=>E,"createCompanyNameSchema",()=>_,"createIdentityTypeSchema",()=>A,"createJobTitleOtherSchema",()=>L,"createJobTitleTypeSchema",()=>j,"createMobilePhoneSchema",()=>O,"createReferralSourceSchema",()=>I,"createRegistrationIntentSchema",()=>R],28013);var x=e.i(808250);let h={PROPERTY_OWNER:"property_owner",TENANT:"tenant",PROFESSIONAL:"professional"},f={EXECUTIVE:"executive",MANAGER:"manager",CONSULTANT:"consultant",FINANCIAL:"financial",ADMIN:"admin",ENGINEER:"engineer",OTHER:"other"},N={FRIEND:"friend",SOCIAL_MEDIA:"social_media",OTHER:"other"},g={TENANT_WANT_CONTACTED:"tenant_want_contacted",TENANT_WANT_AI_RECOMMENDATION:"tenant_want_ai_recommendation",TENANT_WANT_BROWSE:"tenant_want_browse",OWNER_WANT_LIST_PROPERTY:"owner_want_list_property",OWNER_WANT_AGENT_HELP:"owner_want_agent_help",OWNER_WANT_MARKET_INFO:"owner_want_market_info",PRO_WANT_CONTACTED:"pro_want_contacted",PRO_WANT_COMPLETE_DATA:"pro_want_complete_data",PRO_WANT_PP_MATCHING:"pro_want_pp_matching"},T={[h.PROPERTY_OWNER]:[f.EXECUTIVE,f.MANAGER,f.FINANCIAL,f.ADMIN,f.ENGINEER,f.OTHER],[h.TENANT]:[f.EXECUTIVE,f.MANAGER,f.FINANCIAL,f.ADMIN,f.OTHER],[h.PROFESSIONAL]:[f.CONSULTANT,f.MANAGER,f.EXECUTIVE,f.FINANCIAL,f.OTHER]},E={[h.TENANT]:[g.TENANT_WANT_CONTACTED,g.TENANT_WANT_AI_RECOMMENDATION,g.TENANT_WANT_BROWSE],[h.PROPERTY_OWNER]:[g.OWNER_WANT_LIST_PROPERTY,g.OWNER_WANT_AGENT_HELP,g.OWNER_WANT_MARKET_INFO],[h.PROFESSIONAL]:[g.PRO_WANT_CONTACTED,g.PRO_WANT_COMPLETE_DATA,g.PRO_WANT_PP_MATCHING]},y={TAIWAN:/^09\d{8}$/},v=100,b=50,_=e=>r.z.string().min(1,e("validation.common.required",{field:e("validation.fields.companyName")})).max(v,e("validation.common.tooLong",{field:e("validation.fields.companyName"),n:v})).refine(e=>!e||""===e.trim()||!(0,x.default)().test(e),{message:e("validation.common.noEmoji")}),A=e=>r.z.nativeEnum(h),j=e=>r.z.nativeEnum(f),L=e=>r.z.string().max(b,e("validation.common.tooLong",{field:"",n:b})).refine(e=>!e||""===e.trim()||!(0,x.default)().test(e),{message:e("validation.common.noEmoji")}),I=e=>r.z.nativeEnum(N),R=e=>r.z.array(r.z.nativeEnum(g)).min(1,e("validation.common.required",{field:e("validation.fields.registrationIntent")})),O=e=>r.z.string().refine(e=>!e||""===e.trim()||y.TAIWAN.test(e),{message:e("validation.specific.mobile.invali
3d")}),S=r.z.object({hasSubmitted:r.z.boolean(),name:r.z.string().nullable(),phone:r.z.string().nullable(),companyName:r.z.string().nullable(),identityType:r.z.nativeEnum(h).nullable(),jobTitleType:r.z.nativeEnum(f).nullable(),jobTitleOther:r.z.string().nullable(),referralSource:r.z.nativeEnum(N).nullable(),registrationIntent:r.z.array(r.z.nativeEnum(g)).nullable(),isPhoneVerified:r.z.boolean().nullish().transform(Boolean)}),P=()=>(0,s.customFetch)("/v1".concat(l.USER_PATH,"/profile"),{method:"GET",isTokenRequired:!0},S),z=S.omit({hasSubmitted:!0,isPhoneVerified:!0}).partial(),M=e=>(0,s.customFetch)("/v1".concat(l.USER_PATH,"/profile"),{method:"PATCH",body:z.parse(e),isTokenRequired:!0},z),w={USER_PROFILE:"userProfile"},H=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.useQuery)({queryKey:[w.USER_PROFILE],queryFn:P,...e})},V=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(0,n.useQueryClient)();return(0,t.useMutation)({mutationFn:M,...e,onSuccess:async function(){for(var t,n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];await a.invalidateQueries({queryKey:[w.USER_PROFILE]}),null==(t=e.onSuccess)||t.call(e,...r)}})},F=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,t.useMutation)({mutationFn:u,...e})},D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(0,n.useQueryClient)();return(0,t.useMutation)({mutationFn:p,...e,onSuccess:function(){for(var t,n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];a.invalidateQueries({queryKey:[w.USER_PROFILE]}),null==(t=e.onSuccess)||t.call(e,...r)}})}},761895,e=>{"use strict";e.s(["ShieldTickOutlined",()=>n]);var t=e.i(911111),a=e.i(937198);let n=e=>(0,t.jsx)(a.SquareSvg,{...e,children:(0,t.jsx)("path",{d:"M19 7.21738C19 6.33619 18.9842 6.16024 18.9346 6.02988C18.8768 5.87826 18.7829 5.74263 18.6611 5.63535C18.5565 5.54321 18.397 5.46707 17.5723 5.15781L12.211 3.14707C12.0995 3.10529 12.0438 3.08429 12.0029 3.0709C12.0019 3.07056 12.001 3.07022 12 3.06992C11.9991 3.07022 11.9981 3.07056 11.9971 3.0709C11.9562 3.08429 11.9005 3.10529 11.7891 3.14707L6.42775 5.15781C5.60306 5.46707 5.44353 5.54321 5.33888 5.63535C5.21715 5.74263 5.12321 5.87826 5.06544 6.02988C5.01584 6.16024 5.00002 6.33619 5.00001 7.21738V11.9996C5.00001 14.0814 6.13939 15.9649 7.64162 17.5299C9.13269 19.0832 10.8698 20.2055 11.8057 20.7516C11.8629 20.7849 11.9046 20.8085 11.9404 20.8287C11.9685 20.8445 11.9872 20.8544 12 20.8609C12.0128 20.8544 12.0315 20.8445 12.0596 20.8287C12.0955 20.8085 12.1372 20.7849 12.1944 20.7516C13.1303 20.2055 14.8673 19.0832 16.3584 17.5299C17.8606 15.9649 19 14.0814 19 11.9996V7.21738ZM14.793 8.29258C15.1835 7.90229 15.8166 7.90229 16.207 8.29258C16.5975 8.68304 16.5974 9.3161 16.207 9.70664L11.707 14.2066C11.3165 14.5972 10.6835 14.5972 10.293 14.2066L8.29298 12.2066C7.90264 11.8161 7.90252 11.183 8.29298 10.7926C8.68346 10.4023 9.31657 10.4023 9.70705 10.7926L11 12.0855L14.793 8.29258ZM21 11.9996C21 14.8262 19.4626 17.1834 17.8008 18.9146C16.1282 20.6571 14.2143 21.8876 13.2022 22.4781C13.0123 22.5889 12.7601 22.7468 12.419 22.8199C12.1597 22.8754 11.8403 22.8754 11.5811 22.8199C11.2399 22.7468 10.9877 22.5889 10.7979 22.4781C9.7857 21.8876 7.87187 20.6571 6.19923 18.9146C4.53746 17.1834 3.00001 14.8262 3.00001 11.9996V7.21738C3.00001 6.49979 2.98441 5.87579 3.1963 5.31894C3.36958 4.86365 3.65113 4.45744 4.01662 4.13535C4.46364 3.7414 5.05364 3.53675 5.7256 3.28476L11.0869 1.27402C11.2546 1.21114 11.4753 1.12297 11.7139 1.08847C11.8562 1.0679 12.0004 1.06255 12.1436 1.07285L12.2861 1.08847L12.461 1.12363C12.6315 1.16599 12.7873 1.22685 12.9131 1.27402L18.2744 3.28476C18.9464 3.53675 19.5364 3.7414 19.9834 4.13535C20.3489 4.45744 20.6304 4.86365 20.8037 5.31894C21.0156 5.87579 21 6.49979 21 7.21738V11.9996Z",fill:"currentColor"})})},708287,e=>{"use strict";e.s(["GradeBadge",()=>s]);var t=e.i(911111),a=e.i(686533),n=e.i(305500),r=e.i(798979),l=e.i(975157);let s=e=>{let{className:s,grade:i}=e,o=(0,a.useTranslations)();return i?(0,t.jsx)(n.Tooltip,{containerClassName:"flex",content:o("buildingsListPage.buildingCard.buildingGrade.label"),children:(0,t.jsx)("div",{className:(0,l.cn)("typo-body-sm flex h-6 w-fit items-center justify-center text-nowrap rounded-sm px-2 font-bold",i===r.BUILDING_GRADE.F?"bg-bg-quinary text-text-tertiary":"bg-text-quaternary text-white",s),children:o("buildingsListPage.buildingCard.buildingGrade.".concat(i.toLowerCase()))})}):null}},642274,e=>{"use strict";e.s(["Building05Outlined",()=>n]);var t=e.i(911111),a=e.i(937198);let n=e=>(0,t.jsx)(a.SquareSvg,{...e,children:(0,t.jsx)("path",{d:"M20 14.2002C20 13.6236 19.9987 13.2511 19.9756 12.9678C19.9534 12.6962 19.9158 12.5953 19.8906 12.5459C19.7948 12.3579 19.6421 12.2052 19.4541 12.1094C19.4047 12.0842 19.3038 12.0466 19.0322 12.0244C18.7489 12.0013 18.3764 12 17.7998 12H14
3V20H20V14.2002ZM9.5 14C10.0523 14 10.5 14.4477 10.5 15C10.5 15.5523 10.0523 16 9.5 16H6.5C5.94772 16 5.5 15.5523 5.5 15C5.5 14.4477 5.94772 14 6.5 14H9.5ZM9.5 10C10.0523 10 10.5 10.4477 10.5 11C10.5 11.5523 10.0523 12 9.5 12H6.5C5.94772 12 5.5 11.5523 5.5 11C5.5 10.4477 5.94772 10 6.5 10H9.5ZM9.5 6C10.0523 6 10.5 6.44772 10.5 7C10.5 7.55229 10.0523 8 9.5 8H6.5C5.94772 8 5.5 7.55229 5.5 7C5.5 6.44772 5.94772 6 6.5 6H9.5ZM12 6.2002C12 5.62365 11.9987 5.25112 11.9756 4.96778C11.9534 4.69619 11.9158 4.59534 11.8906 4.5459C11.7948 4.35793 11.6421 4.20522 11.4541 4.10938C11.4047 4.08419 11.3038 4.04662 11.0322 4.02442C10.7489 4.00127 10.3764 4 9.7998 4H6.2002C5.62364 4 5.25111 4.00127 4.96777 4.02442C4.69619 4.04662 4.59534 4.08419 4.5459 4.10938C4.35793 4.20522 4.20521 4.35793 4.10938 4.5459C4.08419 4.59534 4.04661 4.69619 4.02441 4.96778C4.00126 5.25112 4 5.62365 4 6.2002V20H12V6.2002ZM14 10H17.7998C18.3434 10 18.8116 9.99893 19.1953 10.0303C19.5906 10.0626 19.984 10.1344 20.3623 10.3272C20.9265 10.6147 21.3853 11.0735 21.6729 11.6377C21.8656 12.016 21.9374 12.4094 21.9697 12.8047C22.0011 13.1884 22 13.6566 22 14.2002V20C22.5523 20 23 20.4477 23 21C23 21.5523 22.5523 22 22 22H2C1.44772 22 1 21.5523 1 21C1 20.4477 1.44772 20 2 20V6.2002C2 5.65665 1.99893 5.18836 2.03027 4.80469C2.06258 4.40943 2.1344 4.016 2.32715 3.6377C2.61472 3.07348 3.07347 2.61473 3.6377 2.32715C4.01599 2.1344 4.40943 2.06259 4.80469 2.03028C5.18836 1.99893 5.65664 2 6.2002 2H9.7998C10.3434 2 10.8116 1.99893 11.1953 2.03028C11.5906 2.06259 11.984 2.1344 12.3623 2.32715C12.9265 2.61473 13.3853 3.07348 13.6729 3.6377C13.8656 4.016 13.9374 4.40943 13.9697 4.80469C14.0011 5.18836 14 5.65665 14 6.2002V10Z",fill:"currentColor"})})},465610,e=>{"use strict";e.s(["TEXT_LINK_INTERACTIVE_CLASS",()=>s,"TextLink",()=>i]);var t=e.i(911111);e.i(793411);var a=e.i(588173),n=e.i(975157);let r="inline-flex items-center justify-center rounded-sm px-1 text-text-brand-tertiary underline underline-offset-2 transition-colors",l="hover:bg-bg-primary-hover hover:text-text-brand-primary",s="".concat(r," ").concat(l),i=e=>{let{className:s,href:i,target:o,rel:c,children:d,onClick:m}=e;return i?(0,t.jsx)(a.Link,{className:(0,n.cn)(r,l,s),href:i,onClick:m,rel:c,target:o,children:d}):(0,t.jsx)("span",{className:(0,n.cn)("text-text-primary",s),children:d})}},989418,e=>{"use strict";e.s(["ListOutlined",()=>n]);var t=e.i(911111),a=e.i(937198);let n=e=>(0,t.jsx)(a.SquareSvg,{...e,children:(0,t.jsx)("path",{d:"M2 18C2 16.8954 2.89543 16 4 16C5.10457 16 6 16.8954 6 18C6 19.1046 5.10457 20 4 20C2.89543 20 2 19.1046 2 18ZM21 17C21.5523 17 22 17.4477 22 18C22 18.5177 21.6067 18.9438 21.1025 18.9951L21 19H9C8.44772 19 8 18.5523 8 18C8 17.4477 8.44772 17 9 17H21ZM2 12C2 10.8954 2.89543 10 4 10C5.10457 10 6 10.8954 6 12C6 13.1046 5.10457 14 4 14C2.89543 14 2 13.1046 2 12ZM21 11C21.5523 11 22 11.4477 22 12C22 12.5177 21.6067 12.9438 21.1025 12.9951L21 13H9C8.44772 13 8 12.5523 8 12C8 11.4477 8.44772 11 9 11H21ZM2 6C2 4.89543 2.89543 4 4 4C5.10457 4 6 4.89543 6 6C6 7.10457 5.10457 8 4 8C2.89543 8 2 7.10457 2 6ZM21 5C21.5523 5 22 5.44772 22 6C22 6.51768 21.6067 6.94379 21.1025 6.99512L21 7H9C8.44772 7 8 6.55228 8 6C8 5.44772 8.44772 5 9 5H21Z",fill:"currentColor"})})},87038,e=>{"use strict";e.s(["WalkingFilled",()=>n]);var t=e.i(911111),a=e.i(937198);let n=e=>(0,t.jsx)(a.SquareSvg,{...e,children:(0,t.jsx)("path",{d:"M7.61702 8.712L10.822 6.384C11.1818 6.1207 11.6194 5.98551 12.065 6C12.6085 6.01355 13.1343 6.19611 13.5693 6.52228C14.0042 6.84846 14.3268 7.30205 14.492 7.82C14.678 8.403 14.848 8.797 15.002 9.001C15.4672 9.62199 16.0708 10.126 16.7648 10.473C17.4588 10.82 18.2241 11.0004 19 11V13C17.9675 13.001 16.9476 12.7731 16.0137 12.3327C15.0798 11.8922 14.2551 11.2503 13.599 10.453L12.901 14.409L14.962 16.138L17.185 22.246L15.305 22.93L13.266 17.326L9.87602 14.481C9.59764 14.2565 9.38456 13.9614 9.25899 13.6265C9.13341 13.2916 9.09992 12.9292 9.16202 12.577L9.67102 9.692L8.99402 10.184L6.86702 13.112L5.24902 11.936L7.60002 8.7L7.61702 8.712ZM13.5 5.5C12.9696 5.5 12.4609 5.28929 12.0858 4.91421C11.7107 4.53914 11.5 4.03043 11.5 3.5C11.5 2.96957 11.7107 2.46086 12.0858 2.08579C12.4609 1.71071 12.9696 1.5 13.5 1.5C14.0305 1.5 14.5392 1.71071 14.9142 2.08579C15.2893 2.46086 15.5 2.96957 15.5 3.5C15.5 4.03043 15.2893 4.53914 14.9142 4.91421C14.5392 5.28929 14.0305 5.5 13.5 5.5ZM10.53 18.681L7.31602 22.511L5.78402 21.226L8.75902 17.68L9.50502 15.5L11.296 17L10.53 18.681Z",fill:"currentColor"})})},898295,895124,442972,e=>{"use strict";e.s(["ProductInfoCard",()=>S],898295),e.s(["EsgCertTag",()=>s],895124);var t=e.i(911111),a=e.i(257053),n=e.i(686533),r=e.i(285788),l=e.i(975157);let s=e=>{let{cert:s,isAbbreviation:i=!1,className:o}=e,c=(0,n.useTranslations)("buildingCertification");return(0,t.jsx)(r.Hashtag,{className:(0,l.cn)("h-6 py-0 font-normal text-text-secondary",o),children:c("".concat(i?"abbreviate":"full",".").concat((0,a.camelCase)(s.toLowerCase())))})};var i=e.i(708287),o=e.i(665230),c=e.i(224777),d=e.i(465610),m=e.i(495277);e.i(793411);var u=e.i(588173),C=e.i(233473);let p=e=>{let{children:a,className:n,variant:r,padding:s="none",...i}=e;return(0,t.jsx)(C.Card,{className:(0,l.cn)("flex items-start gap-0 overflow-hidden text-left",i.onClick&&"cursor-pointer aria-disabled:cursor-default",n),padding:s,variant:r,...i,children:a})};var x=e.i(446582),h=e.i(937198);let f=e=>(0,t.jsxs)(h.SquareSvg,{viewBox:"0 0 24 24",...e,children:[(0,t.jsx)("path",{d:"M18.5 18V20H5.5V18H18.5ZM19.5 17V10.5693C19.5 8.18105 19.1807 5.80389 18.5527 3.5H5.44727C4.81932 5.80389 4.50003 8.18105 4.5 10.5693V17C4.5 17.5523 4.94772 18 5.5 18V20L5.3457 19.9961C3.81166 19.9184 2.58163 18.6883 2.50391 17.1543L2.5 17V10.5693C2.50003 7.96096 2.85379 5.36412 3.55078 2.85059C3.75849 2.10244 4.40977 1.57053 5.17285 1.50684L5.32715 1.5H18.6729C19.5012 1.5 20.2276 2.05249 20.4492 2.85059C21.1462 5.36412 21.5 7.96096 21.5 10.5693V17C21.5 18.6051 20.2394 19.9158 18.6543 19.9961L18.5 20V18C19.0523 18 19.5 17.5523 19.5 17Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M7.5459 12L7.3877 11.9922C6.60823 11.913 6 11.2545 6 10.4541V10.0498C6.00002 8.70287 6.13245 7.35927 6.39453 6.03809C6.51421 5.43476 7.04313 5 7.6582 5H16.3418L16.4561 5.00488C17.0215 5.05485 17.4933 5.47247 17.6055 6.03809C17.8675 7.35927 18 8.70288 18 10.0498V10.4541C18 11.3078 17.3078 12 16.4541 12H7.5459ZM8.25195 7C8.08734 7.99131 8.00368 8.99454 8.00098 10H15.999C15.9963 8.99454 15.9127 7.99131 15.748 7H8.25195Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M9 14.5C9.55228 14.5 10 14.9477 10 15.5C10 16.0523 9.55228 16.5 9 16.5H7.5C6.94772 16.5 6.5 16.0523 6.5 15.5C6.5 14.9477 6.94772 14.5 7.5 14.5H9Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M16.5 14.5C17.0523 14.5 17.5 14.9477 17.5 15.5C17.5 16.0523 17.0523 16.5 16.5 16.5H15C14.4477 16.5 14 16.0523 14 15.5C14 14.9477 14.4477 14.5 15 14.5H16.5Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M7.61914 18.375C7.96409 17.944 8.59323 17.8741 9.02441 18.2188C9.45568 18.5638 9.52567 19.1937 9.18066 19.625L6.78125 22.625C6.43624 23.0563 5.80626 23.1263 5.375 22.7812C4.94374 22.4362 4.87374 21.8063 5.21875 21.375L7.61914 18.375Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M16.3809 18.375C16.0359 17.944 15.4068 17.8741 14.9756 18.2188C14.5443 18.5638 14.4743 19.1937 14.8193 19.625L17.2188 22.625C17.5638 23.0563 18.1937 23.1263 18.625 22.7812C19.0563 22.4362 19.1263 21.8063 18.7812 21.375L16.3809 18.375Z",fill:"currentColor"})]});var N=e.i(87038);let g={sm:"size-3.5 shrink-0",md:"size-3 shrink-0 md:size-4 lg:size-5"},T={sm:"size-3.5 shrink-0 text-fg-quaternary",md:"size-3 shrink-0 text-fg-quaternary md:size-3.5"},E={sm:"typo-footnote lg:typo-body-sm",md:"typo-footnote md:typo-body-sm lg:typo-body-md"},y={sm:"typo-caption lg:typo-footnote",md:"typo-caption md:typo-footnote lg:typo-label-sm"};var v=e.i(224468);e.s(["SpecRow",()=>O],442972);var b=e.i(294237),_=e.i(419232),A=e.i(989418);let j=(0,b.cva)("",{variants:{size:{sm:"typo-footnote",md:"typo-body-sm",lg:"typo-body-md"},mdSize:{sm:"md:typo-footnote",md:"md:typo-body-sm",lg:"md:typo-body-md"},lgSize:{sm:"lg:typo-footnote",md:"lg:typo-body-sm",lg:"lg:typo-body-md"}},defaultVariants:{size:"md"}}),L=(0,b.cva)("shrink-0 text-fg-tertiary",{variants:{size:{sm:"size-3",md:"size-4",lg:"size-5"},mdSize:{sm:"md:size-3",md:"md:size-4",lg:"md:size-5"},lgSize:{sm:"lg:size-3",md:"lg:size-4",lg:"lg:size-5"}},defaultVariants:{size:"md"}}),I=(0,b.cva)('[&>span:not(:last-child)]:leading-0 [&>span:not(:last-child)]:after:text-border-secondary [&>span:not(:last-child)]:after:tracking-normal [&>span:not(:last-child)]:after:content-["|"]',{variants:{size:{sm:"[&>span:not(:last-child)]:after:typo-footnote",md:"[&>span:not(:last-child)]:after:typo-body-sm",lg:"[&>span:not(:last-child)]:after:typo-body-md"},mdSize:{sm:"md:[&>span:not(:last-child)]:after:typo-footnote",md:"md:[&>span:not(:last-child)]:after:typo-body-sm",lg:"md:[&>span:not(:last-child)]:after:typo-body-md"},lgSize:{sm:"lg:[&>span:not(:last-child)]:after:typo-footnote",md:"lg:[&>span:not(:last-child)]:after:typo-body-sm",lg:"lg:[&>span:not(:last-child)]:after:typo-body-md"}},defaultVariants:{size:"md"}}),R=(0,_.createContext)({size:"md"}),O=Object.assign(e=>{let{children:a,className:n,size:r,mdSize:s,lgSize:i}=e;return(0,t.jsx)(R.Provider,{value:{size:r,mdSize:s,lgSize:i},children:(0,t.jsxs)("div",{className:(0,l.cn)("flex items-start gap-x-1 text-text-secondary",n),children:[(0,t.jsx)("span",{className:(0,l.cn)("flex h-[1lh] shrink-0 items-center",j({size:r,mdSize:s,lgSize:i})),children:(0,t.jsx)(A.ListOutlined,{className:L({size:r,mdSize:s,lgSize:i})})}),(0,t.jsx)("div",{className:(0,l.cn)("flex flex-wrap items-center gap-x-0.5 gap-y-0.5",I({size:r,mdSize:s,lgSize:i})),children:a})]})})},{Item:e=>{let{label:a,value:n,className:r}=e,{size:s,mdSize:i,lgSize:o}=(0,_.useContext)(R),c=j({size:s,mdSize:i,lgSize:o});return(0,t.jsxs)("span",{className:(0,l.cn)("flex items-center gap-0.5",r),children:[a&&(0,t.jsx)("span",{className:(0,l.cn)(c,"text-text-quaternary"),children:a}),(0,t.jsx)("span",{className:(0,l.cn)(c,"text-text-secondary"),children:n})]})}}),S=Object.assign(p,{Root:p,Image:e=>{let{images:a,alt:n="",sizes:r,children:s,className:i,selectedIndex:d,onIndexChange:m,objectFit:u="cover",loader:C,id:p="",showEmptyPlaceholder:x=!0,showNavArrows:h=!0}=e;return 0===a.length?x?(0,t.jsxs)("div",{className:(0,l.cn)("swiper-no-swiping relative min-h-40 w-45 shrink-0 self-stretch",i),children:[(0,t.jsx)(o.BuildingPlaceholderImage,{id:p,objectFit:u}),s]}):null:(0,t.jsxs)(c.ImageCarouselV2.Root,{className:(0,l.cn)("swiper-no-swiping w-45 shrink-0 self-stretch",i),images:a,objectFit:u,onIndexChange:m,selectedIndex:d,children:[(0,t.jsx)(c.ImageCarouselV2.Slides,{alt:n,loader:C,sizes:r}),a.length>1&&(0,t.jsxs)(t.Fragment,{children:[h&&(0,t.jsx)(c.ImageCarouselV2.NavArrows,{size:"xs"}),(0,t.jsx)(c.ImageCarouselV2.DotPagination,{})]}),s]})},Content:e=>{let{children:a,className:n}=e;return(0,t.jsx)("div",{className:(0,l.cn)("flex flex-1 flex-col items-center justify-center gap-3 p-3",n),children:a})},Tag:r.Hashtag,Title:e=>{let{children:a,className:n,as:r="div",lines:s=1,tooltip:i}=e;return(0,t.jsx)(x.TruncateText,{as:r,className:(0,l.cn)("typo-title-sm font-medium text-text-primary",n),lines:s,tooltip:null!=i?i:a,tooltipContainerClassName:"min-w-0",children:a})},GradeBadge:i.GradeBadge,InfoItem:e=>{let{icon:a,label:n,value:r,className:s,iconClassName:i,labelClassName:o,valueClassName:c}=e;return(0,t.jsxs)("div",{className:(0,l.cn)("flex shrink-0 items-center gap-1",s),children:[a&&(0,t.jsx)("span",{className:(0,l.cn)("flex size-3.5 shrink-0 items-center justify-center text-fg-quaternary",i),children:a}),n&&(0,t.jsx)("span",{className:(0,l.cn)("typo-footnote whitespace-nowrap text-text-quaternary",o),children:n}),r&&(0,t.jsx)("span",{className:(0,l.cn)("typo-footnote whitespace-nowrap text-text-primary",c),children:r})]})},BasicInfoContainer:e=>{let{children:a,className:n}=e;return(0,t.jsx)("div",{className:(0,l.cn)("flex w-full flex-col gap-2 rounded-lg border border-border-secondary bg-bg-secondary p-2",n),children:a})},Link:e=>{let{className:a,href:n,target:r,rel:l,children:s}=e;return(0,t.jsx)(d.TextLink,{className:a,href:n,onClick:e=>e.stopPropagation(),rel:l,target:r,children:s})}
3,LinkButton:e=>{let{href:a,target:n,children:r,className:s,variant:i="solid",color:o="default",size:c="xs"}=e;return a?(0,t.jsx)(u.Link,{className:(0,l.cn)((0,m.buttonVariants)({variant:i,color:o,size:c}),"w-full",s),href:a,onClick:e=>e.stopPropagation(),target:n,children:r}):null},EsgTag:s,TagCarousel:e=>{let{className:a,children:n}=e,[r]=(0,v.default)({dragFree:!0,containScroll:"trimSnaps",align:"start"});return(0,t.jsx)("div",{className:"swiper-no-swiping w-full select-none overflow-hidden",ref:r,children:(0,t.jsx)("div",{className:(0,l.cn)("flex gap-1.5 [&>*]:shrink-0",a),children:n})})},TransportRow:e=>{let{className:a,distanceText:n,size:r="md",stationName:s,walkingText:i}=e;return(0,t.jsxs)("div",{className:(0,l.cn)("flex w-full flex-wrap items-center gap-x-1 gap-y-1",a),children:[(0,t.jsx)(f,{className:(0,l.cn)(g[r],"text-fg-tertiary")}),(0,t.jsx)("span",{className:(0,l.cn)(E[r],"text-text-secondary"),children:s}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-x-1",children:[(0,t.jsx)("span",{className:(0,l.cn)(y[r],"text-text-quaternary"),children:n}),(0,t.jsx)("span",{"aria-hidden":!0,className:(0,l.cn)(y[r],"text-text-quaternary"),children:"·"}),(0,t.jsx)(N.WalkingFilled,{className:T[r]}),(0,t.jsx)("span",{className:(0,l.cn)(y[r],"text-text-quaternary"),children:i})]})]})},SpecRow:O})},626302,e=>{"use strict";e.s(["Textarea",()=>o]);var t=e.i(911111),a=e.i(134463),n=e.i(920155),r=e.i(54604),l=e.i(397692),s=e.i(957786),i=e.i(975157);let o=e=>{let{className:o,helperText:c,isResizable:d=!1,label:m,maxLength:u,placeholder:C,ref:p,rows:x=4,isInvalid:h,isRequired:f,...N}=e,g=h?"error":"default";return(0,t.jsxs)(r.TextField,{...N,className:(0,i.cn)("flex flex-col","custom-disabled",o),isInvalid:h,isRequired:f,children:[m&&(0,t.jsxs)(n.Label,{className:(0,i.cn)((0,s.labelVariants)(),"inline-flex items-center gap-0.5"),children:[m,f&&(0,t.jsx)(l.RequiredMark,{})]}),(0,t.jsx)("div",{className:(0,i.cn)((0,s.inputContainerVariants)({state:g}),"h-auto p-0"),children:(0,t.jsx)(a.TextArea,{className:(0,i.cn)("typo-body-md w-full bg-transparent p-2.5 text-text-primary outline-none","placeholder:text-text-placeholder",d?"resize-y":"resize-none"),disabled:N.isDisabled,maxLength:u,placeholder:C,ref:p,rows:x})}),c&&(0,t.jsx)("span",{className:(0,s.helperTextVariants)({state:g}),children:c})]})}},3198,810325,e=>{"use strict";e.s(["EmailAutocompleteInput",()=>s],3198);var t=e.i(911111),a=e.i(419232),n=e.i(957786),r=e.i(975157);let l=["@gmail.com","@yahoo.com.tw","@outlook.com"],s=e=>{let{placeholder:s,helperText:i,isInvalid:o,value:c,onChange:d,onBlur:m,name:u}=e,[C,p]=(0,a.useState)(!1),x=(0,a.useMemo)(()=>{if(!c)return[];let e=c.indexOf("@");if(-1===e)return l.map(e=>({full:"".concat(c).concat(e),localPart:c,domain:e}));let t=c.slice(0,e),a=c.slice(e);if(!t)return[];let n=l.filter(e=>e.startsWith(a));return 1===n.length&&"".concat(t).concat(n[0])===c?[]:n.map(e=>({full:"".concat(t).concat(e),localPart:t,domain:e}))},[c]),h=C&&x.length>0;return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(n.Input,{helperText:i,isInvalid:o,name:u,onBlur:()=>{p(!1),m()},onChange:e=>{d(e),p(!0)},onFocus:()=>{x.length>0&&p(!0)},placeholder:s,value:c}),h&&(0,t.jsx)("ul",{className:(0,r.cn)("absolute z-toast w-full","overflow-hidden rounded-md border border-border-secondary bg-bg-white shadow-md"),children:x.map(e=>(0,t.jsx)("li",{className:"px-1.5 py-px",children:(0,t.jsxs)("button",{className:(0,r.cn)("typo-body-md w-full cursor-pointer text-left","rounded-md p-2","text-text-primary","hover:bg-bg-primary-hover"),onMouseDown:t=>{t.preventDefault(),d(e.full),p(!1)},type:"button",children:[(0,t.jsx)("span",{children:e.localPart}),(0,t.jsx)("span",{className:"font-bold",children:e.domain})]})},e.full))})]})};e.s(["PHONE_ALLOWED_CHARS",()=>i,"PhoneInput",()=>c],810325);let i=/^[0-9\-() ]+$/,o=["Backspace","Delete","Tab","ArrowLeft","ArrowRight","Home","End"],c=e=>(0,t.jsx)(n.Input,{...e,inputProps:{inputMode:"tel",onKeyDown:e=>{o.includes(e.key)||e.ctrlKey||e.metaKey||i.test(e.key)||e.preventDefault()},onPaste:e=>{let t=e.clipboardData.getData("text");i.test(t)||e.preventDefault()}}})}]);
4
5//# sourceMappingURL=359f703ee72ef11e.js.map
6//# debugId=7e1e9ffd-3d82-59db-bf20-37053e375bf8

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.