1!function(){try{var n="u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="912a9cdc-e546-43b9-a5ca-3e79e1202af0",n._sentryDebugIdIdentifier="sentry-dbid-912a9cdc-e546-43b9-a5ca-3e79e1202af0")}catch(n){}}();var _global="u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{};_global.SENTRY_RELEASE={id:"e1befdfb692b28496829f71c2490b06d48ba02c9"};"use strict";(self.webpackChunkopus1io=self.webpackChunkopus1io||[]).push([["19779"],{64763:function(n,e,t){var i=t(84577),s=t(17378),o=t(20615);function r(){var n=(0,i._)(["\n & > * {\n width: 100%;\n }\n "]);return r=function(){return n},n}function a(){var n=(0,i._)(["\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-end;\n flex-wrap: wrap;\n gap: 8px;\n\n ","\n"]);return a=function(){return n},n}e.A=s.Ay.div(a(),o.$_.tablet(r()))},486:function(n,e,t){var i=t(71893),s=t(84577);t(96540);var o=t(11205),r=t(17378),a=t(35368),l=t(53894),d=t(20615);function c(){var n=(0,s._)(["\n font-size: 12px;\n\n "," {\n margin-right: 0px;\n }\n"]);return c=function(){return n},n}function u(){var n=(0,s._)(["\n "," {\n color: white !important;\n font-weight: 500;\n\n "," {\n color: inherit;\n font-weight: inherit;\n }\n }\n "]);return u=function(){return n},n}function m(){var n=(0,s._)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n width: 100%;\n overflow: hidden;\n\n .option-icon {\n margin-right: 4px;\n }\n\n ","\n\n .option-body {\n flex-grow: 1;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n color: inherit;\n\n span {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n span.name {\n font-size: 14px;\n font-weight: 500;\n line-height: 1rem;\n }\n\n span.number {\n font-size: 10px;\n line-height: 1rem;\n /* line-height: 15px; */\n }\n }\n"]);return m=function(){return n},n}var p=(0,r.Ay)(a.A)(c(),a.A.styled.Icon),f=r.Ay.div(m(),n=>(0,d.wb)(n.isSelected)(u(),p,a.A.styled.Icon));e.A=n=>{var{className:e,cx:t,getStyles:s,isDisabled:r,isFocused:a,isSelected:d,innerRef:c,innerProps:u,data:m,children:v}=n,y=(0,l.A)();return(0,o.Y)("div",(0,i._)({ref:c,css:s("option",n),className:t({option:!0,"option--is-disabled":r,"option--is-focused":a,"option--is-selected":d},"".concat(e," d-flex flex-row align-items-center"))},u),(0,o.Y)(f,{className:"policy-version-option",isSelected:d},(0,o.Y)("div",{className:"option-body d-flex flex-column"},(0,o.Y)("div",{className:"d-flex flex-row"},(0,o.Y)(p,{className:"option-icon",revision:m}),(0,o.Y)("span",{className:"name"},m.name)),(0,o.Y)("span",{className:"number"},"published"," ",y(m.publishedAt||null).format("LLL")))))}},35368:function(n,e,t){var i=t(74848);t(96540);var s=t(49053),o=t(17265),r=n=>{var{className:e,revision:t}=n;return(0,i.jsx)(s.A,{className:e,states:{[o.BT]:{iconClass:"far fa-fw fa-file-contract",label:"Draft"},[o.oy]:{iconClass:"far fa-fw fa-check",className:"text-success",label:t.locked?"Live (Locked)":"Live"},[o.$n]:{iconClass:"far fa-fw fa-clock",label:"Discontinued"}},status:t.status})};r.styled=s.A.styled,e.A=r},82692:function(n,e,t){e.A=(0,t(96540).createContext)({arrayDefaults:null,arrayDetails:null})},11943:function(n,e,t){var i=t(71893),s=t(55456);t(93632),t(45336),t(79936);var o=t(74848),r=t(96540),a=t(45619),l=t(6251),d=t(96729),c=t(50926),u=t(12163),m=t(77999),p=t(82692),f=t(43434);e.A=n=>{var{className:e,title:t,subtitle:v,iconClass:y,placeholder:b,requiredMessage:h,disabled:g,instanceId:A,options:x,getOptionLabel:C,getOptionValue:I,isCreatable:T,isMulti:j,styles:w,components:N,withSelectAll:R}=n,_=(0,a.xW)(),{arrayDefaults:P,arrayDetails:k}=(0,r.useContext)(p.A),[E,D]=k||[],$=(0,c.xQ)(t),O=k?[E,D,$].join("."):$,S=T?d.Ay:l.Ay,B=j&&R;return(0,o.jsx)(a.xI,{control:_.control,name:O,defaultValue:P?P[$]:void 0,rules:{required:h},render:(n,r)=>{var a,l,d,c,{value:p,onChange:T,onBlur:P,name:O}=n,{invalid:L}=r;return(0,o.jsx)(u.A,{className:e,field:{title:t,subtitle:v,iconClass:y,errors:(k?[null==(d=_.errors[E])||null==(l=d[D])||null==(a=l[$])?void 0:a.message]:[null==(c=_.errors[$])?void 0:c.message]).filter(
1Boolean)},children:(0,o.jsx)(S,{classNamePrefix:"react-select",id:"react-select-".concat(A),placeholder:null!=b?b:t,options:x,getOptionLabel:C,getOptionValue:I,isMulti:j,isClearable:!h||j&&R,value:p,onChange:B?n=>(0,f.h)(n||[],{onChange:T}):n=>{T(j?n||[]:n)},onBlur:P,styles:w||m.K6,components:B?(0,s._)((0,i._)({},N),{MenuList:f.J}):N,isDisabled:!!g})})}})}},92349:function(n,e,t){t.d(e,{A:function(){return ni}});var i=t(84577);t(93632);var s=t(74848),o=t(96540),r=t(78258),a=t(52956),l=t(24930),d=t(17535),c=t(8756),u=t(41374),m=t(71893),p=t(55456);t(45336),t(23446),t(34678),t(91625),t(38263);var f=t(45619),v=t(88055),y=t.n(v),b=t(50926),h=t(38566),g=t(50613),A=t(60469),x=t(53199),C=t(96577);t(79936);var I=t(12163),T=t(82692),j=n=>{var e,t,i,r,{title:a,subtitle:l,iconClass:d,placeholder:c,requiredMessage:u,disabled:m}=n,p=(0,f.xW)(),{arrayDefaults:v,arrayDetails:y}=(0,o.useContext)(T.A),[h,g]=y||[],A=(0,b.xQ)(a);return(0,s.jsx)(I.A,{field:{title:a,subtitle:l,placeholder:null!=c?c:a,name:y?[h,g,A].join("."):A,iconClass:d,defaultValue:v?v[A]:void 0,ref:p.register({required:u}),errors:(y?[null==(i=p.errors[h])||null==(t=i[g])||null==(e=t[A])?void 0:e.message]:[null==(r=p.errors[A])?void 0:r.message]).filter(Boolean)},readOnly:m})},w=t(82119),N=n=>{var{title:e,subtitle:t,requiredMessage:i,spellCheckEnabled:r,className:a,disabled:l}=n,d=(0,f.xW)(),{arrayDefaults:c,arrayDetails:u}=(0,o.useContext)(T.A),[m,p]=u||[],v=(0,b.xQ)(e),y=u?[m,p,v].join("."):v;return(0,s.jsx)(f.xI,{control:d.control,name:y,defaultValue:c?c[v]:void 0,rules:{required:i},render:(n,i)=>{var o,c,f,y,{value:b,onChange:h,onBlur:g,name:A}=n,{invalid:x}=i;return(0,s.jsx)(I.A,{field:{title:e,subtitle:t,errors:(u?[null==(f=d.errors[m])||null==(c=f[p])||null==(o=c[v])?void 0:o.message]:[null==(y=d.errors[v])?void 0:y.message]).filter(Boolean)},children:(0,s.jsx)(w.A,{id:A,className:a,value:b,onChange:h,spellCheckEnabled:r,disabled:l})})}})},R=t(11943),_=t(77999),P=t(45170),k=t(73673),E=t(92739),D=n=>{var{className:e,toggleClassName:t,title:i,subtitle:r,disabled:a,visible:l=!0}=n,d=(0,f.xW)(),{arrayDefaults:c,arrayDetails:u}=(0,o.useContext)(T.A),[m,p]=u||[],v=(0,b.xQ)(i),y=(0,E.io)(i),h=u?[m,p,v].join("."):v;return("boolean"!=typeof l||l)&&("function"!=typeof l||l(u))?(0,s.jsx)(f.xI,{control:d.control,name:h,defaultValue:c?c[v]:void 0,render:(n,o)=>{var l,c,f,b,{value:h,onChange:g,onBlur:A,name:x}=n,{invalid:C}=o;return(0,s.jsx)(I.A,{className:e,field:{errors:(u?[null==(f=d.errors[m])||null==(c=f[p])||null==(l=c[v])?void 0:l.message]:[null==(b=d.errors[v])?void 0:b.message]).filter(Boolean)},children:(0,s.jsx)(k.A,{id:y,toggleClassName:null!=t?t:"toggle-".concat(y),label:i,subtitle:r,isChecked:h,onChange:()=>g(!h),disabled:a})})}}):null},$=t(96811),O=n=>{var{title:e,subtitle:t,placeholder:i,requiredMessage:r,rows:a,disabled:l}=n,d=(0,f.xW)(),{arrayDefaults:c,arrayDetails:u}=(0,o.useContext)(T.A),[m,p]=u||[],v=(0,b.xQ)(e);return(0,s.jsx)(f.xI,{control:d.control,name:u?[m,p,v].join("."):v,defaultValue:c?c[v]:void 0,rules:{required:r},render:(n,o)=>{var r,c,f,y,{value:b,onChange:h,onBlur:g,name:A}=n,{invalid:x}=o;return(0,s.jsx)(I.A,{field:{title:e,subtitle:t,errors:(u?[null==(f=d.errors[m])||null==(c=f[p])||null==(r=c[v])?void 0:r.message]:[null==(y=d.errors[v])?void 0:y.message]).filter(Boolean)},children:(0,s.jsx)($.A,{name:A,placeholder:null!=i?i:e,rows:a,value:b,onChange:h,onBlur:g,disabled:l})})}})},S=n=>{var{title:e,name:t,individualLabel:i="item",newItemDefault:o,readOnly:r,children:a,canRemoveItem:l}=n,d=(0,f.xW)(),c=null!=t?t:(0,b.xQ)(e),u=(0,E.io)(i),{fields:p,append:v,remove:y}=(0,f.jz)({control:d.control,name:c,keyName:"fieldId"});return(0,s.jsxs)(I.A,{field:{title:e,name:c},children:[p.map((n,e)=>{var t=!0;return"function"==typeof l?t=l([c,e]):"boolean"==typeof l&&(t=l),(0,s.jsxs)("div",{className:"d-flex flex-column mb-4 form-array-item ".concat(u,"-item"),children:[(0,s.jsx)("fieldset",{className:"pl-2",children:(0,s.jsx)(T.A.Provider,{value:{arrayDefaults:n,arrayDetails:[c,e]},children:a})}),!r&&t&&(0,s.jsx)("div",{className:"align-self-end",children:(0,s.jsxs)(A.A,{type:"button",className:"btn btn-danger btn-rounded align-self-end form-array-remove-button btn-remove-".concat(u),onClick:()=>y(e),children:["Remove ",i]})})]},n.fieldId)}),!r&&(0,s.jsxs)(A.A,{type:"button",className:"btn btn-secondary btn-rounded form-array-add-button btn-add-".concat(u),onClick:()=>v((0,m._)({},o)),children:["Add ",i]})]})},B=t(64763),L=t(17265);function q(){var n=(0,i._)(["\n query termsAndConditionsRevisionsForFormData(\n $business: ID!\n $policyId: ID\n ) {\n termsAndConditionsRevisions(business: $business, policyId: $policyId) {\n id\n policyId\n name\n tags\n status\n revisionNotes\n terms {\n id\n name\n content\n optional\n clientAttribute\n paymentPlanTypes\n }\n }\n }\n"]);return q=function(){return n},n}function F(){var n=(0,i._)(["\n query termsAndConditionsRevisionForViewRevision($business: ID!, $id: ID!) {\n termsAndConditionsRevision(business: $business, id: $id) {\n id\n policyId\n name\n tags\n status\n revisionNotes\n terms {\n id\n name\n content\n optional\n clientAttribute\n paymentPlanTypes\n }\n }\n }\n"]);return F=function(){return n},n}function V(){var n=(0,i._)(["\n mutation createTermsAndConditionsPolicy(\n $business: ID!\n $policyInput: TermsAndConditionsPolicyInput!\n ) {\n createTermsAndConditionsPolicy(\n business: $business\n policyInput: $policyInput\n ) {\n status\n error\n termsAndConditionsPolicy {\n business\n policyId\n name\n tags\n }\n termsAndConditionsRevision {\n id\n policyId\n name\n tags\n status\n revisionNotes\n terms {\n id\n name\n content\n optional\n clientAttribute\n paymentPlanTypes\n }\n }\n }\n }\n"]);return V=function(){return n},n}function Y(){var n=(0,i._)(["\n mutation updateTermsAndConditionsPolicy(\n $business: ID!\n $policyId: ID!\n $policyInput: TermsAndConditionsPolicyInput!\n ) {\n updateTermsAndConditionsPolicy(\n business: $business\n policyId: $policyId\n policyInput: $policyInput\n ) {\n status\n error\n updatedPolicy {\n business\n policyId\n name\n tags\n revisionCount\n latestCreatedAt\n latestVersionSubscriptionCount\n previousVersionsSubscriptionCount\n }\n updatedRevisions {\n id\n policyId\n name\n tags\n status\n revisionNotes\n terms {\n id\n name\n content\n optional\n clientAttribute\n paymentPlanTypes\n }\n }\n }\n }\n"]);return Y=function(){return n},n}var Q=(0,r.J1)(q()),z=(0,r.J1)(F()),J=(0,r.J1)(V()),M=(n,e)=>{var t;(null==(t=e.data.createTermsAndConditionsPolicy)?void 0:t.status)==="ok"&&(n.evict({id:"ROOT_QUERY",fieldName:"paginatedTermsAndConditionsPolicies"}),n.gc())},W=(0,r.J1)(Y()),U=(n,e)=>{var t;(null==(t=e.data.updateTermsAndConditionsPolicy)?void 0:t.status)==="ok"&&(n.evict({id:"ROOT_QUERY",fieldName:"termsAndConditionsRevisions"}),n.gc())},H=[{label:"Photo release",value:"CLIENT_ATTRIBUTE_PHOTO_RELEASE"}],G={name:"",tags:[],revisionNotes:"",advancedSettings:!1,terms:[{title:"",content:"<p></p>",optionalTerm:!1,clientAttribute:null,paymentPlanTypes:[],photoReleaseTerm:!1}]},K=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=y()(n);return t.tags=t.tags.map(_.hJ),(null==e?void 0:e.readOnly)||(null==n?void 0:n.status)===L.BT||(delete t.id,delete t.revisionNotes),e.duplicate&&(delete t.id,delete t.revisionNotes,t.name="Copy of ".concat(t.name)),t.advancedSettings=t.terms.some(n=>{var e;return(null==(e=n.paymentPlanTypes)?void 0:e.length)>0}),t.terms=t.terms.map(n=>{var e;return{title:n.name,content:n.content,optionalTerm:n.optional,clientAttribute:n.clientAttribute?H.find(e=>e.value===n.clientAttribute):null,photoReleaseTerm:"CLIENT_ATTRIBUTE_PHOTO_RELEASE"===n.clientAttribute,paymentPlanTypes:(null==(e=n.paymentPlanTypes)?void 0:e.length)?n.paymentPlanTypes.map(n=>P.GG.find(e=>e.value===n)):[]}}),t},X=n=>{var e,{update:t,duplicate:i,readOnly:r=!1,termsAndConditionsRevisionId:l,policyId:d,onDone:c,onPublish:v,onFormChange:y}=n,{name:I,photoReleaseEnabled:T}=(0,a.useSelector)(n=>n.app.business),{data:w,loading:_,error:P,refetch:k}=(0,g.A)({query:Q,variables:{business:I,policyId:d},processor:n=>n.termsAndConditionsRevisions,skip:!t&&!i,fetchPolicy:"network-only"}),{data:E,loading:$,error:q,refetch:F}=(0,g.A)({query:z,variables:{business:I,id:l},processor:n=>n.termsAndConditionsRevision,skip:!l||!r,fetchPolicy:"network-only"}),V=null==w?void 0:w[0],[Y,{loading:H}]=(0,h.A)(J,{update:M,successMessage:"Terms and conditions policy created",failureMessage:"Failed to create terms and conditions policy",processor:n=>{var e,t;return null==n||null==(t=n.data)||null==(e=t.createTermsAndConditionsPolicy)?void 0:e.termsAndConditionsPolicy}}),[X,{loading:Z}]=(0,h.A)(W,{update:U,successMessage:"Terms and conditions policy updated",failureMessage:"Failed to update terms and conditions policy"}),nn=H||Z,ne=(0,f.mN)({mode:"onBlur",defaultValues:G}),{reset:nt}=ne;(0,o.useEffect)(()=>{V&&nt(K(V,{duplicate:i,readOnly:r}))},[nt,r,i,V]),(0,o.useEffect)(()=>{E&&nt(K(E,{readOnly:r}))},[nt,r,E]);var ni=Object.keys(ne.formState.dirtyFields).length>0;(0,o.useEffect)(()=>{null==y||y(ni)},[ni,y]);var ns=Object.keys(ne.formState.dirtyFields).length>0,no=ne.watch("terms").every(n=>n.content&&!["<p></p>","<p><br></p>"].includes(n.content)),nr=ne.watch("name");if(_||$)return(0,s.jsx)(x.A,{size:"60"});if(P||q)return(0,s.jsx)(C.A,{message:"Failed to load (Click to retry)",onClick:()=>P?k():F()});e=i?"Create policy":(null==V?void 0:V.status)===L.BT?"Save draft":[L.oy,L.$n].includes(null==V?void 0:V.status)?"Create draft":"Create policy";var{formInvalid:na,invalidityReason:nl}=nr?no?i||ns?{formInvalid:!1,invalidityReason:void 0}:{formInvalid:!0,invalidityReason:"No changes to policy"}:{formInvalid:!0,invalidityReason:"All terms must have content"}:{formInvalid:!0,invalidityReason:"Policy must have a name"};return(0,s.jsx)(f.Op,(0,p._)((0,m._)({},ne),{children:(0,s.jsxs)("form",{id:"terms-and-conditions-policy-form",className:"d-flex flex-column",onSubmit:ne.handleSubmit((n,e)=>(0,u._)(function*(){var s=d;try{var o,r,a,l=(o={business:I,policyId:d},r={update:t},a={name:n.name,tags:n.tags.map(n=>n.value),revisionNotes:n.revisionNotes,terms:n.terms.map(n=>({id:(null==r?void 0:r.update)?n.id:void 0,name:n.title,content:n.content,optional:n.optionalTerm,clientAttribute:n.photoReleaseTerm?"CLIENT_ATTRIBUTE_PHOTO_RELEASE":null,paymentPlanTypes:(n.paymentPlanTypes||[]).map(n=>n.value)}))},(0,p._)((0,m._)({},o),{policyInput:a}));!t||i?s=(yield Y({variables:l})).policyId:yield X({variables:l}),c(),"submit-and-publish"===e.nativeEvent.submitter.id&&v({policyId:s})}catch(n){(0,b.Fk)(n)}})()),children:[(0,s.jsx)(j,{title:"Name",iconClass:"far fa-fw fa-heading",disabled:r}),(0,s.jsx)(R.A,{title:"Tags",iconClass:"far fa-fw fa-tags",isCreatable:!0,isMulti:!0,disabled:r}),(t||i||r)&&(0,s.jsx)(O,{title:"Revision notes",rows:5,disabled:r}),(0,s.jsxs)(S,{title:"Terms",individualLabel:"term",newItemDefault:G.terms[0],readOnly:r,canRemoveItem:n=>{var[,e]=n;return e>0},children:[(0,s.jsx)(j,{title:"Title",disabled:r,placeholder:"(optional) Title"}),(0,s.jsx)(N,{title:"Content",spellCheckEnabled:!0,disabled:r}),(0,s.jsx)(D,{title:"Optional term",subtitle:"Optional terms may be declined or ignored by the client and are not required to complete booking.",disabled:r,visible:n=>{var[,e]=n;return e>0}}),(0,s.jsx)(D,{title:"Photo release term",subtitle:"will automatically set preference for photo release in client profile",disabled:r,visible:n=>{var[e,t]=n,i=ne.watch(e),s=i[t];return i.splice(t,1),T&&(null==s?void 0:s.optionalTerm)&&!i.some(n=>n.photoReleaseTerm)}})]}),(0,s.jsxs)(B.A,{children:[!r&&(0,s.jsxs)(A.A,{type:"submit",id:"submit-and-publish",className:"btn btn-secondary btn-rounded",loading:nn,disabled:na,disabledReason:nl,children:[e," & publish"]}),!r&&(0,s.jsx)(A.A,{type:"submit",className:"btn btn-primary btn-rounded",loading:nn,disabled:na,disabledReason:nl,children:e})]})]})}))},Z=t(36596),nn=t(59769);function ne(){var n=(0,i._)(["\n query termsAndConditionsRevisionStatusQuery($business: ID!, $policyId: ID) {\n termsAndConditionsRevisions(\n business: $business\n policyId: $policyId\n limit: 1\n ) {\n id\n name\n status\n }\n }\n"]);return ne=function(){return n},n}var nt=(0,r.J1)(ne()),ni=n=>{var{toggle:e,termsAndConditionsRevisionId:t,policyId:i,update:r=!1,duplicate:u=!1,readOnly:m,onPublish:p}=n,f=(0,a.useSelector)(n=>n.app.business.name),[v,y]=(0,nn.A)(!1),[b,h]=(0,o.useState)(!1),{data:x,loading:C}=(0,g.A)({query:nt,variables:{business:f,policyId:i},processor:n=>{var e,t;return null==(t=n.termsAndConditionsRevisions)||null==(e=t[0])?void 0:e.status},skip:m||u||!r}),I=()=>{b&&!m?y():e()},T=(n=>{var{readOnly:e,duplicate:t,termsAndConditionsLatestRevisionStatus:i,loading:s}=n;return s?"Terms and conditions policy":e?"View terms and conditions policy":t?"Duplicate terms and conditions policy":i===L.BT?"Edit terms and conditions policy draft":[L.oy,L.$n].includes(i)?"Create terms and conditions policy draft":"Create terms and conditions policy"})({readOnly:m,duplicate:u,termsAndConditionsLatestRevisionStatus:x,loading:C});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(Z.A,{isOpen:!0,toggle:
1I,modalName:"terms-and-conditions-policy-form",size:"lg",children:[(0,s.jsx)(l.A,{toggle:I,children:T}),(0,s.jsx)(d.A,{children:(0,s.jsx)(X,{update:r,duplicate:u,readOnly:m,termsAndConditionsRevisionId:t,policyId:i,onDone:()=>{e()},onPublish:p,onFormChange:n=>{h(n)}})})]}),v&&(0,s.jsxs)(Z.A,{isOpen:!0,toggle:y,modalName:"discard-confirmation",children:[(0,s.jsx)(l.A,{toggle:y,children:"Discard Draft?"}),(0,s.jsx)(d.A,{children:(0,s.jsx)("p",{children:"Are you sure you want to discard this draft? All changes will be lost."})}),(0,s.jsxs)(c.A,{children:[(0,s.jsx)(A.A,{className:"btn btn-rounded btn-secondary",onClick:y,children:"Continue Editing"}),(0,s.jsx)(A.A,{className:"btn btn-rounded btn-danger btn-discard",onClick:e,children:"Discard Draft"})]})]})]})}},17265:function(n,e,t){t.d(e,{$n:function(){return o},BT:function(){return i},oy:function(){return s}});var i="draft",s="active",o="inactive"}}]); 2//# sourceMappingURL=19779.9d142ceb.js.map
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.