PageSourceSearch

https://www.mediatheque-rueilmalmaison.fr/appstatic/js/4025.9b910dc9c19688bb0eff.chunk.js

js mediatheque-rueilmalmaison.fr collected 2026-09-24 23:45:48 UTC 35,168 bytes, 1 lines download raw bytes

1(self.webpackChunkmondoin_mobile_ui=self.webpackChunkmondoin_mobile_ui||[]).push([[4025],{48921:(e,t,n)=>{"use strict";var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n(67154)),a=r(n(59713)),i=r(n(6479)),l=r(n(67294)),u=(r(n(45697)),r(n(94184))),c=(n(93142),r(n(78252))),s=n(98741),f=function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}};function p(e){var t,n=e.classes,r=e.className,c=e.color,f=e.component,p=e.disableGutters,d=e.disableSticky,y=e.inset,m=(0,i.default)(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return l.default.createElement(f,(0,o.default)({className:(0,u.default)(n.root,(t={},(0,a.default)(t,n["color".concat((0,s.capitalize)(c))],"default"!==c),(0,a.default)(t,n.inset,y),(0,a.default)(t,n.sticky,!d),(0,a.default)(t,n.gutters,!p),t),r)},m))}t.styles=f,p.defaultProps={color:"default",component:"li",disableGutters:!1,disableSticky:!1,inset:!1},p.muiName="ListSubheader";var d=(0,c.default)(f,{name:"MuiListSubheader"})(p);t.default=d},52781:(e,t,n)=>{"use strict";var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var o=r(n(48921))},25650:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r,o,a=n(67294),i=n.n(a),l=n(45697),u=n.n(l),c=n(56261),s=n(68821);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var h=(0,c.D2)((function(e){return{noResult:{padding:"16px",textAlign:"center",fontSize:"1.6rem"}}}))((o=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(a,e);var t,n,r,o=m(a);function a(){return p(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.message,n=e.classes;return i().createElement(s.default,{className:n&&n.noResult},t)}}])&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(i().Component),o.propTypes={classes:u().object,message:u().string.isRequired},o.defaultProps={message:""},r=o))||r},91511:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r,o,a=n(67294),i=n.n(a),l=n(45697),u=n.n(l),c=n(30866),s=n(56261);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
1function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var h=(0,s.D2)((function(e){return{circularProcessWrapper:{position:"absolute",top:0,left:0,width:"100%",minHeight:"200px",zIndex:"1000"},circularProcess:{position:"absolute",top:70,left:"50%",marginLeft:"-30px"},accessibilityHiddenHeaders:{display:"none"}}}))(r=(0,s.XN)((o=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(a,e);var t,n,r,o=m(a);function a(){return p(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.classes,n=e.size,r=e.intl.formatMessage;return i().createElement("div",{className:t.circularProcessWrapper},i().createElement("h2",{className:t.accessibilityHiddenHeaders},r({id:"Accessibility.LoadingDataProcess",defaultMessage:"Loading data"})),i().createElement(c.default,{className:t.circularProcess,size:n}))}}])&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Component),o.propTypes={intl:s.gm,classes:u().object,size:u().number},o.defaultProps={size:60},r=o))||r)||r},67118:(e,t,n)=>{"use strict";n.d(t,{Z:()=>L});var r,o,a=n(67294),i=n.n(a),l=n(45697),u=n.n(l),c=n(56261),s=n(83638),f=n(1852),p=n.n(f),d=n(97144),y=n(54618),m=n(81701),b=n(48304);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=P(e);if(t){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){if(t&&("object"===g(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}var L=(0,c.D2)((function(e){return{iconRoot:{margin:e.isRtl?"0 0 0 8px":"0 8px 0 0",color:e.palette.textColor,fontSize:"2.4rem"},iconRootMobile:{margin:0,color:e.palette.textColor,fontSize:"2.4rem"},textBtnLabel:{fontSize:"1.4rem",color:e.palette.textColor},button:{"&:focus":{color:e.palette.primary1Color,outline:"-webkit-focus-ring-color auto 1px",fallbacks:{outline:"auto 1px Highlight"}}}}}),{withTheme:!0})(r=(0,c.JQ)((function(){return{}}),(function(e){return{onOpenHelpDialog:function(t,n){return e(y.openHelpDialog(t,n))}}}))((o=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}(a,e);var t,n,r,o=O(a);function a(){return h(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.intl,n=e.title,r=e.message,o=e.onOpenHelpDialog,a=e.theme,l=e.classes;return i().createElement(p(),{minWidth:a.breakpoints.values.medium+1,component:"span"},(function(e){return e?i().createElement(s.default,{key:"help",classes:{root:l.button},onClick:(0,d.PF)((function(){o(n,r)}))},i().createElement(b.default,{className:l.iconRoot},"help"),i().createElement("span",{className:l.textBtnLabel},t.formatMessage({id:"HelpButton.help",defaultMessage:"Help"}
1))):i().createElement(m.default,{onClick:(0,d.PF)((function(){o(n,r)}))},i().createElement(b.default,{className:l.iconRootMobile},"help"))}))}}])&&v(t.prototype,n),r&&v(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.Component),o.propTypes={intl:c.gm.isRequired,title:u().string,message:u().string.isRequired,onOpenHelpDialog:u().func,theme:u().object.isRequired,classes:u().object.isRequired},o.defaultProps={open:!1},r=o))||r)||r},44025:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AccountDigitalLoansPage:()=>Re,default:()=>Ce});var r,o,a,i,l=n(67294),u=n.n(l),c=n(45697),s=n.n(c),f=n(37424),p=n(56261),d=n(25387),y=n(84013),m=n(3022),b=n(87591),g=n(60323),h=n(11186),v=n(1852),E=n.n(v),O=n(52548),w=n(97144),P=n(83638),L=n(48304),R=n(32316),j=n(54618);function C(e){return C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C(e)}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=T(e);if(t){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){if(t&&("object"===C(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function T(e){return T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},T(e)}var N=function(e){var t=null;try{t=Date.parse(e)}catch(t){return console.warn("cannot parse date",e),""}return u().createElement("div",null,u().createElement(d.Ji,{value:new Date(t),year:"numeric",month:"long",day:"2-digit"})," ",u().createElement(d._H,{id:"DigitalLoanCard.at",defaultMessage:"at"})," ",u().createElement(d.qN,{value:new Date(t)}))},q=(r=(0,R.withStyles)((function(e){return{list:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"left"},primaryColor:{color:e.palette.primary1Color},cardIcon:{fontSize:"2.4rem",alignSelf:"start",height:"initial",width:"initial",margin:e.isRtl?"0px 0px 0px 16px":"0px 16px 0px 0px",color:e.palette.primary1Color},cardActionLabel:{fontSize:"1.4rem",lineHeight:"normal",color:"rgba(0, 0, 0, 0.54)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},cardActionValue:{color:e.palette.textColor,fontSize:"1.6rem"}}})),o=(0,p.$j)((function(){return{}}),(function(e){return{onDownloadAction:function(t){e(j.openPNBDigitalLoanDialog(t))}}})),(0,p.XN)(a=r(a=o((i=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}(a,e);var t,n,r,o=k(a);function a(){return x(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.id,n=e.thumbUrl,r=e.title,o=e.meta,a=e.loanDate,i=e.returnDate,l=e.downloadUrl,c=e.onResultClick,s=e.onExploreClick,f=e.onDownloadAction,p=e.onReturnLoan,d=e.onExtendLoan,v=e.loanId,R=e.orderLineId,j=e.loanType,C=e.intl,x=e.classes,D=(e.mimeType,C.formatMessage),S=function(e){return"".concat(D({id:"DigitalLoanCard.confimDialogTitle",defaultMessage:"Are you sure you want to"})," ").concat(e," ").concat(r)},k=[],_=!1;return j&&(_="AUDIOBOOK"===j),l&&(_?k.push(u().createElement("div",null,u().createElement(P.default,{className:x.primaryColor,key:"listen",onClick:(0,w.PF)((function(){window.open(l,j)}))},D({id:"DigitalLoanCard.listen",defaultMessage:"Listen"})))):k.push(u().createElement("div",null,u().createElement(P.default,{className:x.primaryColor,key:"returnLoan",onClick:(0,w.PF)((function(){p(S(D({id:"DigitalLoanCard.returnLoan",defaultMessage:"return"}).toLowerCase()),v,R)}))},D({id:"DigitalLoanCard.returnLoan",defaultMessage:"Return loan"})),u().createElement(P.default,{className:x.primaryColor,key:"download",onClick:(0,w.PF)((function(){f(l)}))},D({id:"DigitalLoanCard.download",defaultMessage:"Download"}
1)),u().createElement(P.default,{className:x.primaryColor,key:"extendLoan",onClick:(0,w.PF)((function(){d(S(D({id:"DigitalLoanCard.extendLoan",defaultMessage:"extend"}).toLowerCase()),v,R)}))},D({id:"DigitalLoanCard.extendLoan",defaultMessage:"Extend load"}))))),u().createElement("div",{key:t},u().createElement(y.Z,{key:t,thumbUrl:n,title:r,meta:o,onTitleClick:(0,w.PF)((function(){c(t)})),onExploreClick:s,cardContent:u().createElement(m.default,{className:x.list},u().createElement(E(),{minWidth:O.j.xmedium},u().createElement(g.default,null,u().createElement(h.default,null,u().createElement(L.default,{className:x.cardIcon},"date_range")),u().createElement(b.default,{disableTypography:!0,primary:u().createElement("div",{className:x.cardActionValue},N(a)),secondary:u().createElement("div",{className:x.cardActionLabel},D({id:"DigitalLoanCard.loanDate",defaultMessage:"Loan date"}))}))),u().createElement(g.default,null,u().createElement(h.default,null,u().createElement(L.default,{className:x.cardIcon},"date_range")),u().createElement(b.default,{disableTypography:!0,primary:u().createElement("div",{className:x.cardActionValue},N(i)),secondary:u().createElement("div",{className:x.cardActionLabel},D({id:"DigitalLoanCard.returnDate",defaultMessage:"Return date"}))}))),cardAction:k}))}}])&&D(t.prototype,n),r&&D(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(l.Component),i.propTypes={intl:p.gm.isRequired,id:s().string.isRequired,loanId:s().string.isRequired,thumbUrl:s().string.isRequired,title:s().string.isRequired,author:s().string,downloadUrl:s().string,meta:s().object,loanDate:s().oneOfType([s().string,s().object]).isRequired,returnDate:s().oneOfType([s().string,s().object]).isRequired,onDownloadAction:s().func.isRequired,onResultClick:s().func.isRequired,onExploreClick:s().func.isRequired,onReturnLoan:s().func.isRequired,onExtendLoan:s().func.isRequired,classes:s().object.isRequired,orderLineId:s().string.isRequired,params:s().object,loanType:s().string,mimeType:s().string},a=i))||a)||a)||a),M=n(52781),A=n(68821),H=n(82067),I=n(30060),B=n(22650),z=n(67118);function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}function Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W(e,t){return W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},W(e,t)}function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Q(e);if(t){var o=Q(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return J(this,n)}}function J(e,t){if(t&&("object"===F(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Q(e)}var V={childrenContainer:{minHeight:"100vh"}},X=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&W(e,t)}(a,e);var t,n,r,o=G(a);function a(){return Z(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.dataList,n=e.cardFactory;if(void 0===t)return null;var r=t.map((function(e,t){return n(e,t)}));return u().createElement("div",{style:V.childrenContainer},r)}}])&&U(t.prototype,n),r&&U(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(l.Component);X.propTypes={cardFactory:s().func.isRequired,dataList:s().array};const Y=X;var K=n(45812),$=n(36817),ee=n(95104),te=n(70933),ne=n(91511),re=n(60869),oe=n(82018);var ae=n(55271),ie=n(93619);const le={type:"formComponent",options:[{label:"Header",type:"Section",id:"headerSection",unlocks:[{label:"Header margin and padding",type:"MarginPadding",id:"headerMarginPadding"}
1,{id:"headerBackgroundColor",label:"Header background color",type:"Color"}]}],defaults:{headerMarginPadding:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px","margin-left":"0px"},headerBackgroundColor:{value:"#ffffff",opacity:0}},rules:function(e){var t=(0,ae.Z)({}).rules;return t.a=(0,ae.Z)({}).setProperty("color",(0,ie.Gj)("primary")).rules,{root:t,headerStyle:(0,ae.Z)({}).setMarginPadding(e.headerMarginPadding).setBackgroundColor(e.headerBackgroundColor).rules}}};var ue,ce,se,fe,pe=n(10251),de=n.n(pe),ye=n(25650),me=n(92352),be=n(25666);function ge(e){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ge(e)}function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},he.apply(this,arguments)}function ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Oe(e,t){return Oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oe(e,t)}function we(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Le(e);if(t){var o=Le(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Pe(this,n)}}function Pe(e,t){if(t&&("object"===ge(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Le(e)}var Re=(ue=(0,p.D2)((function(e){return{toolsContainer:{display:"inline-flex",height:"auto",alignItems:"center",justifyContent:"flex-end",order:2},subHeader:{textAlign:e.isRtl?"right":"left",paddingLeft:"0",paddingRight:"0",display:"flex"},accessibilityHiddenHeaders:{display:"none"},textSubHeader:{flex:1,display:"flex",fontSize:"1.4rem",lineHeight:"normal",alignItems:"center",justifyContent:"start",order:1},clearfix:{clear:"both"},relativeContainer:{position:"relative"},dataLoaderInnerWrapper:{textAlign:e.isRtl?"right":"left"}}})),ce=(0,B.Z)("allowViewDigitalLoans"),(0,re.Z)(se=ue(se=ce((fe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oe(e,t)}(a,e);var t,n,r,o=we(a);function a(){var e;ve(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=o.call.apply(o,[this].concat(n))).renderTools=function(){var t=e.props,n=t.enableHelp,r=t.helpText,o=t.classes,a=(0,t.localized)(r);return u().createElement("span",{className:o.toolsContainer},n&&a&&u().createElement(z.Z,{message:a}))},e.renderLoansData=function(t){var n=e.props.intl;if(!t)return null;var r=n.formatMessage,o=t.policyLoanQuota,a=o-t.activeLoanCount,i=t.policyConsultationQuota-t.activeConsultationCount,l=t.policyAudioBookLoanQuota,c=u().createElement("i",{className:"nc-icon-mini arrows-1_bold-right",style:{marginRight:"0.5rem"}}),s=!isNaN(a)&&a>0,f=!isNaN(i)&&i>0,p=[];return(s||f)&&(p.push(u().createElement("br",{key:"space"})),p.push(u().createElement("div",{key:"message"},r({id:"AccountDigitalLoansPage.userStock",defaultMessage:"Currently, you still have:"}))),s&&p.push(u().createElement("div",{key:"loanCount"}
1,u().createElement("span",null,c),u().createElement("span",null,r({id:"AccountDigitalLoansPage.countStock",defaultMessage:"{count, number} {count, plural, =0 {{singular}} one {{singular}} other {{plural}}}"},{count:a,singular:r({id:"AccountDigitalLoansPage.loanAvailable",defaultMessage:"loan available"}),plural:r({id:"AccountDigitalLoansPage.loansAvailable",defaultMessage:"loans available"})}))))),u().createElement(H.default,{style:{margin:"0.5rem 0",padding:0},containerstyle:{margin:0,padding:0}},u().createElement(I.default,null,u().createElement("div",null,r({id:"AccountDigitalLoansPage.pnbCountMessage",defaultMessage:"The books are on loan for a period of {days, number} {days, plural, =0 {{daySingular}} one {{daySingular}} other {{dayPlural}}}. You can borrow up to {maxLoans, number} digital documents including {maxAudiobookLoans} audiobooks."},{maxLoans:o,maxAudiobookLoans:l,days:t.policyLoanDurationInDays,daySingular:r({id:"AccountDigitalLoansPage.day",defaultMessage:"day"}),dayPlural:r({id:"AccountDigitalLoansPage.days",defaultMessage:"days"})})),p))},e.renderDigitalLoansList=function(t,n){var r=e.props,o=r.onExploreClick,a=r.onResultClick,i=r.onReturnLoan,l=r.onExtendLoan,c=r.styleClassMap,s=r.classes,f=r.intl,p=r.elevation,y=r.cardElevation;r.mimeType;if(null==t)return null;var m=f.formatMessage;return 0===t.length?u().createElement(ye.Z,{message:m({id:"AccountDigitalLoansPage.noResults",defaultMessage:"You don't have any digital loans in your account."})}):u().createElement("div",{className:c.root},u().createElement(A.default,{className:c&&c.headerStyle||"",elevation:(0,be.Z)(p,y)},u().createElement(M.default,{className:s.subHeader,disableSticky:!0},u().createElement("h2",{className:s.accessibilityHiddenHeaders},m({id:"Accessibility.HeadingsToolBar",defaultMessage:"Options"})),e.renderTools(),u().createElement("div",{className:s.textSubHeader},u().createElement(d._H,{id:"AccountDigitalLoansPage.reservCount",defaultMessage:"{youHave} {count, number} {count, plural, one {{singular}} other {{plural}}}",values:{youHave:m({id:"AccountDigitalLoansPage.youHave",defaultMessage:"You have"}),count:t.length,singular:m({id:"AccountDigitalLoansPage.loan",defaultMessage:"loan"}),plural:m({id:"AccountDigitalLoansPage.loans",defaultMessage:"loans"})}})),u().createElement("div",{className:s.clearfix}))),u().createElement("h2",{className:s.accessibilityHiddenHeaders},m({id:"AccountDigitalLoansPage.loans",defaultMessage:"items currently borrowed."})),e.renderLoansData(n),u().createElement(Y,{cardFactory:function(e,n){return u().createElement(q,he({key:n,onResultClick:a,onExploreClick:o,onReturnLoan:i,onExtendLoan:l},e,{mimeType:t[n].mimeType}))},dataList:t}))},e}return t=a,(n=[{key:"componentWillMount",value:function(){var e=this.props,t=e.demarqueEnabled,n=e.pnbFetched,r=e.demarqueFetched,o=e.pnbDigitalCirculationEnabled,a=e.onLoadCount,i=e.onLoadPNB,l=e.onLoadDemarque,u=e.dataRefreshInterval;o&&((!n||(0,K.xd)(n,u))&&i(),a()),t&&(!r||(0,K.xd)(r,u))&&l()}},{key:"shouldComponentUpdate",value:function(e){return!(this.props.loading===e.loading&&this.props.enableHelp===e.enableHelp&&this.props.demarqueFetched===e.demarqueFetched&&this.props.pnbFetched===e.pnbFetched&&this.props.theme===e.theme&&de()(this.props.pnbLoans,e.pnbLoans)&&de()(this.props.demarqueLoans,e.demarqueLoans)&&de()(this.props.pnbCurrentLoans,e.pnbCurrentLoans))}},{key:"render",value:function(){var e=this.props,t=e.intl,n=e.demarqueLoans,r=e.pnbCurrentLoans,o=e.loading,a=e.demarqueEnabled,i=e.pnbLoans,l=e.classes,c=e.pnbDigitalCirculationEnabled,s=t.formatMessage;return a||c?c?u().createElement("div",{className:l.relativeContainer},o?u().createElement(ne.Z,null):u().createElement("div",{style:{textAlign:"left"}},this.renderDigitalLoansList(r,i))):u().createElement("div",{className:l.relativeContainer},o?u().createElement(ne.Z,null):u().createElement("div",{className:l.dataLoaderInnerWrapper},this.renderDigitalLoansList(n))):u().createElement("div",{style:{position:"relative"}},u().createElement("div",{style:{textAlign:"left"}},u().createElement("span",{style:{lineHeight:"2.5em"}},s({id:"AccountDigitalLoansPage.notAvailable",defaultMessage:"This function is not available."}))))}}])&&Ee(t.prototype,n),r&&Ee(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(u().Component),fe.propTypes={intl:p.gm.isRequired,loading:s().bool,dataRefreshInterval:s().number.isRequired,demarqueLoans:s().arrayOf(s().object),demarqueEnabled:s().bool,demarqueFetched:s().number,pnbCurrentLoans:s().arrayOf(s().object),pnbLoans:s().object,pnbFetched:s().number,pnbDigitalCirculationEnabled:s().bool,styleClassMap:s().object.isRequired,classes:s().object,theme:s().object,helpText:s().object,enableHelp:s().bool,mimeType:s().string,onResultClick:s().func.isRequired,onExploreClick:s().func.isRequired,onReturnLoan:s().func.isRequired,onExtendLoan:s().func.isRequired,onLoadDemarque:s().func.isRequired,onLoadPNB:s().func.isRequired,onLoadCount:s().func.isRequired,dispatch:s().func.isRequired,localized:s().func.isRequired,elevation:s().oneOfType([s().string,
1s().number]),cardElevation:s().oneOfType([s().string,s().number])},fe.defaultProps={elevation:0},fe.iconClass="nc-icon-mini tech_tablet-reader-42",fe.propsSchema=[{id:"enableHelp",label:"Show help",type:"Optional",unlocks:[{type:"LocalizedHtml",id:"helpText",props:{maxHeight:"300px"}}]},{label:"Card elevation",type:"Number",id:"elevation",props:{clearable:!0,min:0,max:9}}],fe.style=le,se=fe))||se)||se)||se),je=function(e){return void 0===e||null==e?null:e.toJS().map((function(e){var t=e.resultItem;return null!=t?{id:e.iid,loanId:e.loanId,thumbUrl:(0,me.Nb)({imageSource:t.imageSource_256[0].value}),title:t.title[0].value,loanDate:e.startDate,returnDate:e.endDate,author:e.author,meta:t.meta,downloadUrl:e.url,orderLineId:e.itemId,loanType:e.loanType,mimeType:e.mimeType}:{id:e.iid,loanId:e.loanId,thumbUrl:(0,me.FM)({size:256}),title:e.title,loanDate:e.startDate,returnDate:e.endDate,author:e.author,meta:null,downloadUrl:e.url}}))};const Ce=(0,f.connect)((function(e){return{loading:e.getIn(["ui","showLoader"]),demarqueEnabled:e.getIn(["settings","demarqueEnabled"]),demarqueLoans:(t=e.getIn(["account","demarqueLoans","list"]),void 0===t||null==t?null:t.toJS().map((function(e){var t=e.resultItem;return null!=t?{id:e.iid,loanId:e.iid,thumbUrl:(0,me.Nb)({imageSource:t.imageSource_256[0].value}),title:t.title[0].value,loanDate:e.created,returnDate:e.expiresAt,author:e.author}:{id:e.iid,loanId:e.iid,thumbUrl:(0,me.FM)({size:256}),title:e.title,loanDate:e.created,returnDate:e.expiresAt,author:e.author}}))),demarqueFetched:te.RE(e,"demarqueLoans"),pnbDigitalCirculationEnabled:e.getIn(["settings","pnbDigitalCirculationEnabled"]),pnbCurrentLoans:je(te.Mt(e)),pnbLoans:(0,K.xi)(e.getIn(["account","pnbLoans"]),null),pnbFetched:te.RE(e,"pnbCurrentLoans"),dataRefreshInterval:e.getIn(["settings","dataRefreshInterval"])};var t}),(function(e,t){return{dispatch:e,onResultClick:function(n){e($.showNotice(n,t.location.pathname,null,null))},onExploreClick:function(t,n){e(ee.T3(t,n))},onReturnLoan:function(t,n,r){e(j.openConfirmDialog(t,null,(function(){return e($.returnPNBLoan(n,r))})))},onExtendLoan:function(t,n,r){e(j.openConfirmDialog(t,null,(function(){return e($.extendPNBLoan(n,r))})))},onLoadDemarque:function(){e($.loadAccountAspectsList([oe.KF]))},onLoadPNB:function(){e($.loadAccountAspectsList([oe.EK])),e($.countPNBLoan())},onLoadCount:function(){e($.countPNBLoan())}}}))((0,p.XN)(Re))},87557:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(45697),o=n(67294),a=n.n(o),i=n(82067),l=n(30060),u=n(71426),c=n(25387);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(c,e);var t,n,r,o=y(c);function c(){return f(this,c),o.apply(this,arguments)}return t=c,(n=[{key:"render",value:function(){var e=this.props,t=e.intl,n=e.alternativeTextScreenSize,r=t.formatMessage;return a().createElement("div",{style:{width:"1200px",maxWidth:"90%",position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)"}},a().createElement(i.default,null,a().createElement(l.default,null,a().createElement(u.default,{variant:"h5",component:"h2"},r({id:"Unauthorized.unauthorizedTitle",defaultMessage:"Access denied"})),a().createElement(u.default,{component:"p"},r(n?{id:"Unauthorized.contentSubTitleScreenRedimension",defaultMessage:"This feature is not supported in tablet mode or mobile. Please resize your screen."}:{id:"Unauthorized.contentSubTitle",defaultMessage:"You are not authorized to view this page."})))))}}])&&p(t.prototype,n),r&&p(t,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(a().Component);g.propTypes={alternativeTextScreenSize:r.bool}
1,g.propTypes={intl:c.gm.isRequired};const h=(0,c.XN)(g)},22650:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(67294),o=n.n(r),a=n(37424),i=n(56261),l=n(87557);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=function(r){var a=!1;if("string"==typeof e)"logged"===e&&r.token&&(a=!0),r.rights.get(e)&&(a=!0);else if(e.constructor===Array){var i;for(i=0;i<e.length;i++)if(r.rights.get(e[i])){a=!0;break}}else"boolean"==typeof e?e&&(a=!0):"function"==typeof e&&e(r.rights,Boolean(r.token),r)&&(a=!0);if(a||t.asProp){var c={};return t.asProp&&(c["string"==typeof t.asProp?t.asProp:"allowed"]=a),o().createElement(n,u({},r,c))}return o().createElement(l.Z,r)};r.displayName="RequiredRight("+(n.displayName||n.name||"Component")+")";var c=(0,a.connect)((function(e){return{rights:e.getIn(["account","rights"]),token:e.getIn(["account","token"])}}))(r);return(0,i.fF)(n,c,["defaultProps"]),c}}}}]);

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.