1import{p as e,F as s,_ as t}from"../chunks/chunk-88c95c62.js";import{_ as n}from"../chunks/chunk-1b428a4d.js";import{o,c as r,Y as a,a1 as i,p as u,X as c,a6 as l,d as p,a0 as h,e as d,F as k,Z as m}from"../chunks/chunk-c66576e6.js";import"../chunks/chunk-eabcc62c.js";import{f as v,r as w,t as y,g,a as b}from"../chunks/chunk-511a74e5.js";import"../chunks/chunk-34c19c5c.js";import"../chunks/chunk-106e1760.js";import"../chunks/chunk-6e78ded2.js";import"../chunks/chunk-76e6b2d7.js";import"../chunks/chunk-3780ceb2.js";import"../chunks/chunk-cf435ec0.js";import"../chunks/chunk-c186b690.js";import"../chunks/chunk-057345b1.js";import"../chunks/chunk-6d36bd74.js";import"../chunks/chunk-80157d05.js";import"../chunks/chunk-9bb82596.js";import"../chunks/chunk-0e8b5f88.js";import"../chunks/chunk-db2f9d69.js";import"../chunks/chunk-0036ce92.js";import"../chunks/chunk-8e08fe3c.js";const x={},f={class:"bg-primary-50 border border-primary-300 rounded-[5px] px-[20px] py-[16px] mb-[40px] xs:mb-[24px]"},j=[a("p",{class:"text-subtitle-3 text-grey-900"},"Preview mode",-1),a("p",{class:"text-body-4 text-grey-700 mt-[6px]"},[i(" This page shows unpublished release contents marked as "),a("strong",null,"Preview"),i(" in CLOver Admin. It is not indexed by search engines and is not visible on the public features page until the release is set to Live. ")],-1)];const P=n(x,[["render",function(e,s){return o(),r("div",f,j)}]]);async function C(t){var n,o;const r=e(null==(o=null==(n=t.urlParsed)?void 0:n.search)?void 0:o[s]),{featureData:a,patchNotesByVersion:i}=await v({targetRegion:w(t),lang:y(t.locale)},{deps:{getSwReleaseList:g,getSwReleaseFeatures:b},showPreview:!0,onlyVersion:r}),u=a[0]??null;return{pageContext:{documentProps:{title:u?`${u.version} Preview`:"Software Release Preview",description:"Internal preview of unpublished CLO software release contents.",robots:"noindex, nofollow"},layoutProps:{noHeader:!0,noFooter:!0,noOverlay:!0},pageProps:l({lang:t.locale,feature:u,patchNotes:u?i[u.version]??[]:[],requestedVersion:r??null})}}}const L={class:"container py-[40px] xs:py-[24px]"},O={key:1,class:"text-body-3 text-grey-700 text-center py-[80px]","data-testid":"preview-empty"},D=p({__name:"index.page",props:{lang:{},feature:{},patchNotes:{},requestedVersion:{}},setup:e=>((()=>{const e=()=>{var e,s,t;null==(s=null==(e=window.Cookiebot)?void 0:e.hide)||s.call(e),null==(t=document.getElementById("CybotCookiebotDialog"))||t.style.setProperty("display","none","important")};let s;u(()=>{e(),window.addEventListener("CookiebotOnDialogInit",e),window.addEventListener("CookiebotOnDialogDisplay",e),s=new MutationObserver(e),s.observe(document.body,{childList:!0})}),c(()=>{null==s||s.disconnect(),window.removeEventListener("CookiebotOnDialogInit",e),window.removeEventListener("CookiebotOnDialogDisplay",e)})})(),(e,s)=>(o(),r("div",L,[h(P),e.feature?(o(),d(t,{key:0,feature:e.feature,"patch-notes":e.patchNotes,lang:e.lang},null,8,["feature","patch-notes","lang"])):(o(),r("p",O,[e.requestedVersion?(o(),r(k,{key:0},[i(" Version "+m(e.requestedVersion)+" is not marked as Preview. Turn on its Preview switch in CLOver Admin > Software Automation, then reload this page. ",1)],64)):(o(),r(k,{key:1},[i(" No release is currently marked as Preview. Turn on the Preview switch for a release in CLOver Admin > Software Automation, then reload this page. ")],64))]))])))});export{D as default,C as onBeforeRender};
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.