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,EAAAA,EAAAA,EACLW,OAAAA,EAAe,KAAOA,EAAM,mBAAuBjL,MAAA,CAAJiL,GAAQ,mBAEvDV,EAAAA,EAAcA,CACdW,EAGN","sources":["webpack://_N_E/./components/common/divider.tsx","webpack://_N_E/./components/common/notfound.tsx","webpack://_N_E/./components/common/unavailable-buttons.tsx","webpack://_N_E/./components/equipments/v2/listing-detail-tags.tsx","webpack://_N_E/./components/equipments/v2/description.tsx","webpack://_N_E/./components/equipments/v2/extra-content-item.tsx","webpack://_N_E/./components/equipments/v2/extra-content.tsx","webpack://_N_E/./components/equipments/v2/lab-info.tsx","webpack://_N_E/./components/equipments/v2/org-info.tsx","webpack://_N_E/./components/equipments/v2/tag.tsx","webpack://_N_E/./components/org/profile/working-hours.tsx","webpack://_N_E/./lib/render-tiptap.tsx","webpack://_N_E/./src/helpers/page-path.helper.ts","webpack://_N_E/./src/services/user.service.ts","webpack://_N_E/"],"sourcesContent":["import React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\ninterface DividerProps {\n className?: string;\n refElem?: React.RefObject;\n id?: string;\n}\n\nconst Divider = ({ className, refElem, id }: DividerProps) => {\n return (\n \n );\n};\n\nexport default Divider;\n","import { FlaskConical } from \"lucide-react\";\n\nimport { ButtonLink } from \"@/components/ui/button\";\n\nexport function NotFound() {\n return (\n
\n
\n \n
\n
\n

\n Looks Like You’ve Discovered Uncharted Territory!\n

\n
\n In the quest for knowledge, sometimes we find ourselves in unknown\n places. The page you’re looking for might have been moved, renamed, or\n is temporarily unavailable.\n
\n
\n \n Return Home\n \n
\n
\n
\n );\n}\n","import { AlertCircle, MessageSquare } from \"lucide-react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { ToolTipDefault } from \"@/components/ui/tooltip\";\nimport { cn } from \"@/lib/utils\";\n\nexport function ChatUnavailableButton({\n customClass,\n}: {\n customClass?: string;\n}) {\n return (\n \n
\n \n
\n \n );\n}\n\nexport function BookUnavailableButton({ content }: { content?: string }) {\n return (\n \n
\n \n
\n \n );\n}\n\nexport function SubscriptionUnavailableButton({\n className,\n}: {\n className?: string;\n}) {\n return (\n \n
\n \n
\n \n );\n}\n","import { Tag } from \"@/components/home-listings/interface\";\nimport { Toggle } from \"@/components/ui/toggle\";\nimport { cn } from \"@/lib/utils\";\n\nexport function ListingDetailTags({\n tags,\n className,\n}: {\n tags: Tag[];\n className?: string;\n}) {\n if (!tags || !tags.length) return null;\n\n return (\n
\n {tags.map((tag) => (\n \n {tag.label}\n \n ))}\n
\n );\n}\n","import { AnimatePresence, motion } from \"framer-motion\";\nimport React, { useEffect, useRef, useState } from \"react\";\n\nimport { ListingDetailTags } from \"@/components/equipments/v2/listing-detail-tags\";\nimport { Tag } from \"@/components/home-listings/interface\";\n\ninterface Props {\n tags: Tag[];\n description: string;\n}\n\nconst Description = ({ tags, description }: Props) => {\n const [isExpanded, setIsExpanded] = useState(false);\n const [showButton, setShowButton] = useState(false);\n const contentRef = useRef(null);\n\n useEffect(() => {\n if (contentRef.current) {\n // Check if content height is greater than 7.5em (the collapsed height)\n setShowButton(contentRef.current.scrollHeight > 120); // 7.5em = ~120px\n }\n }, [description]);\n\n return (\n <>\n \n \n \n \n {description.length > 0 && showButton && (\n
\n setIsExpanded(!isExpanded)}\n className=\"mt-4 border-b border-emerald-900 pb-2 text-emerald-900 hover:text-emerald-950\"\n >\n {isExpanded ? \"See Less\" : \"See More\"}\n \n
\n )}\n \n );\n};\n\nexport default Description;\n","import React, { useEffect, useRef, useState } from \"react\";\n\nimport Divider from \"@/components/common/divider\";\n\ninterface Props {\n title: string;\n content: string;\n isShowDivider?: boolean;\n}\n\nconst ExtraContentItem = ({ title, content, isShowDivider = true }: Props) => {\n const [isExpanded, setIsExpanded] = useState(false);\n const [showButton, setShowButton] = useState(false);\n const contentRef = useRef(null);\n\n useEffect(() => {\n if (contentRef.current) {\n setShowButton(contentRef.current.scrollHeight > 384);\n }\n }, [content]);\n\n return (\n <>\n
\n {title}\n
\n \n \n {/* {!isExpanded && showButton && (\n
\n )} */}\n
\n {showButton && (\n
\n setIsExpanded(!isExpanded)}\n className=\"mt-4 border-b border-emerald-900 pb-2 text-emerald-900 hover:text-emerald-950\"\n >\n {isExpanded ? \"See Less\" : \"See More\"}\n \n
\n )}\n {isShowDivider && }\n \n );\n};\n\nexport default ExtraContentItem;\n","import { generateHTML } from \"@tiptap/html\";\nimport { ArrowDownFromLine, Paperclip } from \"lucide-react\";\nimport Link from \"next/link\";\nimport { useMemo } from \"react\";\n\nimport ExtraContentItem from \"@/components/equipments/v2/extra-content-item\";\nimport { TIPTAP_EXTENSIONS } from \"@/lib/text\";\n\nconst extensions = TIPTAP_EXTENSIONS;\n\ninterface Props {\n accessGuidelines?: any;\n submissionGuidelines?: any;\n faqs: any;\n labRules: any;\n customFields: any[];\n usage?: any;\n help?: any;\n expertise?: any;\n managed_research?: any;\n training?: any;\n common_application?: any;\n}\n\nexport function ExtraContent(props: Props) {\n const accessGuideline = useMemo(() => {\n if (!props.accessGuidelines) return \"\";\n return generateHTML(props.accessGuidelines, extensions);\n }, [props.accessGuidelines]);\n\n const submissionGuidelines = useMemo(() => {\n if (!props.submissionGuidelines) return \"\";\n return generateHTML(props.submissionGuidelines, extensions);\n }, [props.submissionGuidelines]);\n\n const faqs = useMemo(() => {\n if (!props.faqs) return \"\";\n return generateHTML(props.faqs, extensions);\n }, [props.faqs]);\n\n const labRules = useMemo(() => {\n if (!props.labRules) return \"\";\n return generateHTML(props.labRules, extensions);\n }, [props.labRules]);\n\n const usage = useMemo(() => {\n if (!props.usage) return \"\";\n return generateHTML(props.usage, extensions);\n }, [props.usage]);\n\n const help = useMemo(() => {\n if (!props.help) return \"\";\n return generateHTML(props.help, extensions);\n }, [props.help]);\n\n const expertise = useMemo(() => {\n if (!props.expertise) return \"\";\n return generateHTML(props.expertise, extensions);\n }, [props.expertise]);\n\n const managed_research = useMemo(() => {\n if (!props.managed_research) return \"\";\n return generateHTML(props.managed_research, extensions);\n }, [props.managed_research]);\n\n const training = useMemo(() => {\n if (!props.training) return \"\";\n return generateHTML(props.training, extensions);\n }, [props.training]);\n\n const common_application = useMemo(() => {\n if (!props.common_application) return \"\";\n return generateHTML(props.common_application, extensions);\n }, [props.common_application]);\n\n const renderCustomFields = useMemo(\n () =>\n (props.customFields || [])\n .filter((field) => field.data)\n .map((field) => {\n return {\n type: field.type,\n name: field.name,\n data:\n field.type === \"rich_text\"\n ? generateHTML(field.data, extensions)\n : field.data,\n };\n }),\n [props.customFields],\n );\n\n return (\n <>\n {accessGuideline && (\n \n )}\n\n {submissionGuidelines && (\n \n )}\n\n {faqs && }\n\n {labRules && }\n\n {usage && }\n\n {managed_research && (\n \n )}\n {expertise && }\n\n {help && (\n \n )}\n\n {training && }\n\n {common_application && (\n \n )}\n {renderCustomFields.map((field, index) =>\n field.type === \"rich_text\" ? (\n \n ) : (\n \n \n
\n
{field.name}
\n
\n \n \n \n \n ),\n )}\n \n );\n}\n","import { GoogleMap, Marker, useJsApiLoader } from \"@react-google-maps/api\";\nimport { get } from \"lodash-es\";\nimport Link from \"next/link\";\nimport { useCallback, useEffect, useMemo, useState } from \"react\";\n\nimport { ImageResponsive } from \"@/components/image\";\nimport { OrgWorkingHours } from \"@/components/org/profile/working-hours\";\nimport { buttonVariants } from \"@/components/ui/button\";\nimport { RenderTiptap } from \"@/lib/render-tiptap\";\nimport { addParams, cn, getHostingUrl, getUserType } from \"@/lib/utils\";\nimport useAuthStore from \"@/stores/auth-store\";\n\nexport function LabInfo({ listing, working_hours }: any) {\n const { user } = useAuthStore();\n const userType = getUserType(user);\n\n const { isLoaded } = useJsApiLoader({\n id: \"google-map-script\",\n googleMapsApiKey: process.env.NEXT_PUBLIC_GOOGLE_MAP_API_KEY || \"\",\n });\n\n const [map, setMap] = useState(null);\n\n const center = useMemo(\n () => ({\n lat: Number(listing.org?.location?.split(\",\")[0] || undefined),\n lng: Number(listing.org?.location?.split(\",\")[1] || undefined),\n }),\n [listing.org?.location],\n );\n\n const onLoad = useCallback(\n function callback(map: any) {\n const bounds = new window.google.maps.LatLngBounds(center);\n map.fitBounds(bounds);\n setMap(map);\n },\n [center],\n );\n\n useEffect(() => {\n setTimeout(() => map && (map as any).setZoom(12), 500);\n }, [map]);\n\n const onUnmount = useCallback(function callback(map: any) {\n setMap(null);\n }, []);\n\n const mapParams = useMemo(() => {\n const params = {\n api: 1,\n map_action: \"map\",\n destination: `${center.lat},${center.lng}`,\n } as any;\n return encodeURI(\n Object.keys(params)\n .map((k) => `${k}=${params[k]}`)\n .join(\"&\"),\n );\n }, [center]);\n\n const _renderSendMessageButton = () => {\n return (\n \n Send Message\n \n );\n };\n\n return (\n <>\n
\n Lab Information\n
\n
\n
\n
\n
\n {listing.org?.logo_url && (\n \n )}\n
\n \n {get(listing, \"org.name\")}\n \n
\n {listing.org?.university?.name}\n
\n
\n
\n
\n {listing.org?.description && (\n
\n \n
\n )}\n {/*
\n
\n {!!listing?.org?.id &&\n !!user?.org?.id &&\n listing?.org?.id === user?.org?.id ? (\n \n ) : (\n listing.org?.description && _renderSendMessageButton()\n )}\n
\n
*/}\n
\n
\n
\n
\n
\n {isLoaded && center.lat && center.lng ? (\n \n \n \n ) : (\n <>\n )}\n
\n
\n
\n {get(listing, \"org.address_1\")}, {get(listing, \"org.state\")}\n
\n
\n {/*
\n \n Get Directions \n \n
*/}\n
\n
\n
\n \n
\n\n
{_renderSendMessageButton()}
\n
\n
\n \n );\n}\n","import { Clock4 } from \"lucide-react\";\nimport React from \"react\";\n\ninterface OrgInfoProps {\n universityName: string;\n orgName: string;\n manufacturer: string;\n fixedDaysNumber: number;\n turnAroundTimeText?: string;\n}\n\nconst OrgInfo = ({\n universityName,\n orgName,\n manufacturer,\n fixedDaysNumber,\n turnAroundTimeText,\n}: OrgInfoProps) => {\n return (\n
\n {universityName && (\n <>\n
\n \n {universityName}\n
\n \n )}\n {orgName && (\n <>\n
\n {\" \"}\n {orgName}\n
\n {manufacturer &&
|
}\n \n )}\n {manufacturer && (\n
\n {\" \"}\n {manufacturer}\n
\n )}\n {fixedDaysNumber ? (\n <>\n
|
\n
\n {\" \"}\n \n Set duration is {fixedDaysNumber} days\n \n
\n \n ) : (\n <>\n )}\n {turnAroundTimeText && (\n <>\n
|
\n\n
\n {\" \"}\n {turnAroundTimeText}\n
\n \n )}\n
\n );\n};\n\nexport default OrgInfo;\n","import React from \"react\";\n\ninterface TagProps {\n text: string;\n className?: string;\n}\n\nconst Tag = ({ text, className }: TagProps) => {\n return (\n \n {text}\n \n );\n};\n\nexport default Tag;\n","import { WORKING_DAYS } from \"@/components/common/constants\";\nimport { Badge } from \"@/components/ui/badge\";\nimport { cn } from \"@/lib/utils\";\nimport dayjs from \"@/packages/dayjs\";\n\nfunction convertTimeToText(timeValue: number) {\n if (timeValue === 2400 || timeValue === 0) {\n return \"12:00 AM\";\n }\n\n let hour = Math.floor(timeValue / 100);\n let minute = timeValue % 100;\n\n let period = hour < 12 ? \"AM\" : \"PM\";\n\n if (hour > 12) {\n hour -= 12;\n } else if (hour === 0) {\n hour = 12;\n }\n\n return `${hour}:${minute.toString().padStart(2, \"0\")} ${period}`;\n}\n\nexport function OrgWorkingHours({ working_hours, timezone, className }: any) {\n if (!working_hours || !timezone) {\n return null;\n }\n\n return (\n
\n {WORKING_DAYS.map((day: string, index: number) => {\n const working_day = working_hours[day];\n 1;\n const isToday = dayjs().tz(timezone).day() - 1 === index;\n const openNow =\n isToday &&\n dayjs().tz(timezone).hour() >= working_day.start_time &&\n dayjs().tz(timezone).hour() <= working_day.end_time;\n\n return (\n \n \n {day}{\" \"}\n {openNow && (\n \n Open\n \n )}\n \n\n
\n {working_day.open ? (\n \n {convertTimeToText(working_day.start_time)} -{\" \"}\n {convertTimeToText(working_day.end_time)}\n \n ) : (\n Closed\n )}\n
\n
\n );\n })}\n \n );\n}\n","import { EditorContent, useEditor } from \"@tiptap/react\";\nimport React from \"react\";\n\nimport { TIPTAP_EXTENSIONS } from \"@/lib/text\";\n\nexport function RenderTiptap({ content }: { content: string }) {\n const editor = useEditor({\n editable: false,\n content: content,\n extensions: TIPTAP_EXTENSIONS,\n });\n\n if (!editor) {\n return null;\n }\n\n return ;\n}\n","import { getOnboardingFlowParams } from \"@/lib/utils\";\nimport { NobfType } from \"@/src/models/common.model\";\n\nconst pagePath = {\n users: {\n uploadInsurance(\n orgId: number,\n backUrl?: string,\n type?: NobfType,\n requiredSubscription?: boolean,\n ) {\n const params = getOnboardingFlowParams({\n type,\n orgId,\n backUrl,\n requiredSubscription,\n });\n return `/user/upload/insurance?${params}`;\n },\n uploadTrainings(\n orgId: number,\n backUrl?: string,\n type?: NobfType,\n requiredSubscription?: boolean,\n ) {\n const params = getOnboardingFlowParams({\n type,\n orgId,\n backUrl,\n requiredSubscription,\n });\n return `/user/upload/trainings?${params}`;\n },\n },\n\n error: {\n unSupported(isLab?: boolean) {\n return isLab ? \"/hosting/unsupported\" : \"/unsupported\";\n },\n },\n lab: {\n account() {\n return \"/hosting/account\";\n },\n scientific_process_list() {\n return \"/hosting/scientific-process\";\n },\n },\n services: {\n item(slug: string) {\n return `/services/${slug}`;\n },\n },\n\n company: {\n invalidInvite() {\n return \"/invalid-invite\";\n },\n },\n organizations: {\n info(orgId?: number, orgSlug?: string, slug?: string) {\n if (slug) return `/organizations/${slug}`;\n return `/organizations/${orgSlug}-${orgId}`;\n },\n contracts(\n contractId: number,\n orgId: number,\n type: NobfType,\n backUrl?: string,\n requiredSubscription?: boolean,\n ) {\n const params = getOnboardingFlowParams({\n type,\n backUrl,\n requiredSubscription,\n orgId,\n });\n return `/contracts/${contractId}?${params}`;\n },\n buySubscription(\n orgId: number,\n orgSlug: string,\n backUrl?: string,\n type?: NobfType,\n ) {\n const params = getOnboardingFlowParams({\n type,\n backUrl,\n });\n return `/organizations/${orgSlug}-${orgId}/buy-subscription?${params}`;\n },\n access(\n slug: string,\n backUrl?: string,\n type?: NobfType,\n requiredSubscription?: boolean,\n ) {\n const params = getOnboardingFlowParams({\n type,\n backUrl,\n requiredSubscription,\n });\n return `/organizations/${slug}/access-request?${params}`;\n },\n },\n booking: {\n detail(id: string) {\n return `/bookings/${id}`;\n },\n },\n};\n\nexport default pagePath;\n","import useSWR, { SWRConfiguration } from \"swr\";\n\nimport { superFetchData } from \"@/lib/utils\";\nimport { NobfType } from \"@/src/models/common.model\";\n\nconst userService = {\n useInfo: () => {\n return useSWR(`/users/info`, superFetchData);\n },\n useLabProfile: (orgId: number, type?: NobfType) => {\n const preferBookingType = (() => {\n if (type === \"scientific_process\") {\n return \"equipment\";\n }\n if (!type || [\"organization\", \"banner\"].includes(type)) {\n return \"auto\";\n }\n return type;\n })();\n const url = `/users/lab-profile?lab_id=${orgId}&prefer_booking_type=${preferBookingType}`;\n return useSWR(orgId ? url : null, superFetchData);\n },\n useLabProfileSignedIn: (user: any, orgId: number, type?: NobfType) => {\n const preferBookingType = (() => {\n if (type === \"scientific_process\") {\n return \"equipment\";\n }\n if (!type || [\"organization\", \"banner\"].includes(type)) {\n return \"auto\";\n }\n return type;\n })();\n const url = `/users/lab-profile?lab_id=${orgId}&prefer_booking_type=${preferBookingType}`;\n return useSWR(orgId && user ? url : null, superFetchData);\n },\n fetchLabProfile: (orgId: number, type?: NobfType) => {\n const preferBookingType = (() => {\n if (type === \"scientific_process\") {\n return \"equipment\";\n }\n if (!type || [\"organization\", \"banner\"].includes(type)) {\n return \"auto\";\n }\n return type;\n })();\n const url = `/users/lab-profile?lab_id=${orgId}&prefer_booking_type=${preferBookingType}`;\n return superFetchData(url);\n },\n\n useCreateSubscription: (orgId: number) => {\n return useSWR(`/users/subscriptions?org_id=${orgId}`, superFetchData);\n },\n useSubscription: (user: any, orgId: number) => {\n return useSWR(\n user ? `/users/subscriptions?org_id=${orgId}` : \"\",\n superFetchData,\n );\n },\n useRequiredTrainings: (orgId: number) => {\n return useSWR(\n `/users/lab-required-trainings?lab_org_id=${orgId}`,\n superFetchData,\n );\n },\n useApprovals: (key: string | null, options?: SWRConfiguration) => {\n return useSWR(\n key === null ? null : key ? `/users/approvals${key}` : \"/users/approvals\",\n\n superFetchData,\n options,\n );\n },\n};\n\nexport default userService;\n"],"names":["__webpack_exports__","Z","className","refElem","id","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","div","cn","ref","NotFound","jsxs","FlaskConical","strokeWidth","size","h2","ButtonLink","href","ChatUnavailableButton","customClass","ToolTipDefault","side","content","Button","disabled","MessageSquare","BookUnavailableButton","AlertCircle","ListingDetailTags","tags","length","jsx_runtime","map","Toggle","aria-label","tag","label","description","isExpanded","setIsExpanded","useState","showButton","setShowButton","contentRef","useRef","useEffect","current","scrollHeight","Fragment","AnimatePresence","initial","motion","article","concat","dangerouslySetInnerHTML","__html","height","animate","transition","duration","button","onClick","title","isShowDivider","h6","Divider","extensions","TIPTAP_EXTENSIONS","ExtraContent","props","accessGuideline","useMemo","accessGuidelines","generateHTML","submissionGuidelines","faqs","labRules","usage","help","expertise","managed_research","training","common_application","renderCustomFields","customFields","filter","field","data","type","name","ExtraContentItem","index","Paperclip","Link","url","download","file_name","target","ArrowDownFromLine","LabInfo","listing","working_hours","user","useAuthStore","userType","getUserType","isLoaded","useJsApiLoader","googleMapsApiKey","process","setMap","center","lat","Number","org","location","split","undefined","lng","onLoad","useCallback","bounds","window","google","maps","LatLngBounds","fitBounds","setTimeout","setZoom","onUnmount","params","api","map_action","destination","encodeURI","Object","keys","k","join","logo_url","ImageResponsive","src","addParams","width","alt","university","getHostingUrl","slug","get","RenderTiptap","GoogleMap","mapContainerStyle","zoom","Marker","position","OrgWorkingHours","timezone","buttonVariants","universityName","orgName","manufacturer","fixedDaysNumber","turnAroundTimeText","img","span","Clock4","text","convertTimeToText","timeValue","hour","Math","floor","period","minute","toString","padStart","WORKING_DAYS","day","working_day","isToday","dayjs","tz","openNow","start_time","end_time","Badge","variant","open","editor","useEditor","editable","EditorContent","users","uploadInsurance","orgId","backUrl","requiredSubscription","getOnboardingFlowParams","uploadTrainings","error","unSupported","isLab","lab","account","scientific_process_list","services","item","company","invalidInvite","organizations","info","orgSlug","contracts","contractId","buySubscription","access","booking","detail","useInfo","useSWR","superFetchData","useLabProfile","preferBookingType","includes","useLabProfileSignedIn","fetchLabProfile","useCreateSubscription","useSubscription","useRequiredTrainings","useApprovals","key","options"],"sourceRoot":""}