PageSourceSearch

https://app.keepitdeveloped.com/_nuxt/CWlBRf51.js

js keepitdeveloped.com collected 2026-10-07 05:25:01 UTC 4,496 bytes, 1 lines download raw bytes

1import{_ as A,b as P,E as B,a as $}from"./BcBA5O-B.js";import{L as D}from"./DKnVlrqI.js";import{_ as L}from"./BwjYxuvJ.js";import{by as T,Q as b,bH as V,bt as N,a6 as W,aP as z,ad as o,ae as p,af as e,at as r,al as E,aj as M,X as y,an as v,aa as h,b2 as H,ab as U,ag as d,_ as a,ay as m,aE as j,ai as R,bI as Q}from"./_bd3b3S-.js";import"./nytMcoDo.js";import"./B84mPffm.js";import"./DRc_4s3G.js";import"./B04kJqYx.js";import"./DKnE8mdl.js";import"./CoWXjN-F.js";import"./BvTg81wh.js";import"./CmLRHuQM.js";import"./CIl_wOOn.js";import"./ChPq0GiH.js";/* empty css        *//* empty css        */const X=T("/android-chrome-192x192.png"),q={key:0,class:"fixed bottom-4 right-4 z-50 max-w-sm"},F={class:"bg-white dark:bg-gray-800 rounded-lg shadow-lg border border-gray-200 dark:border-gray-700 p-4"},G={class:"flex items-start space-x-3"},J={class:"flex-1 min-w-0"},K={class:"flex space-x-2 mt-3"},O=["disabled"],Y={key:0,class:"animate-spin -ml-1 mr-1 h-3 w-3 text-white",fill:"none",viewBox:"0 0 24 24"},Z=b({__name:"PWAInstallPrompt",setup(w){const{isInstallable:s,isInstalled:f,isStandalone:n,installPWA:i}=V(),{isSupported:g,isSubscribed:_}=N(),l=y(!1),u=y(!1),k=y(Date.now()),C=v(()=>{if(f.value||n.value||u.value||!s.value||Date.now()-k.value<5e3||g.value&&_.value||h("accountType").value==="employee"||window.location.pathname.startsWith("/employee"))return!1;{const t=localStorage.getItem("pwa_prompt_last_shown");if(t){const S=parseInt(t,10);if(Date.now()-S<1440*60*1e3)return!1}}return!0}),I=async()=>{l.value=!0;try{await i()&&(u.value=!0)}catch(c){console.error("Installation failed:",c)}finally{l.value=!1}},x=()=>{u.value=!0,sessionStorage.setItem("pwa-install-dismissed","true")};return W(()=>{sessionStorage.getItem("pwa-install-dismissed")==="true"&&(u.value=!0)}),z(()=>{}),(c,t)=>C.value?(o(),p("div",q,[e("div",F,[e("div",G,[t[4]||(t[4]=e("div",{class:"flex-shrink-0"},[e("img",{src:X,alt:"App Icon",class:"w-12 h-12 rounded-lg"})],-1)),e("div",J,[t[1]||(t[1]=e("h3",{class:"text-sm font-semibold text-gray-900 dark:text-white"}," Install App ",-1)),t[2]||(t[2]=e("p",{class:"text-sm text-gray-600 dark:text-gray-300 mt-1"}," Install our app for a better experience with push notifications and faster loading. ",-1)),e("div",K,[e("button",{disabled:l.value,class:"inline-flex items-center px-3 py-1.5 border border-transparent text-xs font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed",onClick:I},[l.value?(o(),p("svg",Y,[...t[0]||(t[0]=[e("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),e("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1)])])):r("",!0),E(" "+M(l.value?"Installiere...":"Installieren"),1)],8,O),e("button",{class:"inline-flex items-center px-3 py-1.5 border border-gray-300 dark:border-gray-600 text-xs font-medium rounded-md text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",onClick:x}
1," Später ")])]),e("button",{class:"flex-shrink-0 text-gray-400 hover:text-gray-600 dark:hover:text-gray-300",onClick:x},[...t[3]||(t[3]=[e("svg",{class:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])])])])):r("",!0)}}),ee=H(Z,[["__scopeId","data-v-44f69e6a"]]),te={class:"md:py-10 mt-24 lg:mt-0"},se={class:"px-4 sm:px-6 lg:px-8"},_e=b({__name:"default",setup(w){const s=h("customerCompany"),f=h("customerData"),n=v(()=>!!f.value),i=v(()=>!s.value||!s.value.user?!1:s.value.user.access_disabled&&s.value.user.role!=="owner"||s.value.status.toLowerCase()==="archived"||s.value.status.toLowerCase()==="suspended");return U({htmlAttrs:{class:"h-[100vh] bg-white"},bodyAttrs:{class:"h-[100vh]"}}),(g,_)=>(o(),p("div",null,[d(D),a(i)?(o(),m(A,{key:0,"customer-company":a(s)},null,8,["customer-company"])):r("",!0),!a(i)&&a(n)?(o(),m(P,{key:1})):r("",!0),d(L),a(i)?r("",!0):(o(),p("div",{key:2,class:j({"lg:pl-72":a(n)})},[e("main",te,[e("div",se,[a(n)?(o(),m(B,{key:0,class:"lg:-mt-4"})):r("",!0),a(n)?(o(),m($,{key:1})):r("",!0),R(g.$slots,"default")])]),d(Q)],2)),d(ee)]))}});export{_e 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.