module.exports=[69770,a=>{"use strict";a.s(["default",()=>j],69770);var b=a.i(87924),c=a.i(93816),d=a.i(32886),e=a.i(42343);function f(a){return(0,e.GenIcon)({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z",fill:"currentColor"},child:[]}]})(a)}var g=a.i(46271),h=a.i(46964),i=a.i(96221);let j=()=>{let a="ar"===(0,d.useLocale)(),{data:e,isLoading:j,isError:k}=(0,h.useGetPage)("privacy-policy");return(0,b.jsxs)(g.motion.section,{initial:{opacity:0,y:25},animate:{opacity:1,y:0},transition:{duration:.6},className:"w-full h-auto p-5 border border-gray-100 bg-white shadow-sm my-10 rounded-xl",dir:a?"rtl":"ltr",children:[(0,b.jsx)(c.default,{text:e?.title||"...",children:(0,b.jsx)(f,{})}),j&&(0,b.jsxs)("div",{className:"flex items-center justify-center py-10 text-gray-500",children:[(0,b.jsx)(i.Loader2,{className:"animate-spin mr-2"})," جاري تحميل المحتوى..."]}),k&&(0,b.jsx)("div",{className:"text-center text-red-500 py-10",children:"حدث خطأ أثناء تحميل الصفحة."}),!j&&!k&&(0,b.jsx)(g.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.3,duration:.6},className:"w-full h-auto p-6 bg-gray-50 my-10 rounded-2xl overflow-y-auto max-h-[70vh] custom-scrollbar",children:(0,b.jsx)("p",{className:`leading-8 text-gray-700 whitespace-pre-line ${a?"text-right":"text-left"}`,children:e?.content||"لا يوجد محتوى متاح حاليًا."})})]})}}];

//# sourceMappingURL=src_app_%5Blocale%5D_%28%29_user_terms_page_tsx_c913736b._.js.map