1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4395],{18314:(e,l,t)=>{t.d(l,{Jz:()=>a,Uy:()=>r});let r=e=>Array.from(new Set(e.map(e=>{let{treeSpeciesStemTypeCombinations:l}=e;return l}).flat().map(e=>e.assortmentName))),a=(e,l,t)=>e.reduce((e,r)=>({...e,[String(r[l])]:r[t]}),{})},20578:(e,l,t)=>{t.d(l,{U:()=>s,y:()=>i});var r=t(37876),a=t(85879);let i=e=>{let{value:l,precision:t=0,sup:i=3,prefix:s,suffix:n}=e,d=void 0!==l?"".concat((0,a.ZV)(l,{precision:t})," "):"";return(0,r.jsxs)(r.Fragment,{children:[s?"".concat(s,"/"):"",d,"m",(0,r.jsx)("sup",{children:i}),n?"/".concat(n):""]})},s=e=>{let{value:l,precision:t=0,prefix:i,suffix:s}=e,n=void 0!==l?"".concat((0,a.ZV)(l,{precision:t})," "):"";return(0,r.jsxs)(r.Fragment,{children:[n,i?"".concat(i,"/m\xb3"):"m\xb3",s?"/".concat(s):""]})}},26158:(e,l,t)=>{t.d(l,{K8:()=>r,_6:()=>n,pI:()=>s,wb:()=>a,xo:()=>i});let r={Draft:"Draft",Published:"Published",Cancelled:"Cancelled",Deleted:"Deleted"},a={Draft:0,Published:1,Cancelled:2,Deleted:3},i={DealWasMade:1,NoDealWasMade:2,DealWasMadeOutsideKuutio:3},s={StandingSale:1,SaleAtDeliveredPrice:2},n={Cutting:1,Silviculture:2}},33897:(e,l,t)=>{t.d(l,{A8:()=>a,R_:()=>r});let r={No:0,Yes:1,NotKnown:2},a={ForestOwner:1,AssistantInTimberTrade:2,PowerOfAttorneyHolder:3}},39738:(e,l,t)=>{t.d(l,{_:()=>h});var r=t(37876);t(14232);var a=t(37168),i=t(18314),s=t(20578),n=t(85879),d=t(27741),o=t(67998),u=t(49575);let c=e=>{let{volume:l,headers:t}=e;return(0,r.jsx)(a.View,{style:u.Ju.tableRow,children:t.map(e=>(0,r.jsx)(a.View,{style:[u.Ju.tableCol,{width:e.width}],children:(0,r.jsx)(a.Text,{style:[u.Ju.tableCell,{textAlign:e.align}],children:(0,r.jsx)(o.K,{column:e,row:l,value:void 0!==e.field&&e.field in l?l[e.field]:null})})},e.field))})},x=e=>{let{totalText:l,volumes:t,headers:i,totalArea:d,totalVolume:o,totalDirtyVolume:c}=e;return(0,r.jsxs)(a.View,{style:u.Ju.tableRow,children:[(0,r.jsx)(a.View,{style:[u.Ju.tableCol,{width:"10%"}],children:(0,r.jsx)(a.Text,{style:u.Ju.tableCellBold,children:l})}),void 0!==d&&d>0?(0,r.jsx)(a.View,{style:[u.Ju.tableCol,{width:"6%"}],children:(0,r.jsxs)(a.Text,{style:[u.Ju.tableCellBold],children:[(0,n.ZV)(d)," ha"]})}):null,i.map(e=>(0,r.jsx)(a.View,{style:[u.Ju.tableCol,{width:e.width}],children:(0,r.jsx)(a.Text,{style:[u.Ju.tableCellBold,{textAlign:e.align}],children:(0,r.jsx)(s.U,{value:((e,l)=>{var t,r;return l&&null!=(r=null==(t=l.find(l=>l.assortmentName===e))?void 0:t.value)?r:0})(e.field,t)})})},e.field)),(0,r.jsx)(a.View,{style:[u.Ju.tableCol,{width:"10%"}],children:(0,r.jsx)(a.Text,{style:[u.Ju.tableCellBold,{textAlign:"right"}],children:(0,r.jsx)(s.U,{value:o})})}),c&&c>0?(0,r.jsx)(a.View,{style:[u.Ju.tableCol,{width:"10%"}],children:(0,r.jsx)(a.Text,{style:[u.Ju.tableCellBold,{textAlign:"right"}],children:(0,r.jsx)(s.U,{value:c})})}):null]})},h=e=>{let{locale:l,title:t,indexColumn:o,volumes:h,summaryVolumes:f,totalArea:m,totalSummaryVolume:w,totalDirtySummaryVolume:y}=e,j=(0,d.s)(l,["call-for-offer","common"]),b=j("estimatedVolumesTables.standArea",{ns:"call-for-offer"}),v=j("table.total",{ns:"common"}),T=j("estimatedVolumesTables.inTotalOthersAbb",{ns:"call-for-offer"});if(!h)return null;let C=void 0!==m&&m>0,g=y&&y>0?3:2,p=(0,i.Uy)(h),V=Array.isArray(f)?f.filter(e=>e.value>0).map(e=>e.assortmentName):[],J=p.filter(e=>V.includes(e)),S=(100-(10*g+6*!!C))/J.length,R=J.map(e=>({field:e,headerName:e,width:"".concat(S,"%"),align:"right",renderCell:e=>0===e.value?"":(0,r.jsx)(s.U,{value:e.value})})),N=[{...o,width:"10%"},C?{field:"standArea",headerName:b,width:"6%",valueFormatter:e=>"".concat((0,n.ZV)(e)," ha")}:void 0].concat(R).concat([{field:"summary",headerName:v,width:"10%",align:"right",renderCell:e=>{let{value:l}=e;return(0,r.jsx)(s.U,{value:l})}},y&&y>0?{field:"dirtySummary",headerName:T,width:"10%",align:"right",renderCell:e=>{let{value:l}=e;return(0,r.jsx)(s.U,{value:l})}}:void 0]).filter(e=>e),A=h.map(e=>{let l=(0,i.Jz)(e.treeSpeciesStemTypeCombinations,"assortmentName","value");return{...e,...l}});return(0,r.jsx)(a.View,{children:(0,r.jsxs)(a.View,{style:u.Ju.table,wrap:!1,children:[(0,r.jsx)(a.View,{style:u.Ju.tableRow,children:(0,r.jsx)(a.View,{style:[u.Ju.tableCol,{width:"100%"}],children:(0,r.jsx)(a.Text,{style:u.Ju.tableHeaderCell,children:t})})}),(0,r.jsx)(a.View,{style:u.Ju.tableRow,children:N.map(e=>{let{field:l,headerName:t,width:i,align:s}=e;return(0,r.jsx)(a.View,{style:[u.Ju.tableCol,{width:i}],children:(0,r.jsx)(a.Text,{style:[u.Ju.tableCellBold,{textAlign:s}],children:t})},l)})}),A.map((e,l)=>(0,r.jsx)(c,{volume:e,headers:N},l)),(0,r.jsx)(x,{totalText:v,volumes:f,totalArea:m,totalVolume:w,totalDirtyVolume:y,headers:R})]})})}},44626:(e,l,t)=>{t.d(l,{K:()=>x});var r=t(37876),a=t(14232),i=t(37168),s=t(27741),n=t(67998),d=t(49575),o=t(1
1738);let u=e=>{let{stand:l,headers:t}=e;return(0,r.jsx)(i.View,{style:d.Ju.tableRow,children:t.map(e=>(0,r.jsx)(i.View,{style:[d.Ju.tableCol,{width:e.width}],children:(0,r.jsx)(i.Text,{style:[d.Ju.tableCell,{textAlign:e.align}],children:(0,r.jsx)(n.K,{column:e,row:l,value:void 0!==e.field&&e.field in l?l[e.field]:null})})},e.field))})},c=e=>{let{stand:l,additionalInfoText:t,operationInfoText:a,specialFeaturesText:s}=e,{standInfo:n,operationInfo:o,specialFeatures:u}=l;return n||o||0!==u.length?(0,r.jsxs)(i.View,{style:[d.Ju.tableCol,{width:"100%",padding:5}],children:[o?(0,r.jsxs)(i.View,{style:{width:"100%",flexDirection:"row"},children:[(0,r.jsxs)(i.Text,{style:d.R7.textSmBold,children:[a,": "]}),(0,r.jsx)(i.Text,{style:d.R7.textSm,children:o})]}):null,n?(0,r.jsxs)(i.View,{style:{width:"100%",flexDirection:"row"},children:[(0,r.jsxs)(i.Text,{style:d.R7.textSmBold,children:[t,": "]}),(0,r.jsx)(i.Text,{style:d.R7.textSm,children:n})]}):null,u.length>0?(0,r.jsxs)(i.View,{style:{width:"100%",flexDirection:"row"},children:[(0,r.jsxs)(i.Text,{style:d.R7.textSmBold,children:[s,": "]}),(0,r.jsx)(i.Text,{style:d.R7.textSm,children:u.map(e=>{let{featureCodeText:l,additionalCodeText:t}=e;return"".concat(l).concat(t?" - ".concat(t):"")}).join(", ")})]}):null]}):null},x=e=>{let{headers:l,standsData:t,locale:n,wrap:x=!1}=e,h=(0,s.s)(n,["call-for-offer"]),f=h("standsTable.dataProvider",{ns:"call-for-offer"}),m=h("standsTable.simulationDate",{ns:"call-for-offer"}),w=h("standsTable.additionalInfo",{ns:"call-for-offer"}),y=h("standsTable.operationInfo",{ns:"call-for-offer"}),j=h("standsTable.specialFeatures",{ns:"call-for-offer"});if(!t)return null;let b=Array.from(new Set(t.map(e=>e.realEstateId))).map(e=>{var l;let r=t.filter(l=>l.realEstateId===e);return{realEstateId:e,realEstateName:null==r||null==(l=r[0])?void 0:l.realEstateName,stands:r}});return(0,r.jsx)(r.Fragment,{children:b.map(e=>{let t=e.stands[0].dataProvider,s=e.stands[0].simulationDate;return(0,r.jsxs)(i.View,{style:{paddingTop:10,width:"100%"},children:[(0,r.jsxs)(i.View,{style:d.Ju.table,wrap:x,children:[(0,r.jsx)(i.View,{style:d.Ju.tableRow,children:(0,r.jsx)(i.View,{style:[d.Ju.tableCol,{width:"100%"}],children:(0,r.jsxs)(i.Text,{style:d.Ju.tableHeaderCell,children:[e.realEstateName," - ",e.realEstateId]})})}),(0,r.jsx)(i.View,{style:d.Ju.tableRow,children:l.map(e=>{let{field:l,headerName:t,width:a,align:s}=e;return(0,r.jsx)(i.View,{style:[d.Ju.tableCol,{width:a}],children:(0,r.jsx)(i.Text,{style:[d.Ju.tableCellBold,{textAlign:s}],children:t})},l)})}),e.stands.map(e=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(u,{stand:e,headers:l}),(0,r.jsx)(c,{stand:e,additionalInfoText:w,operationInfoText:y,specialFeaturesText:j})]},e.oStandId))]}),(0,r.jsx)(i.View,{style:{paddingTop:5,width:"100%"},children:(0,r.jsxs)(i.Text,{style:d.R7.textSm,children:[f,": ",t," â ",m,":"," ",s?(0,o.Yq)((0,o.TA)(s)):"-"]})})]},e.realEstateId)})})}},56835:(e,l,t)=>{t.d(l,{A8:()=>a.A8,wb:()=>r.wb,K8:()=>r.K8,_6:()=>r._6,xo:()=>r.xo,sT:()=>n,Rc:()=>u,R_:()=>a.R_,W6:()=>d,zb:()=>o,pI:()=>r.pI,Bf:()=>i,A:()=>s});var r=t(26158),a=t(33897);let i={CallForOffer:"CallForOffer",ContactRequest:"ContactRequests",CallForOfferSilviculture:"CallForOfferSilviculture"},s={CallForOffer:1,ContactRequest:2,CallForOfferSilviculture:5},n={OK:0,TopologyRulesError:1,NotValidGeometryError:2,ErrorSave:4,Unknown:99},d={OfferPricesNotSatisfactory:1,OfferTermsNotSatisfactory:2,NoRealSellingIntention:3,Other:4,TradeBuyerOutsideKuutio:5},o={1:"OfferPricesNotSatisfactory",2:"OfferTermsNotSatisfactory",3:"NoRealSellingIntention",4:"Other",5:"TradeBuyerOutsideKuutio"},u={StoragePoint:150,TextPoint:10001,Turnaround:10029,LoggingTrail:10019,NewRoad:10018,Road:10031,ElectricLine:10005}},67998:(e,l,t)=>{t.d(l,{K:()=>r});let r=e=>{let{column:l,row:t,value:r}=e;return l.renderCell?l.renderCell({value:r,row:t}):l.valueFormatter?l.valueFormatter(r):l.valueGetter?l.valueGetter({row:t}):r}}}]);
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.