1import{r as e,C as o}from"./vendor-core-kDn7q5nn.js";import{g as l,dI as d,dX as f,dY as c,dZ as g,h,P,d_ as r}from"./app-shared-D9Va_FlY.js";import{F as _}from"./index-DWcLyEJP.js";import x from"./AufgabenPage-ByYIWw9n.js";import{ab as E}from"./antd-DUwX4n57.js";import"./pro-components-U2bZqxZr.js";import"./mapbox-DrKvbh0K.js";import"./xlsx-DLNWaC59.js";import"./calendar-C0yHFNg9.js";import"./iso-3166-D9CfHPRA.js";import"./charts-B4kAPUKr.js";import"./html2canvas-CBrSDip1.js";/* empty css */import"./proTablePresets-BblqdjTc.js";import"./clickableRowProps-CT2jBHnt.js";/* empty css *//* empty css */import"./SettingRow-DCJKnRYv.js";import"./index-CgLdxpUH.js";import"./WorkspaceDetailDrawer-Bu764oCk.js";import"./IncidentDetailBody-f_bxyiAG.js";import"./propertyLabel-B8cOhFQd.js";import"./occurrence-iYfDriYF.js";import"./editorSchema-D-KaJuTi.js";import"./taskFormMappers-D5oeG4rZ.js";import"./useTaskFormData-C-AqeFRb.js";import"./feedSources-xp2FytdY.js";import"./sortable.esm-RWeUlKxq.js";import"./modifiers.esm-Cx6fI-cp.js";import"./geocodeCache-BvgrcxSA.js";import"./materialRequestStatusRegistry-BHyQqz37.js";/* empty css */import"./index-CFoUZMb3.js";import"./index-DVMF40E5.js";import"./VerificationModeSelect-DUsnzPni.js";import"./index-Cp1actIa.js";import"./index-DBFHv1qZ.js";import"./useDirtyState-IZQSP_hZ.js";import"./PropertyReactionDefaultsSection-BFlcdHLi.js";import"./slotMeta-CVcga0ly.js";import"./index-lcbNvcEG.js";import"./ArchiveRequestModal-ZmvPlJn3.js";import"./haversineDistance-hukwVyK_.js";import"./workspaceStatus-C32wUDqf.js";import"./usePropertyTimezones-SuSVc424.js";import"./rowActionColumn-C5ixO-Yk.js";import"./PropertyHeaderExtrasContext-BHbpETXB.js";const ct=()=>{const{t:i}=l(["portal","common"]),{property:t}=d(),{setFlag:s}=f();c(),g();const m=h(P.UPDATE_PROPERTIES),[p,a]=e.useState((t==null?void 0:t.show_routes)??!1);if(e.useEffect(()=>{a((t==null?void 0:t.show_routes)??!1)},[t==null?void 0:t.show_routes]),!t)return null;const n=async u=>{await s(t,"show_routes",u)};return p?o.jsx(o.Fragment,{children:o.jsx(x,{embedded:!0,propertyId:t.property_id})}):m?o.jsx(_,{on:!1,onToggle:()=>n(!0),label:i(`portal:${r.show_routes.labelKey}`,{defaultValue:r.show_routes.labelDefault}),icon:r.show_routes.icon(17),activateButton:!0,maxWidth:480}):o.jsx(E,{style:{marginTop:48},description:i("portal:property.moduleOffHint")})};export{ct as default};
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.