1import{PageSubElementModel as o}from"./uIVzBVq8.js";import{t as a}from"./CATxlt2j.js";import"./CXTOca8g.js";import"./0xmjySIm.js";class c extends o{constructor(i="root",e){super(i,e),this.widgetName="Segmentation",this.icon={icon:"account",pack:"fan"},this.pseudoWidgetType="subWidget",this.buildContentFields=()=>{const{fetchSegments:s}=useSegmentationStore();return[{heading:"Logic",type:"repeater",attributeKey:["segmentation","logicBlocks","0","conditions"],maxItems:1,itemSchema:{logic:{segment:"all-users",visibility:"show"}},options:[{heading:"Show / Hide",type:"select",items:[{name:"Show",id:"show"},{name:"Hide",id:"hide"}],attributeKey:["logic","visibility"]},{heading:"User Segment",type:"select",items:s().then(n=>[{name:"All Users",id:"all-users"},{name:"Logged In",id:"logged-in"},{name:"Logged Out",id:"logged-out"},...n.map(t=>({name:t.attributes.name,id:t.id}))]),attributeKey:["logic","segment"]}]}]},this.getSidebarTabs=()=>[{name:"Layout",disabled:!0},{name:"Content",fields:this.buildContentFields(),default:!0},{name:"Style",disabled:!0}],Object.assign(this,a(e))}}export{c 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.