PageSourceSearch

https://www.willfitness.id/assets/PSDPinGenerator-CrEynHxo.js

js willfitness.id collected 2026-09-24 13:51:39 UTC 9,165 bytes, 4 lines download raw bytes

1import{u as S,r as a,j as e,m as l,g as A,bp as i}from"./index-NPOBYjPA.js";import{a as p,b as D}from"./pinGenerator-5CZraNki.js";import{C as b,b as u,c as g,d as f,a as F}from"./card-BojpQPBq.js";import{B as r}from"./button-CTBRpJXq.js";import{I as M}from"./input-gNqZb-zD.js";import{H as j}from"./Header-nozdegCx.js";import{S as v}from"./SEOHead-DKFKHnNi.js";import{u as L}from"./useContentProtection-Bbl5B-YU.js";import{C as N}from"./chevron-left-EfWmHPKD.js";import{A as R}from"./activity-Ct3y_yOz.js";import{C as T}from"./clock-DtVfY_sv.js";import{C as E}from"./copy-LFM227lR.js";import{A as H}from"./arrow-right-BVIK4FfV.js";import"./index-QSG77vld.js";import"./SmartForm-DOL3z78_.js";import"./label-wdSDwto7.js";import"./checkbox-D6XnQAfq.js";import"./index-DnCZR6zi.js";import"./check-CJddzkrh.js";import"./useLocationsData-ktGpr3Gx.js";import"./locations-BpQ-72a-.js";import"./User-CrGecKZ2.js";import"./_rollupPluginBabelHelpers-3bc641ae-BvzpwIKU.js";import"./index-Xr3cZF6o.js";import"./ArrowDown2-B2trZigl.js";import"./Location-D4JeYfFD.js";import"./map-pin-CCzkGzYa.js";const n=[{name:"Customer Service",short:"CS",color:"text-blue-600",bg:"bg-blue-50/50",border:"border-blue-100"},{name:"Fitness Consultant",short:"FC",color:"text-amber-600",bg:"bg-amber-50/50",border:"border-amber-100"},{name:"Personal Trainer",short:"PT",color:"text-red-600",bg:"bg-red-50/50",border:"border-red-100"},{name:"Sales Manager",short:"SM",color:"text-purple-600",bg:"bg-purple-50/50",border:"border-purple-100"},{name:"Fitness Manager",short:"FM",color:"text-emerald-600",bg:"bg-emerald-50/50",border:"border-emerald-100"}],me=()=>{L();const c=S(),[d,w]=a.useState({}),[y,m]=a.useState(""),[k,x]=a.useState(!1),[h,C]=a.useState(""),o=()=>{const s={};n.forEach(t=>{s[t.name]=D(t.name)}),w(s),m(p("WIB"))};a.useEffect(()=>{o();const s=setInterval(()=>{m(p("WIB"))},1e3),t=setInterval(()=>{o()},6e4);return()=>{clearInterval(s),clearInterval(t)}},[]);const I=(s,t)=>{navigator.clipboard.writeText(s),i.success(`PIN ${t} disalin!`)},P=s=>{s.preventDefault(),h==="00000"?(x(!0),i.success("Akses diberikan")):i.error("Password salah")};return k?e.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-slate-50 to-blue-50/30 flex flex-col font-sans",children:[e.jsx(v,{title:"PSD PIN Generator - Will Fitness",noIndex:!0}),e.jsx(j,{}),e.jsx("main",{className:"flex-1 container mx-auto p-4 py-8",children:e.jsxs(l.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"space-y-6 max-w-4xl mx-auto",children:[e.jsx(b,{className:"shadow-2xl shadow-slate-200/50 border-0 ring-1 ring-slate-200/60 bg-white/80 backdrop-blur-xl overflow-hidden rounded-2xl relative mb-8",children:e.jsx(u,{className:"pb-6 pt-6 px-6",children:e.jsxs("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-6",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(r,{variant:"ghost",size:"icon",onClick:()=>x(!1),className:"h-10 w-10 shrink-0 rounded-full bg-slate-50 hover:bg-slate-100 text-slate-500 hover:text-slate-900 transition-colors border border-slate-100",children:e.jsx(N,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx(g,{className:"text-lg font-bold text-slate-900 leading-tight",children:"PSD PIN Generator"}),e.jsxs(f,{className:"text-slate-500 text-xs mt-0.5 flex items-center gap-1.5",children:[e.jsx(R,{className:"w-3 h-3 text-emerald-500"}),"Update otomatis setiap 2 jam"]})]})]}),e.jsxs("div",{className:"flex items-center gap-3 px-4 py-2 bg-slate-50 rounded-xl border border-slate-100/80 shadow-inner",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-0 bg-blue-400 rounded-full animate-ping opacity-20"}),e.jsx(T,{className:"w-4 h-4 text-blue-600 relative z-10"})]}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"text-[10px] font-bold text-slate-400 uppercase tracking-wider leading-none mb-0.5",children:"Reset Dalam"}),e.jsx("span",{className:"font-mono font-bold text-slate-700 text-sm leading-none",children:y})]})]})]})})}),e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:[n.map((s,t)=>e.jsx(l.div,{initial:{opacity:0,scale:.95}
1,animate:{opacity:1,scale:1},transition:{delay:t*.05},children:e.jsxs("div",{className:`
2                  group relative flex flex-col justify-between p-6 rounded-2xl border transition-all duration-300
3                  bg-white hover:shadow-xl hover:shadow-slate-200/50 border-slate-100 hover:border-slate-200
4                `,children:[e.jsx("div",{className:"flex justify-between items-start mb-5",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:`w-10 h-10 rounded-xl flex items-center justify-center text-sm font-bold shadow-sm ${s.bg} ${s.color} ring-1 ring-inset ring-black/5`,children:s.short}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-bold text-slate-800 leading-tight",children:s.name}),e.jsxs("p",{className:"text-[10px] text-slate-400 font-medium mt-0.5",children:["Kode Divisi: ",s.short]})]})]})}),e.jsxs("div",{onClick:()=>I(d[s.name],s.name),className:"relative overflow-hidden flex items-center justify-between bg-slate-50 p-3 rounded-xl border border-slate-100 group-hover:border-blue-200 group-hover:bg-blue-50/30 transition-all cursor-pointer",title:"Klik untuk menyalin PIN",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"text-[9px] text-slate-400 font-bold uppercase tracking-widest mb-0.5",children:"PIN Akses"}),e.jsx("span",{className:"text-xl font-mono font-bold text-slate-900 tracking-[0.2em] select-all",children:d[s.name]||"......"})]}),e.jsx(r,{size:"icon",variant:"ghost",className:"h-9 w-9 text-slate-400 hover:text-blue-600 hover:bg-white rounded-lg transition-all shadow-sm",children:e.jsx(E,{className:"w-4 h-4"})})]})]})},s.name)),e.jsx(l.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{delay:n.length*.05},children:e.jsxs("div",{onClick:()=>c("/modul-psd"),className:"group flex flex-col justify-center items-center p-6 rounded-2xl border-2 border-dashed border-slate-200 hover:border-blue-400 bg-transparent hover:bg-blue-50/20 cursor-pointer h-full transition-all duration-300",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-white border border-slate-200 flex items-center justify-center text-slate-400 group-hover:text-blue-600 group-hover:border-blue-200 group-hover:scale-110 transition-all shadow-sm mb-3",children:e.jsx(H,{className:"w-5 h-5"})}),e.jsx("p",{className:"text-sm font-bold text-slate-600 group-hover:text-blue-700 transition-colors",children:"Akses Modul PSD"}),e.jsx("p",{className:"text-[10px] text-slate-400 mt-1",children:"Halaman Login User"})]})})]}),e.jsx("div",{className:"flex justify-center mt-12 pb-8",children:e.jsxs(r,{variant:"outline",onClick:o,className:"bg-white border-slate-200 text-slate-600 hover:bg-slate-50 hover:text-slate-900 shadow-sm rounded-xl px-6",children:[e.jsx(A,{className:"w-4 h-4 mr-2"}),"Force Refresh PIN"]})})]})})]}):e.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-slate-50 to-blue-50/30 flex flex-col font-sans",children:[e.jsx(v,{title:"PSD Admin Access - Will Fitness",noIndex:!0}),e.jsx(j,{}),e.jsx("main",{className:"flex-1 flex flex-col items-center justify-center p-4",children:e.jsx(l.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"w-full max-w-[380px] space-y-6",children:e.jsxs(b,{className:"shadow-2xl shadow-slate-200/50 border-0 ring-1 ring-slate-200/60 bg-white/80 backdrop-blur-xl overflow-hidden rounded-2xl relative",children:[e.jsx(u,{className:"pb-6 pt-6 px-6",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(r,{variant:"ghost",size:"icon",onClick:()=>c("/"),className:"h-10 w-10 shrink-0 rounded-full bg-slate-50 hover:bg-slate-100 text-slate-500 hover:text-slate-900 transition-colors border border-slate-100",children:e.jsx(N,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx(g,{className:"text-lg font-bold text-slate-900 leading-tight",children:"PSD Admin"}),e.jsx(f,{className:"text-slate-500 text-xs mt-0.5",children:"Akses terbatas manager."})]})]})}),e.jsx(F,{className:"pb-8 px-8 pt-2",children:e.jsxs("form",{onSubmit:P,className:"space-y-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx("div",{className:"relative flex justify-center",children:e.jsx(M,{t
4ype:"password",placeholder:"• • • • •",value:h,onChange:s=>C(s.target.value),className:"text-center tracking-[0.8em] text-xl font-bold h-14 w-full border-slate-200 focus:border-blue-500 focus:ring-4 focus:ring-blue-500/10 bg-slate-50/50 hover:bg-white transition-all rounded-xl shadow-sm placeholder:tracking-widest",autoFocus:!0,maxLength:5})}),e.jsx("p",{className:"text-center text-[10px] text-slate-400 font-medium uppercase tracking-wider",children:"Masukkan 5 Digit PIN Admin"})]}),e.jsx(r,{type:"submit",className:"w-full h-12 bg-slate-900 hover:bg-slate-800 text-white font-medium rounded-xl shadow-lg shadow-slate-900/20 transition-all hover:scale-[1.02] active:scale-[0.98]",children:"Masuk Generator"})]})})]})})})]})};export{me 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.