1(self.webpackChunkmondoin_mobile_ui=self.webpackChunkmondoin_mobile_ui||[]).push([[1313],{921313:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>Z});var n,o,i=r(168821),a=r(907554),c=r(571426),u=r(618446),s=r.n(u),l=r(294184),p=r.n(l),f=r(875593),y=r(519622),d=r(210087),b=r(45697),m=r.n(b),h=r(667294),v=r.n(h),g=r(194127),O=r(470933),w=r(336817),j=r(832218),P=r(556261),S=r(473702),C=r(846396),_=r(291416),E=r(73767);function R(t){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},R(t)}function k(){return k=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},k.apply(this,arguments)}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function T(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach((function(e){I(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function I(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function L(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function D(t,e){return D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},D(t,e)}function N(t){var e=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(t){return!1}}();return function(){var r,n=A(t);if(e){var o=A(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return B(this,r)}}function B(t,e){if(e&&("object"===R(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function A(t){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},A(t)}var Z=(0,P.JQ)((function(t){return{items:[],user:t.getIn(["account","user"]),resourceAvailability:(0,O.yA)(t),cartContent:t.getIn(["account","currentCart"]),currentCartItem:t.getIn(["account","currentCartItem"]),allowBuyLicence:O.Pt(t,"allowBuyLicence"),billingAddressAsJson:(0,j.ae)(t)}}),(function(t,e){return{getCurrentCart:function(r){e.relax&&!e.relax.editing&&t(g.Dk(r))},onShowNotice:function(r){t(w.showNotice(r,e.location))}}}))(n=(0,P.D2)((function(t){return{cardListWrapper:{margin:"16px"},dividers:{borderTop:"2px solid",color:t.palette.primary.main},orderPaper:{marginBottom:"16px"},informationContainer:{flexGrow:1}}}),{withTheme:!0})((o=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&D(t,e)}(u,t);var e,r,n,o=N(u);function u(){var t;L(this,u);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).state={items:null},t._printDuration=function(e){var r=t.props.intl.formatMessage({id:"CartListDialog.year",defaultMessage:"{duration} year"},{duration:e});return e>1&&(r+="s"),r},t._renderProductListBlock=function(){var e=t.props,r=e.classes,n=e.intl.formatMessage;
1return v().createElement(i.default,{elevation:0,className:r.informationContainer},v().createElement(c.default,{variant:"h6",gutterBottom:!0,align:"left"},n({id:"OrderProducts.MyItems",defaultMessage:"Mes produits"})),v().createElement(a.default,{className:r.dividers}),t._renderProductList())},t._renderProductList=function(){var e=t.props,r=e.currentCartItem,n=e.cartContent,o=e.allowBuyLicence,a=e.classes,c=e.rights,u=0;if(!r||!r.length||!t.state.items)return null;return v().createElement(i.default,{elevation:0},r.length&&v().createElement("div",{className:a.cardListWrapper},v().createElement(d.Z,{pageSize:6,cardFactory:function(e,r){e.posInSet=String(r+1),u=t.state.items[e.id].isSubscription;var i=t.state.items[e.id].itemPrice,a=n.properties.showPricesWithTax,s=[u?{display:"Prix annuel",value:t.thousandSeparator(t.ccyFormat(i))}:{display:"Prix ".concat("true"===a?"TTC":""),value:t.thousandSeparator(t.ccyFormat(i))},u?{display:"Durée de l'abonnement",value:t._printDuration(t.state.items[e.id].quantity)}:{display:"Exemplaire(s)",value:"x ".concat(t.state.items[e.id].quantity)},u&&o?{display:"Licence(s)",value:"x ".concat(t.state.items[e.id].licenceQuantity)}:{},{display:"Total ".concat("true"===a?"TTC":""),value:t.thousandSeparator(t.ccyFormat(t.state.items[e.id].itemSubtotal))}],l=T({},e.summary.meta);return delete l.ST_prixttc,v().createElement(y.Z,{rights:c,allowBuyLicence:o,key:r,onCardAction:[],onSelectAction:t._selectResultItem,onResultClicked:null,selectedIds:[],id:e.id,meta:l,priceData:s,needsApproval:"0",title:e.summary.title,thumbUrl:e.summary.imageSource_128,TypeOfDocumentFacet:e.contentType,hideZmat:!0,posInSet:e.posInSet,readerLabel:"default",classes:{},disableNoticeConsultation:"true",displayZmatSticker:!0})},dataList:r})))},t}return e=u,(r=[{key:"componentWillReceiveProps",value:function(t){var e=t.cartContent;e&&this.props.cartContent&&!s()(e,this.props.cartContent)&&this.setState({items:null}),e&&!this.state.items&&this.parseCartItems(e)}},{key:"parseCartItems",value:function(t){var e=JSON.parse(t.properties.cartItems);this.setState({items:e})}},{key:"componentDidMount",value:function(){this.props.noticeId?this.props.getCurrentCart(this.props.noticeId):this.props.getCurrentCart()}},{key:"ccyFormat",value:function(t){return"".concat(parseFloat(t.toString().replace(",",".")).toFixed(2))}},{key:"thousandSeparator",value:function(t){return parseFloat(t).toLocaleString("fr",{minimumFractionDigits:2,currency:"EUR",style:"currency"})}},{key:"render",value:function(){var t=this.props,e=t.Element,r=t.relax,n=t.styleClassMap,o=T(T({},r),{},{htmlTag:"div",settings:_.Z});return v().createElement(e,k({},o,{className:p()(n.element,n.wrapper)}),this._renderProductListBlock())}}])&&M(e.prototype,r),n&&M(e,n),Object.defineProperty(e,"prototype",{writable:!1}),u}(f.Z),o.propTypes={classes:m().object,relax:m().object.isRequired,Element:m().func.isRequired,noticeId:m().string.isRequired,renderChildren:m().func.isRequired,intl:P.gm.isRequired,onShowNotice:m().func.isRequired,styleClassMap:m().object,children:m().node,arkInfo:m().object,aspects:m().object,requestAspects:m().func,user:m().string,resourceAvailability:m().bool,query:m().func,items:m().array,allowBuyLicence:m().bool,billingAddressAsJson:m().string,cartContent:m().object,getCurrentCart:m().func,currentCartItem:m().array,rights:m().object},o.propsSchema=C.Z,o.settings=_.Z,o.style=E.Z,o.defaultProps=S.Z,n=o))||n)||n},210087:(t,e,r)=>{"use strict";r.d(e,{Z:()=>v});var n=r(667294),o=r.n(n),i=r(45697),a=r.n(i),c=r(200246),u=r.n(c),s=r(30546);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function y(t){var e=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(t){return!1}}();return function(){var r,n=m(t);if(e){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}function d(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return b(t)}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(a,t);var e,r,n,i=y(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).state={pageNo:t.dataList?1:0},e.loadMore=e.loadMore.bind(b(e)),e}return e=a,(r=[{key:"hasMore",value:function(){var t=this.props,e=t.dataList,r=t.pageSize,n=e.length;return r*this.state.pageNo<=n}},{key:"loadMore",value:function(){var t=this.props,e=t.dataList,r=t.pageSize,n=e.length;r*this.state.pageNo>n||this.setState({pageNo:this.state.pageNo+1})}},{key:"render",value:function(){var t=this.props,e=t.dataList,r=t.pageSize,n=t.cardFactory;if(!e)return null;var i=r*(this.state.pageNo||1),a=e.slice(0,i).map((function(t,e){return n(t,e)})),c=this.hasMore();return o().createElement(u(),{key:"infiniteScroll",pageStart:this.state.pageNo,loadMore:this.loadMore,hasMore:c,loader:o().createElement("div",{className:"loader",key:0},o().createElement(s.Z,{size:60,style:{textAlign:"center",position:"relative"}}
1))},a)}}])&&p(e.prototype,r),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}(o().Component);h.propTypes={cardFactory:a().func.isRequired,dataList:a().array,pageSize:a().number,loadMore:a().func};const v=h},30546:(t,e,r)=>{"use strict";r.d(e,{Z:()=>m});var n=r(667294),o=r.n(n),i=r(45697),a=r.n(i),c=r(230866);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function p(t,e){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},p(t,e)}function f(t){var e=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(t){return!1}}();return function(){var r,n=d(t);if(e){var o=d(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return y(this,r)}}function y(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}(a,t);var e,r,n,i=f(a);function a(){return s(this,a),i.apply(this,arguments)}return e=a,(r=[{key:"render",value:function(){var t=this.props,e=(t.open,t.style),r=this.props.size;r||(r=60);var n={zIndex:1300,display:"block"},i={textAlign:"center",position:"absolute",top:"50%",left:"50%",height:"30%",maxHeight:"".concat(r,"px"),width:"50%",margin:"-15% 0 0 -25%"},a=Object.assign({},i,e,n);return o().createElement("div",{style:a},o().createElement(c.default,{size:r}))}}])&&l(e.prototype,r),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),a}(o().Component);b.propTypes={open:a().bool,size:a().number,style:a().object},b.defaultProps={open:!1,size:60,style:{}};const m=b}}]);
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.