PageSourceSearch

https://www.empara.fr/_next/static/chunks/pages/my/telechargements-dc58909a2a74e960.js

js empara.fr collected 2026-09-28 06:41:40 UTC 12,927 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[395,1553,1870,3235,7168,9207],{4281:(e,t,n)=>{"use strict";n.d(t,{B_:()=>m,Et:()=>f,Fv:()=>g,KY:()=>c,XX:()=>p,Yq:()=>s,dF:()=>u,eb:()=>_,fi:()=>h,jg:()=>y,tV:()=>d,ts:()=>v});var r=n(37876),i=n(28238),a=n(99916),o=n.n(a);n(29454);var l=n(65364);!l.env.URL_API||l.env.URL_API.includes("staging")||l.env.URL_API.includes("localhost")||l.env.URL_API.includes("mbp-clem.local");let s=e=>e?(function(e){return e.substring(0,e.indexOf("T")).split("-").reverse().join("-")})(e).replace(/-/g,"/"):null,c=e=>{let t=e.getUTCHours(),n=e.getUTCMinutes();return n?"".concat(t,"h").concat(String(n).padStart(2,"0")):"".concat(t,"h")},u=["Jan","F\xe9v","Mars","Avr","Mai","Juin","Juil","Ao\xfbt","Sept","Oct","Nov","D\xe9c"],d=e=>e&&void 0!==e?"trial"===e?"trial":"sub"===e||"admin"===e?"sub":"user":"newAccount",v=(e,t)=>{if(!e||!t)return null;let n=new Date(e);return Math.ceil((new Date(t)-n)/864e5)},h=(e,t)=>{var n=new Date(e);function r(e){return e<10?"0"+e:e}return n.setDate(n.getDate()+t),[r(n.getDate()),r(n.getMonth()+1),n.getFullYear()].join("/")},f=(e,t)=>"5"===e?[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,r.jsx)(i.A,{className:o().SVGRed},t)):"red"===t?[void 0,void 0,void 0,void 0,void 0].map((t,n)=>(0,r.jsx)(i.A,{className:n<e?o().SVGRed:o().Empty},n)):[void 0,void 0,void 0,void 0,void 0].map((t,n)=>(0,r.jsx)(i.A,{className:n<e?o().Filled:o().Empty},n)),p=e=>e?new Date(e).toLocaleDateString("fr-FR",{year:"numeric",month:"long",day:"numeric"}):null,g=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"Utilisateur",m=()=>{let e=document.querySelector("iframe"),t=null==e?void 0:e.parentElement;if(!e)return;let n=window.innerWidth,r=window.innerHeight;n/r>2?r=n/2:n=2*r,e.style.height="".concat(r,"px"),t.style.height="auto"},y=e=>{if(!(null==e?void 0:e.includes("kinescope.io")))return e;let t=e.match(/https:\/\/kinescope\.io\/([a-zA-Z0-9_-]+)\/master\.m3u8/);return t?t[1]:null},_=e=>{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})}},8353:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]])},8685:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]])},9504:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(14232);function i(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var o=["children","onClickAway","focusEvent","mouseEvent","touchEvent"],l={click:"onClick",focusin:"onFocus",focusout:"onBlur",mousedown:"onMouseDown",mouseup:"onMouseUp",touchstart:"onTouchStart",touchend:"onTouchEnd"},s=parseInt(r.version.split(".")[0],10),c=function(e){var t=e.children,n=e.onClickAway,c=e.focusEvent,u=void 0===c?"focusin":c,d=e.mouseEvent,v=void 0===d?"click":d,h=e.touchEvent,f=void 0===h?"touchend":h,p=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,o),g=(0,r.useRef)(null),m=(0,r.useRef)(null),y=(0,r.useRef)(!1);(0,r.useEffect)(function(){return setTimeout(function(){y.current=!0},0),function(){y.current=!1}},[]);var _,k=function(e){return function(n){m.current=n.target;var r=null==t?void 0:t.props[e];r&&r(n)}},b=null;s>=19?b=(null==(_=t.props)?void 0:_.ref)||null:"ref"in t&&(b=t.ref);
1var w,A=(w=[g,b],function(e){w.forEach(function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)})});(0,r.useEffect)(function(){var e,t,r=null!=(e=null==(t=g.current)?void 0:t.ownerDocument)?e:document,i=function(e){y.current&&(g.current&&g.current.contains(e.target)||m.current===e.target||!r.contains(e.target)||n(e))};return r.addEventListener(v,i),r.addEventListener(f,i),r.addEventListener(u,i),function(){r.removeEventListener(v,i),r.removeEventListener(f,i),r.removeEventListener(u,i)}},[u,v,n,f]);var j=l[v],R=l[f],x=l[u];return r.Children.only((0,r.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}(i(i(i({ref:A},x,k(x)),j,k(j)),R,k(R)),p)))};c.displayName="ClickAwayListener"},14712:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/my/telechargements",function(){return n(80184)}])},21355:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},28238:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(37876);n(14232);let i=e=>{let{className:t,onClick:n,isBlack:i}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,onClick:n,viewBox:"0 0 12 12",children:(0,r.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,r.jsx)("g",{fill:"none",fillRule:"nonzero",transform:"translate(-933 -638)",children:(0,r.jsx)("g",{transform:"translate(879 638)",children:(0,r.jsx)("g",{transform:"translate(54)",children:(0,r.jsx)("path",{fill:i?"#000000":t?"":"#ffffff",d:"M11.572 4.27l-3.54-.514L6.448.548a.521.521 0 00-.9 0l-1.58 3.208-3.54.514a.5.5 0 00-.277.853l2.562 2.5-.606 3.526a.5.5 0 00.726.527L6 10.008l3.167 1.665a.5.5 0 00.726-.527L9.287 7.62l2.562-2.5a.5.5 0 00-.277-.853v.003z"})})})})})})}},29053:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},36156:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(14232);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 11.25v8.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 1 0 9.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1 1 14.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))})},37252:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(14232);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"}))})},45290:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(14232);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5
1h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))})},46293:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},53038:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},63906:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},64041:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},66273:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("list-music",[["path",{d:"M21 15V6",key:"h1cx4g"}],["path",{d:"M18.5 18a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",key:"8saifv"}],["path",{d:"M12 12H3",key:"18klou"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M12 18H3",key:"11ftsu"}]])},68693:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},80184:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>d,default:()=>v});var r=n(37876);n(14232);var i=n(77328),a=n.n(i),o=n(18847),l=n.n(o),s=n(82786),c=n(59978);let u=l()(()=>Promise.all([n.e(4001),n.e(8499),n.e(5219),n.e(9553),n.e(9628)]).then(n.bind(n,9628)),{loadableGenerated:{webpack:()=>[9628]},ssr:!1});var d=!0;function v(e){let{user:t,nextLives:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a(),{children:[(0,r.jsx)("title",{children:"Mes T\xe9l\xe9chargements — Mode Hors-Ligne | Empara"}),(0,r.jsx)("meta",{name:"description",content:"Consultez vos cours t\xe9l\xe9charg\xe9s et continuez votre apprentissage sans connexion Internet."})]}),(0,r.jsx)(s.default,{user:t,isBlack:!0,nextLives:n}),(0,r.jsx)("main",{className:"min-h-screen bg-em-app font-sans",children:(0,r.jsx)(u,{user:t})}),(0,r.jsx)(c.A,{})]})}}
1,87552:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var r=n(14232),i=n(81285);function a(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},99916:e=>{e.exports={red:"Rating_red__MmzeE","bg-red":"Rating_bg-red__wMAuY",background:"Rating_background__VPPar",radius:"Rating_radius__PcfT5",Container:"Rating_Container__LJHwV",Title:"Rating_Title__peEox",Subtitle:"Rating_Subtitle__Dkph2",Ratings:"Rating_Ratings__R4tV8",Button:"Rating_Button__zwUtO",Rating:"Rating_Rating__XQXAx",Top:"Rating_Top__78Vdb",Stars:"Rating_Stars__nneRB",Filled:"Rating_Filled__pK89z",Empty:"Rating_Empty__UTuhD",SVGRed:"Rating_SVGRed__lsP6i",Wording:"Rating_Wording__Kk8v0",Line:"Rating_Line__bR4ur",LineGrey:"Rating_LineGrey__ylpUs",LineRed:"Rating_LineRed__rlBfD"}}},e=>{e.O(0,[3560,706,4587,8359,1472,3474,5948,188,2786,5119,9978,636,6593,8792],()=>e(e.s=14712)),_N_E=e.O()}]);

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.