1(self.webpackChunkmondoin_mobile_ui=self.webpackChunkmondoin_mobile_ui||[]).push([[61],{48921:(e,t,o)=>{"use strict";var n=o(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var r=n(o(67154)),i=n(o(59713)),a=n(o(6479)),s=n(o(67294)),l=(n(o(45697)),n(o(94184))),c=(o(93142),n(o(78252))),u=o(98741),d=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,o=e.classes,n=e.className,c=e.color,d=e.component,p=e.disableGutters,h=e.disableSticky,f=e.inset,m=(0,a.default)(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return s.default.createElement(d,(0,r.default)({className:(0,l.default)(o.root,(t={},(0,i.default)(t,o["color".concat((0,u.capitalize)(c))],"default"!==c),(0,i.default)(t,o.inset,f),(0,i.default)(t,o.sticky,!h),(0,i.default)(t,o.gutters,!p),t),n)},m))}t.styles=d,p.defaultProps={color:"default",component:"li",disableGutters:!1,disableSticky:!1,inset:!1},p.muiName="ListSubheader";var h=(0,c.default)(d,{name:"MuiListSubheader"})(p);t.default=h},52781:(e,t,o)=>{"use strict";var n=o(95318);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}});var r=n(o(48921))},85963:(e,t,o)=>{"use strict";var n=o(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(67294)),i=(0,n(o(2108)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),r.default.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})),"FilterList");t.default=i},50169:(e,t,o)=>{"use strict";var n=o(95318);t.Z=void 0;var r=n(o(67294)),i=(0,n(o(2108)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),r.default.createElement("circle",{cx:"6.18",cy:"17.82",r:"2.18"}),r.default.createElement("path",{d:"M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9z"})),"RssFeed");t.Z=i},64652:(e,t,o)=>{"use strict";o.d(t,{Z:()=>s});var n=o(67294),r=o.n(n),i=o(40577);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},a.apply(this,arguments)}const s=function(e){return r().createElement(i.default,a({},e,{viewBox:"0 0 1800 1800"}),r().createElement("path",{d:"M1408 1088q0 26-19 45l-448 448q-19 19-45 19t-45-19l-448-448q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45zm0-384q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45 19-45l448-448q19-19 45-19t45 19l448 448q19 19 19 45z"}))}},9448:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>rt});var n,r,i=o(95880),a=o(10632),s=o(30866),l=o(48304),c=o(50169),u=o(60869),d=o(83638),p=o(81701),h=o(68821),f=o(32316),m=o(65470),y=o(94184),b=o.n(y),g=o(74619),S=o(61851),v=o(10251),w=o.n(v),E=o(18446),C=o.n(E),R=o(45697),I=o.n(R),k=o(61469),T=o(21191),q=o.n(T),M=o(67294),O=o.n(M),x=o(37424),F=o(97845),A=o(57472),D=o(97144),P=o(32256),L=o(15279),j=o(93962),N=o(16020),_=["value","dragging","index"];function z(e){return z="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},z(e)}function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},B.apply(this,arguments)}function V(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}function W(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1function Z(e,t){return Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Z(e,t)}function Q(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 o,n=G(e);if(t){var r=G(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return H(this,o)}}function H(e,t){if(t&&("object"===z(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 J=k.default.Handle,U=(0,x.connect)((function(e){return{useOnlyDefaultList:"true"===(0,F.jQ)(e).useOnlyDefaultList,userBookings:e.getIn(["account","userBookingsObj"]),hideAgenda:e.getIn(["settings","noEventAgenda"])}}))(n=(0,f.withStyles)((function(e){return{root:{backgroundColor:"#2d2d2d",display:"flex",justifyContent:"space-between",flexWrap:"nowrap",overflow:"hidden",alignItems:"center",minHeight:"75vh"},externalVideoContainer:{position:"absolute",top:"0",left:"0",bottom:"0",right:"0",width:"100%",height:"100%"},externalVideoContainerWrapper:{position:"relative",width:"100%",paddingTop:"56.25%"},resultCardContainer:{position:"relative",width:"45vw",height:"60vh",margin:"0px 20px 0px 20px",zIndex:9},fullScreenButton:{border:"2px solid white",color:"white",height:"40px",width:"40px",textTransform:"uppercase",position:"absolute",top:"10px",right:"20px",zIndex:10,backgroundColor:"#000000",opacity:"0.5"},shareButton:{border:"2px solid white",color:"white",height:"40px",width:"40px",textTransform:"uppercase",position:"absolute",top:"52px",right:"20px",zIndex:10,backgroundColor:"#000000",opacity:"0.5"},shareVideoButton:{border:"2px solid white",color:"white",height:"40px",width:"40px",textTransform:"uppercase",position:"absolute",top:"10px",right:"20px",zIndex:10,backgroundColor:"#000000",opacity:"0.5"},leftNotice:{width:"22vw",height:"45vh",position:"absolute",left:0,zIndex:5,opacity:"0.8","&:hover":{opacity:"1"}},rightNotice:{width:"22vw",height:"45vh",position:"absolute",right:0,zIndex:5,opacity:"0.8","&:hover":{opacity:"1"}},arrow:{display:"flex",justifyContent:"center",zIndex:20,height:"75vh"},buttonRoot:{fontSize:"70px",color:"white"},buttonContainer:{height:"100%",width:"5vw","&$left":{background:"linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,0.6))"},"&$right":{background:"linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.6))"},"&:hover":{background:"rgba(0, 0, 0, 0.5)"}},left:{},right:{}}}))((r=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&&Z(e,t)}(i,e);var t,o,n,r=Q(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e))._fetchData=function(e){var o=e.toJS?e.toJS():e;o=o.map((function(e){return A.l3(e,null,null,null,null,null,null)}));var n=new Map,r=new Map;o.forEach((function(e,o){var i,a=e.id;a&&j.h.notice(t.props.token,a,["Meta"],"en").then((function(e){if(e&&e.fields){var o=e.fields.find((function(e){return"source"===e.name})),s=e.fields.find((function(e){return"GalleryImage"===e.name}));if(o&&o.values&&o.values[0]&&o.values[0].qa&&o.values[0].qa.Answer){var l=o.values[0].qa&&o.values[0].qa.Answer;l.startsWith("http")&&(i=l)}s&&s.values&&s.values[0]&&s.values[0].qa&&s.values[0].qa.Document&&r.set(a,s.values[0].qa.Document)}n.set(a,i),t.setState({externalSourceMap:n,documentName:r})}))})),t.setState({nbResults:o.length,loaded:!1})},t._compareValues=function(e,t,o){var n=o.reduce((function(e,t){return e&&e[t]}),e),r=o.reduce((function(e,t){return e&&e[t]}),t);return C()(n,r)},t.loadMore=function(){var e=t.props,o=e.searchListState,n=e.queryId,r=e.isRatingEnabled,i=e.showLike,a=e.onLoadMoreResult;e.hasMore&&null!=o&&null!=o.imResultSet&&0!==o.imResultSet.size&&a(n,i,r)},t.handle=function(e){var t=e.value,o=(e.dragging,e.index),n=V(e,_);return n.style={backgroundColor:"#FEFEFD",border:"solid 2px #FEFEFD"},O().createElement(q(),{prefixCls:"rc-slider-tooltip",overlay:O().createElement(l.default,{color:"primary"},"place"),visible:!1,placement:"top",key:o},O().createElement(J,B({value:t},n),O().createElement(l.default,{fontSize:"large",color:"primary",style:{fontSize:36,top:-13,left:-13,position:"relative"}}
1,"filter_center_focus")))},t.seek=function(e){var o=e?t.state.prev:t.state.next;o>-1&&o<t.state.nbResults&&t.setState({value:o,prev:o-1<0&&t.state.reachEnd?t.state.nbResults-1:o-1,next:o+1===t.state.nbResults?0:o+1},o+3===t.state.nbResults?t.loadMore():null),o+1===t.state.nbResults&&t.setState({reachEnd:!0})},t.enterFullscreenMode=function(){t.setState({isFullscreenMode:!0})},t.exitFullscreenMode=function(){t.setState({isFullscreenMode:!1})},t.state={value:0,next:1,reachEnd:!1,showConfigurator:!0,minEventPadding:20,maxEventPadding:40,linePadding:100,labelWidth:100,fillingMotionStiffness:150,fillingMotionDamping:25,slidingMotionStiffness:150,slidingMotionDamping:25,isTouchEnabled:!0,isKeyboardEnabled:!0,isOpenEnding:!0,isOpenBeginning:!1,isFullscreenMode:!1,nbResults:0,externalSourceMap:new Map,documentName:new Map},t}return t=i,(o=[{key:"componentWillReceiveProps",value:function(e,t){e.loading&&this.setState({loaded:!0}),this._compareValues(e,void 0,["searchListState","imResultSet"])||this._compareValues(e,this.props,["searchListState","imResultSet"])||this._fetchData(e.searchListState.imResultSet)}},{key:"shouldComponentUpdate",value:function(e,t){var o=e.searchListState,n=this.props.searchListState;if(null==o&&null!=n)return!0;if(this.state.value!=t.value)return!0;if(null!=n&&null==o)return!0;var r=n.imResultSet!==o.imResultSet||this.props.multiSelection!==e.multiSelection||this.props.showActionButtons!==e.showActionButtons||this.props.showLike!==e.showLike||this.props.isRatingEnabled!==e.isRatingEnabled||this.props.thumbnailFormat!==e.thumbnailFormat||this.props.showDocumentThumbnail!==e.showDocumentThumbnail||this.props.hideZmat!==e.hideZmat||this.props.userBookings!==e.userBookings||n.imExploreMap!==o.imExploreMap||n.imPnbStock!==o.imPnbStock||n.imPhysicalStock!==o.imPhysicalStock||n.imRating!==o.imRating||n.imLike!==o.imLike||n.favoriteBasket!==o.favoriteBasket||this.props.textAlignment!==e.textAlignment||this.state.isFullscreenMode!==t.isFullscreenMode;return r||(r=!w()(this.props.selectedIds,e.selectedIds)||!w()(this.state,t)),r}},{key:"getNoticeId",value:function(){return this.getNoticeIdFromIndex(this.state.value)}},{key:"getNoticeIdFromIndex",value:function(e){if(!(e<0||e>=this.state.nbResults)&&this.props.searchListState&&this.props.searchListState.imResultSet){var t=this.props.searchListState.imResultSet,o=t.toJS?t.toJS():t;return this.getNoticeIdFromResult(o[e])}}},{key:"getNoticeIdFromResult",value:function(e){return e.id[0].value}},{key:"getArrowButton",value:function(e){var t=this,o=this.props.classes;if(!e||0!==this.state.value||this.state.reachEnd){var n=e?O().createElement(l.default,{classes:{root:o.buttonRoot}},"chevron_left"):O().createElement(l.default,{classes:{root:o.buttonRoot}},"chevron_right");return O().createElement(d.default,{classes:{root:b()(o.buttonContainer,e?o.left:o.right)},size:"small",onClick:function(o){t.seek(e)}},n)}}},{key:"doNothing",value:function(){}},{key:"render",value:function(){var e=this,t=this.props,o=t.onCardAction,n=t.onExploreClick,r=t.exploreSf,i=t.onResultClicked,a=t.onSelectItem,s=t.onMakeComment,c=t.searchListState,u=t.solrDebug,d=t.queryId,f=t.isWidget,y=t.multiSelection,b=t.showFavorite,v=t.showActionButtons,w=t.isRatingEnabled,E=t.thumbnailFormat,C=t.showDocumentThumbnail,R=t.settingsFromCMS,I=t.rights,k=t.token,T=t.isBuilding,q=t.isEditing,M=t.onRequestLogin,x=t.router,F=t.isTimeMode,j=t.hideAgenda,_=t.newComment,V=t.newCommentNoticeId,W=t.user,Z=t.userOmnidexid,Q=t.useOnlyDefaultList,H=t.userBookings,G=t.textStyle,J=t.textAlignment,U=t.relax,K=t.classes,X=t.onShare;if(null==c)return null;var Y=c.favoriteBasket,$=c.imResultSet,ee=c.imExploreMap,te=c.imPnbStock,oe=c.imPhysicalStock,ne=c.imRating,re=c.imLike,ie=null;if(!$)return null;if(ie=(ie=$.toJS?$.toJS():$).map((function(e){return A.l3(e,Y,ee,te,oe,ne,re)})),this.state.isFullscreenMode){ie[this.state.value].title;var ae=ie[this.state.value].thumbUrl,se=this.state.documentName.get(this.getNoticeId());return O().createElement("div",{style:{display:"flex",justifyContent:"center",position:"fixed",top:0,minWidth:"100%",minHeight:"100%",zIndex:"100000",backgroundColor:"#5F5F5F"}},O().createElement("div",{style:{flex:"inline-block",alignSelf:"center",minHeight:"90vh",minWidth:"90vw",position:"relative",background:se&&""!==se?"url(/in/rest/annotationSVC/Attachment/"+se+") center no-repeat":"url("+(ae&&ae.replace&&ae.replace("size=256","size=big"))+") center no-repeat",backgroundSize:"contain"}},O().createElement(h.default,{elevation:16},O().createElement(p.default,{color:"primary",size:"small",style:{border:"2px s
1olid white",color:"white",height:"40px",width:"40px",textTransform:"uppercase",position:"absolute",top:"10px",right:"10px",zIndex:"100001",backgroundColor:"#000000",opacity:"0.5"},variant:"outlined",onClick:function(t){e.exitFullscreenMode()}},O().createElement(l.default,null,"fullscreen")),I.get("allowShareContent")&&O().createElement(p.default,{color:"primary",size:"small",className:K.shareButton,variant:"outlined",onClick:function(){return X(e.state.value)}},O().createElement(l.default,null,"share")))))}var le=ie.map((function(t,c){return function(t,c){var h,A=!1,Y=!1,$=[S.Z.ACTION_RESERVE];if(R&&"true"!==R.hidePrint&&$.push(S.Z.ACTION_PRINT),t.hideShareAction||$.push(S.Z.ACTION_SHARE),null!=I&&(I.get("allowContentTypeAssetPrinting")&&t.typeOfDocumentFacet&&I.get("allowContentTypeAssetPrinting").includes(t.typeOfDocumentFacet)&&(Y=!0,$.push(S.Z.ACTION_PRINT_ASSETS)),I.get("allowContentTypeAssetDownload")&&t.typeOfDocumentFacet&&I.get("allowContentTypeAssetDownload").includes(t.typeOfDocumentFacet)&&(A=!0,$.push(S.Z.ACTION_DOWNLOAD)),I.get("allowViewBaskets")&&(Q||$.push(S.Z.ACTION_ADD_LIST),b&&!t.hideFavoriteAction&&(t.isFavorite?$.push(S.Z.ACTION_REMOVE_FAVORITE):$.push(S.Z.ACTION_ADD_FAVORITE)))),t.like&&t.like.value&&(h=t.like.value),c===e.state.value&&/.*video.*/.test(t.typeOfDocumentFacet.toLowerCase())){var ee=e.getNoticeId(),te=e.state.externalSourceMap.get(ee);if(te)return(0,N.Z)({relax:U,localizedVideoId:te,videoContainerWrapperClass:K.externalVideoContainerWrapper,videoContainerClass:K.externalVideoContainer,type:(0,L.pF)(te)});var oe=e.doNothing;return O().createElement(O().Fragment,null,O().createElement(p.default,{color:"primary",size:"small",className:K.shareVideoButton,variant:"outlined",onClick:function(t){console.log(z(e.state.value)),X(e.state.value)}},O().createElement(l.default,null,"share")),O().createElement(P.default,{token:k,relax:U,styleClassMap:{},Element:"Element",requestAspects:oe,onStart:oe,noticeId:ee,playFullScreen:!1,onLoadPlaylist:oe}))}var ne=e.state.documentName.get(e.getNoticeIdFromIndex(c)),re=O().createElement(g.Z,B({isTimeMode:F,displayMode:"diaporama",imageUrl:ne&&"/in/rest/annotationSVC/Attachment/"+ne,onResultClick:(0,D.PF)(i),onSelectResultItem:(0,D.PF)(a),checked:e.state.marks&&e.state.marks[e.state.value]&&c===e.state.marks[e.state.value].index,queryStatement:e.props.queryStatement,onCardAction:o,onMakeComment:s,allowDownload:A,allowAssetPrint:Y,hideZmat:e.props.hideZmat,key:c,textStyle:G,hideAgenda:j,textAlignment:J,cantReserveMoreThanOne:e.props.cantReserveMoreThanOne,isRatingEnabled:w,isBuilding:T,isEditing:q,showFavorite:e.props.showFavorite,queryId:d,showLike:!1,multiSelection:y,thumbnailFormat:E,showDocumentThumbnail:C,isWidget:f,numberOfLike:h,cardActions:f||!v?[]:$,onExploreClick:n,exploreSf:r,solrDebug:u,rights:I,token:k,onRequestLogin:M,router:x,newComment:_,newCommentNoticeId:V,user:W,userOmnidexid:Z,hoverEnabled:!(m.mobile||m.tablet),userBookings:H&&H[t.id.replace(/h::/,"")]},t));return c===e.state.value?O().createElement(O().Fragment,null,O().createElement(p.default,{color:"primary",size:"small",className:K.fullScreenButton,variant:"outlined",onClick:function(t){e.enterFullscreenMode()}},O().createElement(l.default,null,"fullscreen")),I.get("allowShareContent")&&O().createElement(p.default,{color:"primary",size:"small",className:K.shareButton,variant:"outlined",onClick:function(t){t.preventDefault(),X(e.state.value)}},O().createElement(l.default,null,"share")),re):re}(t,c)})),ce=this.getArrowButton(!0),ue=this.getArrowButton(!1);return O().createElement("div",{className:K.root},O().createElement("div",{className:K.arrow},ce),O().createElement("div",{className:K.leftNotice},le[this.state.prev]),O().createElement("div",{className:K.resultCardContainer},le[this.state.value]),O().createElement("div",{className:K.rightNotice},le[this.state.next]),O().createElement("div",{className:K.arrow},ue))}}])&&W(t.prototype,o),n&&W(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(M.Component),r.propTypes={queryId:I().string,queryStatement:I().string,searchListState:I().object.isRequired,resultInfo:I().object.isRequired,rights:I().object.isRequired,profileData:I().object,hasMore:I().bool,loading:I().bool,isTimeMode:I().bool,theme:I().object.isRequired,hideAgenda:I().bool,useOnlyDefaultList:I().oneOfType([I().string,I().bool]),solrDebug:I().bool,isWidget:I().bool,selectedIds:I().array,token:I().string,
1showBaskets:I().bool,isRatingEnabled:I().bool,isEditing:I().bool,isBuilding:I().bool,showLike:I().bool,cantReserveMoreThanOne:I().bool,showFavorite:I().bool,multiSelection:I().bool,hideZmat:I().bool,showActionButtons:I().bool,showDocumentThumbnail:I().bool,onCardAction:I().func,onSelectItem:I().func,onExploreClick:I().func.isRequired,exploreSf:I().string,onResultClicked:I().func.isRequired,onLoadMoreResult:I().func,onMakeComment:I().func,onRequestLogin:I().func,settingsFromCMS:I().object,userBookings:I().object,thumbnailFormat:I().string,router:I().object,newComment:I().string,newCommentNoticeId:I().string,user:I().string,userOmnidexid:I().string,textStyle:I().string,textAlignment:I().string,relax:I().object.isRequired,classes:I().object.isRequired,onShare:I().func},r.defaultProps={isEditing:!1,isBuilding:!1},n=r))||n)||n,K=o(48281),X=o.n(K),Y=o(15482),$=o(25387),ee=o(1852),te=o.n(ee),oe=o(33311),ne=o(94127),re=o(70933),ie=o(36228),ae=o(10185),se=o(54618),le=o(71559),ce=o(36817),ue=o(55750),de=o(95104),pe=o(91629),he=o(56261),fe=o(92352),me=o(20289);var ye,be,ge,Se=o(70398),ve=o(70087),we=o(31126),Ee=o(85963),Ce=o(64652),Re=o(74103),Ie=o(88578),ke=o(40468),Te=o(18770),qe=o(27085),Me=o(23560),Oe=o.n(Me),xe=o(55877),Fe=o.n(xe);function Ae(e){return Ae="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},Ae(e)}function De(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pe(e,t){return Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pe(e,t)}function Le(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 o,n=Ne(e);if(t){var r=Ne(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return je(this,o)}}function je(e,t){if(t&&("object"===Ae(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 Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ne(e)}var _e,ze,Be,Ve,We,Ze,Qe=(0,f.withStyles)((function(e){return{badge:{width:22,height:22,top:-8,right:-12},colorP:{color:"white"},searchToolIcon:{fontSize:"2.4rem"},searchToolLabel:{fontSize:"1.4rem"},searchToolButton:{width:42,minWidth:42,color:"black",padding:"0px"},searchToolSort:{height:42,width:42,minWidth:42,borderRadius:"50%",backgroundColor:"white",marginLeft:"5px"},facetDrawerIconSize:{fontSize:"2.2rem"}}}),{withTheme:!0})((ge=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&&Pe(e,t)}(i,e);var t,o,n,r=Le(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).handleClose=function(){t.setState({open:!1})},t.handleOpen=function(){t.setState({open:!0})},t._handleSetSort=function(e){t.setState({openMenu:!1}),t.props.onSetSort(e)},t.handleClick=function(e){t.setState({openMenu:!0,anchorEl:e.currentTarget}),setTimeout((function(){document.getElementById("simple-menu")&&document.getElementById("simple-menu").parentElement.removeAttribute("aria-hidden")}),10)},t.handleDisplayClick=function(e){t.setState({openDisplayMenu:!0,anchorDisplayEl:e.currentTarget}),setTimeout((function(){document.getElementById("simple-menu2")&&document.getElementById("simple-menu2").parentElement.removeAttribute("aria-hidden")}),10)},t.handleRequestClose=function(){t.setState({openMenu:!1})},t.handleDisplayRequestClose=function(){t.setState({openDisplayMenu:!1})},t.handleChange=function(e){t.props.acceptSearchDisplayMode(null,e),t.setState({openDisplayMenu:!1})},t.state={open:!1,openDisplayMenu:!1,doSubEdit:!1,anchorEl:null,openMenu:!1},t}return t=i,(o=[{key:"shouldComponentUpdate",value:function(e,t){var o=this.props,n=o.facets,r=o.sorts,i=o.hits,a=o.order,s=o.mappedFQ,l=o.queryId,c=o.searchType,u=o.displayMode,d=o.selectedIds,p=o.showFacets,h=o.multiSelection,f=o.theme;return!(e.hits===i&&e.order===a&&e.queryId===l&&e.displayMode===u&&e.searchType===c&&e.showFacets===p&&e.theme===f&&e.multiSelection===h&&t.open===this.state.open&&t.openMenu===this.state.openMenu&&t.openDisplayMenu===this.state.openDisplayMenu&&(0,D.wU)(e.sorts,r)&&(0,D.wU)(e.facets,n)&&(0,D.wU)(e.mappedFQ,s)&&(0,D.wU)(e.selectedIds,d))}},{key:"renderSubscribe",value:function(){var e,t,o,n=this.props,r=n.intl,i=n.rights,a=n.queryId,s=n.query,l=n.profileData,c=n.subscriptionId,u=n.onSubscribe,d=n.onEditSubscribe,p=n.interestList,h=n.parentRelax,f=n.subscribeLegend,m=n.locale,y=n.showSearchTool,b=r.formatMessage;
1c||this.state.doSubEdit?(e=b({id:"SearchTools.editSubscribe",defaultMessage:"Edit"}),t=!0):(t=!1,e=f&&f[m]||b({id:"SearchTools.subscribe",defaultMessage:"Subscribe"}));var g=s,S=c;if(l&&l.query&&(o=l.query.replace("profile:","").replace("h::",""),g=l.display,p&&p.get(o)&&(t=!0,e=b({id:"SearchTools.editSubscribe",defaultMessage:"Edit"}),S=p.get(o))),i&&y&&(i.get("allowActivationOfPublicNotification")&&o||i.get("allowActivationOfNotification")&&!o)){if(t&&(S||o))return this.editToolButton(e,"alarm",(function(){return d(g,"10","html","weekly",S,a,o)}));if(!t)return this.renderToolButton(e,"alarm",(function(){return u(g,"10","html","weekly",S,a,o)}))}return h.editing?this.renderToolButton(e,"alarm",(function(){return null})):null}},{key:"launchSearchToEditPredefinedSearch",value:function(e){var t=this,o=this.props,n=o.token,r=o.beginSearch,i=o.locale,a=o.onEditSearch,s=o.setPredefinedSearchInfo;j.h.contentGraphById(n,e).then((function(o){var l=o&&o[e],c=l&&l.properties&&l.properties.savedQuery,u=!!c&&Object.keys(c).length>0,d=l&&l.properties&&l.properties.Query,p=!!d&&Object.keys(d).length>0;if(Oe()(s)&&s({lastModified:Date.now(),idd:e,isFrontEndCreated:u}),u){var h=c&&c.q;if(h){var f=c.id,m=!!c&&Array.isArray(c.query)&&c.query.length>0,y=h.searchContext,b=f&&"advancedsearch"===y;if(m&&!y&&Oe()(r))r({query:c.query[0],sf:"sf:"+c.sectionFacet});else if(b&&Oe()(a)){var g=Fe().v4();j.h.search(n,i,{searchType:"all",sf:"*",queryid:g,advancedQuery:h,fl:"id",pageNo:1,pageSize:1,locale:i,includeFacets:!1}).then((function(){a(g)})).catch()}}}else p&&Oe()(r)&&j.h.queryById(n,t.props.params.queryid).then((function(e){r({query:d[e.locale],sf:"sf:"+e.item.sectionFacet})})).catch()})).catch()}},{key:"renderToolButton",value:function(e,t,o){var n=this.props,r=n.theme,i=n.classes;return"diaporama"===n.displayMode?O().createElement(a.default,{size:"small",icon:O().createElement(l.default,{fontSize:"small"},t),style:{color:"black",height:"24px",marginRight:"4px",textTransform:"uppercase"},onClick:o,label:e,variant:"outlined"}):O().createElement(te(),{maxWidth:r.breakpoints.values.small-1,component:"span"},(function(n){return n?O().createElement(d.default,{classes:{root:i.searchToolButton},onClick:o},O().createElement(l.default,{className:i.searchToolIcon},t)):O().createElement(d.default,{onClick:o},O().createElement(l.default,{className:i.searchToolIcon,style:{paddingRight:5}},t),O().createElement("span",{className:i.searchToolLabel},e))}))}},{key:"editToolButton",value:function(e,t,o){var n=this.props,r=n.theme,i=n.classes,a=n.styleClassMap;return O().createElement(te(),{maxWidth:r.breakpoints.values.small-1,component:"span"},(function(n){return n?O().createElement(d.default,{classes:{root:i.searchToolButton},onClick:o},O().createElement(l.default,{className:a.subscriptionIcon},t)):O().createElement(d.default,{onClick:o},O().createElement(l.default,{className:a.subscriptionIcon,style:{paddingRight:5}},t),O().createElement("span",{className:i.searchToolLabel},e))}))}},{key:"render",value:function(){var e=this,t=this.props,o=t.facets,n=t.onLoadFacetValues,r=t.onLoadCalendarFacetValues,i=t.sorts,s=t.hits,c=t.order,u=t.mappedFQ,p=t.onAddFacetValue,h=t.onRemoveFacetValue,f=t.onSuppressFacetValue,m=t.onSetSort,y=t.displayMode,b=t.showSort,g=t.onShare,v=t.showDisplay,w=t.acceptSearchDisplayMode,E=t.onPrint,C=t.onEditSearch,R=t.facetSelections,I=t.onRemoveAllFacets,k=t.onCardAction,T=t.searchType,q=t.selectedIds,M=t.multiSelection,x=t.queryId,F=t.profileData,A=t.intl,P=t.showList,L=t.isDiaporama,j=t.showMosaic,N=t.showWaterfall,_=t.showShare,z=t.onShowMore,B=t.showFacets,V=t.showFavorite,W=t.settingsFromCMS,Z=t.theme,Q=t.classes,H=t.token,G=t.onCreateInterestProfile,J=t.rights,U=A.formatMessage,K=(0,Te.F)(u),X=O().createElement(l.default,{className:Q.searchToolIcon,style:{overflow:"visible"}},"filter_list");K>0&&(X=O().createElement(Se.default,{color:"primary",badgeContent:K,style:{padding:0,lineHeight:"14px",fontSize:"1.2rem"},classes:{badge:Q.badge,colorPrimary:Q.colorP}},O().createElement(Ee.default,{classes:{root:Q.searchToolIcon}})));var Y=(i.find((function(e){return e.value.includes(c)}))||{label:""}).label,$=null;return v&&($=O().createElement(ve.default,{id:"simple-menu2",value:y,anchorEl:this.state.anchorDisplayEl,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"right",vertical:"top"},open:this.state.openDisplayMenu,onClose:this.handleDisplayRequestClose},P&&O().createElement(we.default,{key:"list",onClick:function(){return e.handleChange("list")}},U({id:"SearchTools.List",defaultMessage:"List"})),j&&O().createElement(we.default,{key:"mosaic",onClick:function(){return e.handleChange("mosaic")}},U({id:"SearchTools.Grid",defaultMessage:"Mosaic"})),N&&O().createElement(we.default,{key:"waterfall",onClick:function(){return e.handleChange("waterfall")}},U({id:"SearchTools.Waterfall",defaultMessage:"Waterfall"})))),O().createElement("div",null,!L&&this.renderSubscribe(),M&&this.renderToolButton(U({id:"SearchResultCard.add",defaultMessage:"Add"}),"playlist_add",(function(){return k(S.Z.ACTION_ADD_LIST,q.length>
10?q:x,"",V,H)})),_&&this.renderToolButton(U({id:"ShareButton.share",defaultMessage:"Share"}),"share",(function(){return g(q)})),v&&$&&"diaporama"===!y&&O().createElement(O().Fragment,null,O().createElement(te(),{maxWidth:Z.breakpoints.values.small-1},O().createElement("span",null,O().createElement(d.default,{classes:{root:Q.searchToolButton},onClick:this.handleDisplayClick},O().createElement(l.default,{className:Q.facetDrawerIconSize},"list"===y?"view_list":"mosaic"===y?"view_module":"view_week")),$)),O().createElement(te(),{minWidth:Z.breakpoints.values.small,component:"span"},O().createElement("span",null,O().createElement(qe.Z,{htmlFor:"display",label:U("list"===y?{id:"SearchTools.List",defaultMessage:"List"}:"mosaic"===y?{id:"SearchTools.Grid",defaultMessage:"Grid"}:{id:"SearchTools.Waterfall",defaultMessage:"Waterfall"}),style:{height:42,fontSize:"1.4rem"},icon:O().createElement(l.default,null,"list"===y?"view_list":"mosaic"===y?"view_module":"view_week"),onClick:this.handleDisplayClick}),$))),"AdvancedQuery"===T&&this.renderToolButton(U({id:"SearchTools.editSearch",defaultMessage:"Edit"}),"edit",(0,D.PF)((function(){return C(x)}))),O().createElement(te(),{minWidth:Z.breakpoints.values.medium+1,component:"span"},"diaporama"!==y&&O().createElement(ke.Z,{intl:A,rights:J,queryId:x,profileData:F,onCreateInterestProfile:G,launchSearchToEditPredefinedSearch:this.launchSearchToEditPredefinedSearch}),W&&"false"===W.hidePrint&&"diaporama"!=y&&O().createElement(d.default,{onClick:(0,D.PF)((function(){return E(q,x,s)})),style:{height:42}},O().createElement(l.default,{className:Q.searchToolIcon,style:{paddingRight:5}},"print"),O().createElement("span",{className:Q.searchToolLabel},U({id:"SearchTools.print",defaultMessage:"Print"})))),b&&"diaporama"!==y&&O().createElement(te(),{minWidth:Z.breakpoints.values.medium+1,component:"span"},O().createElement(qe.Z,{htmlFor:"sort",label:Y,style:{height:42,fontSize:"1.4rem"},icon:O().createElement(Ce.Z,null),onClick:this.handleClick}),O().createElement(ve.default,{id:"simple-menu",anchorEl:this.state.anchorEl,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"right",vertical:"top"},open:this.state.openMenu,onClose:this.handleRequestClose},i.map((function(t,o){return O().createElement(we.default,{key:"sort_".concat(o),onClick:function(){return e._handleSetSort(t.value)},value:t.value,selected:c===t.value},t.label)})))),L&&O().createElement("span",null,O().createElement(a.default,{color:"primary",size:"small",icon:O().createElement(Ee.default,{fontSize:"small"}),style:{border:"2px solid white",color:"white",height:"24px",marginLeft:"0px",textTransform:"uppercase"},onClick:(0,D.PF)((function(){return e.handleOpen()})),label:U({id:"SearchTools.filter",defaultMessage:"Voir les filtres"}),variant:"outlined"})),O().createElement(te(),{maxWidth:Z.breakpoints.values.small-1},O().createElement("span",null,O().createElement(d.default,{classes:{root:Q.searchToolSort},variant:"contained",onClick:(0,D.PF)((function(){return e.handleOpen()}))},X))),O().createElement(te(),{minWidth:Z.breakpoints.values.small,maxWidth:Z.breakpoints.values.medium},O().createElement(d.default,{onClick:(0,D.PF)((function(){return e.handleOpen()})),style:{height:42}},X,O().createElement("span",{className:Q.searchToolLabel,style:{marginLeft:"16px"}},U({id:"SearchTools.tools",defaultMessage:"Tools"})))),O().createElement(Ie.Z,{isDiaporama:L,intl:A,open:this.state.open,facets:o,sorts:i,showDisplay:v,acceptSearchDisplayMode:w,displayMode:y,hits:s,order:c,mappedFQ:u,queryId:x,onOpen:this.handleOpen,onClose:this.handleClose,onAddFacetValue:p,onRemoveFacetValue:h,onSuppressFacetValue:f,onSetSort:m,showClearFacets:!!R.length,onRemoveAllFacets:I,onShowMore:z,showFacets:B,onLoadFacetValues:n,onLoadCalendarFacetValues:r}))}}])&&De(t.prototype,o),n&&De(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(M.Component),ge.propTypes={classes:I().object.isRequired,theme:I().object.isRequired,facets:I().array,sorts:I().array,hits:I().number,token:I().string,showList:I().bool,isDiaporama:I().bool,showMosaic:I().bool,showWaterfall:I().bool,multiSelection:I().bool,query:I().string,order:I().string,
1subscriptionId:I().string,mappedFQ:I().object,queryId:I().string.isRequired,interestList:I().object,profileData:I().object,displayMode:I().oneOfType([I().string,I().bool]),showDisplay:I().bool,showFavorite:I().bool,showSort:I().bool,showShare:I().bool,showFacets:I().bool,showSearchTool:I().bool,intl:he.gm.isRequired,searchType:I().string.isRequired,selectedIds:I().array.isRequired,selectedIdsForDownload:I().array.isRequired,selectedIdsForPrintAssets:I().array.isRequired,selectedIdsForApproval:I().array.isRequired,facetSelections:I().array.isRequired,onEditSubscribe:I().func.isRequired,acceptSearchDisplayMode:I().func.isRequired,onLoadFacetValues:I().func.isRequired,onLoadCalendarFacetValues:I().func.isRequired,onAddFacetValue:I().func.isRequired,onRemoveFacetValue:I().func.isRequired,onSuppressFacetValue:I().func.isRequired,onSetSort:I().func.isRequired,onShare:I().func.isRequired,onCreateInterestProfile:I().func.isRequired,onPrint:I().func.isRequired,onPrintAssets:I().func.isRequired,onCardAction:I().func,rights:I().object,onSubscribe:I().func.isRequired,onEditSearch:I().func.isRequired,onRemoveAllFacets:I().func.isRequired,onShowMore:I().func.isRequired,beginSearch:I().func.isRequired,locale:I().string.isRequired,setPredefinedSearchInfo:I().func.isRequired,settingsFromCMS:I().object,parentRelax:I().object,subscribeLegend:I().object,styleClassMap:I().object.isRequired},ge.defaultProps={showFacets:!0},_e=(be=ge).prototype,ze="launchSearchToEditPredefinedSearch",Be=[Re.Z],Ve=Object.getOwnPropertyDescriptor(be.prototype,"launchSearchToEditPredefinedSearch"),We=be.prototype,Ze={},Object.keys(Ve).forEach((function(e){Ze[e]=Ve[e]})),Ze.enumerable=!!Ze.enumerable,Ze.configurable=!!Ze.configurable,("value"in Ze||Ze.initializer)&&(Ze.writable=!0),Ze=Be.slice().reverse().reduce((function(e,t){return t(_e,ze,e)||e}),Ze),We&&void 0!==Ze.initializer&&(Ze.value=Ze.initializer?Ze.initializer.call(We):void 0,Ze.initializer=void 0),void 0===Ze.initializer&&(Object.defineProperty(_e,ze,Ze),Ze=null),ye=be))||ye,He=o(55271),Ge=o(93619);const Je={type:"diaporamaPage",options:[{label:"Action button",type:"Section",id:"actionButton",unlocks:[{label:"selected subscription icon",type:"Color",id:"subscriptionIconColor"}]},{label:"Summary",type:"Section",id:"summary",unlocks:[{label:"Text Alignment",type:"Buttons",id:"textAlign",props:{labels:[O().createElement("i",{className:"nc-icon-outline text_align-left"}),O().createElement("i",{className:"nc-icon-outline text_align-center"}),O().createElement("i",{className:"nc-icon-outline text_align-right"}),O().createElement("i",{className:"nc-icon-outline text_align-justify"})],tooltips:["Left","Center","Right","Justify"],values:["left","center","right","justify"]}}]}],defaults:{subscriptionIconColor:{},textAlign:"left",padding:"0 16px"},rules:function(e){var t=(0,He.Z)({}).rules;return t.a=(0,He.Z)({}).setProperty("color",(0,Ge.Gj)("primary")).rules,{root:t,subscriptionIcon:(0,He.Z)({}).setColor(e.subscriptionIconColor).rules,textStyle:(0,He.Z)({}).setProperty("textAlign",e.textAlign).setProperty("padding","0 16px").rules}}};function Ue(e){return Ue="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},Ue(e)}var Ke,Xe;function Ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function et(e,t){return et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},et(e,t)}function tt(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 o,n=nt(e);if(t){var r=nt(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return ot(this,o)}}function ot(e,t){if(t&&("object"===Ue(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 nt(e){return nt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nt(e)}var rt=(0,he.D2)((function(e){return{resultList:{textAlign:"left",marginTop:"-0.5rem"},leftResultList:{marginRight:0,"@media (min-width: 1025px)":{marginRight:360}},rightResultList:{marginRight:0,"@media (min-width: 1025px)":{marginLeft:360}},facet:{width:350,textAlign:"left","@media (maxWidth: 1024px)":{display:"none"}},leftFacet:{float:"left"},rightFacet:{float:"right"},iconNoImage:{marginLeft:"8px",marginRight:"8px"},expandMoreLessBtn:{top:"50%",width:"48px",right:"0",textAlign:"center",position:"absolute",transform:"translateY(-50%)"},expandColor:{fontSize:"2.4rem",color:e.palette.textColor},listItem:{height:48,paddingRight:16},listCaptions:{fontSize:"1.6rem"}}}),{withTheme:!0})(Ke=(0,u.Z)({copyStatics:["defaultProps"]})(Ke=(0,he.JQ)((function(e,t){var o=t.router,n=t.params.queryid,r=(0,A.uA)(e,n),i=t.location.state&&t.location.state.queryStatement,a=t.location.state&&t.location.state.yOffset,s=t.location.state&&t.location.state.subscriptionId,l=e.getIn(["account","lastSubId"]);l&&(s=l);var c=null;if(r&&r.queryComponents&&r.queryComponents.size){var u=r.queryComponents.get(0);u.get("isProfile")&&(c=u.toJS())}return{addToList:o&&o.location&&o.location.query&&o.location.query.idToAdd,downloadToAdd:o&&o.location&&o.location.query&&o.location.query.downloadToAdd,loading:e.getIn(["ui","showLoader"]),token:e.getIn(["account","token"]),solrDebug:e.getIn(["settings","showSolrQuery"]),rights:e.getIn(["account","rights"]),locale:e.getIn(["language","locale"]),interestList:(0,re.dE)(e),cantReserveMoreThanOne:e.getIn(["settings","reservationNoPlace"]),showFavorite:e.getIn(["settings","allowAnonymousBasket"]),haveQueryState:(0,A.LL)(e,n),mappedFQ:(0,A.TZ)(e,n),facets:(0,A.ZS)(e,n
1),displayMode:(0,A.QA)(e),facetSelections:(0,A.tm)(e,n),order:(0,A.mK)(e,n),sorts:(0,A.KW)(e,n),resultInfo:r,profileData:c,immutablePage:(0,A.iX)(e,n),query:(0,A.oK)(e,n),searchType:(0,A.ar)(e,n),searchMode:(0,A.DA)(e,n),searchSections:(0,A.hW)(e,n),searchListState:(0,A.yT)(e,n),searchSectionMode:(0,A.Jm)(e),queryId:n,queryStatement:i,subscriptionId:s,yOffset:a,settingsFromCMS:(0,F.jQ)(e),queryLabel:(0,A.r6)(e,n),newComment:o&&o.location&&o.location.query&&o.location.query.newComment,newCommentNoticeId:o&&o.location&&o.location.query&&o.location.query.newCommentNoticeId,newCommentDisplayMode:o&&o.location&&o.location.query&&o.location.query.newCommentDisplayMode,user:e.getIn(["account","user"]),userOmnidexid:e.getIn(["account","omnidexid"]),exploreSf:(0,A.IY)(e)}}),(function(e,t){return{onSetSort:function(o){e(de.HD(t.params.queryid,o))},onAddFacetValue:function(o,n){e(de.lV(t.params.queryid,o,n))},onRemoveFacetValue:function(o,n){e(de.Ru(t.params.queryid,o,n))},onCreateInterestProfile:function(t){e(se.openCreateInterestProfileDLG(t))},onSuppressFacetValue:function(o,n){e(de.Yd(t.params.queryid,o,n))},onCardAction:function(o,n,r,i,a,s,l,c,u){switch(o){case S.Z.ACTION_ADD_FAVORITE:e(ae.Dt(n));break;case S.Z.ACTION_REMOVE_FAVORITE:e(ae.E7(n));break;case S.Z.ACTION_ADD_LIST:e(i||a?se.openBasketListDlg(n,r):ce.showSignIn(window.location.pathname+window.location.search+"?idToAdd="+n,t.location&&t.location.state));break;case S.Z.ACTION_SHARE:e(se.openShareDialog("result",1,{ids:[n]}));break;case S.Z.ACTION_DOWNLOAD:a||s&&s.get("allowDirectDownload")?e(se.openBasketDownloadDlg(n,r,"",l,c)):e(ce.showSignIn(window.location.pathname+window.location.search+"?downloadToAdd="+n,t.location&&t.location.state));break;case S.Z.ACTION_PRINT:e(se.openPrintDlg([n],null,1,!1,void 0,void 0,void 0,u,void 0,void 0,!0,!0,!0));break;case S.Z.ACTION_PRINT_ASSETS:e(se.openPrintDlg([n],null,1,!1,null,l,!1,u,void 0,void 0,!0,!0,!0));break;case S.Z.ACTION_DOWNLOAD_CONTENT:j.h.addToPersonalSpace(a||t.token,n,t.locale).then((function(t){t&&t.resp&&e(ce.showTranslatedMessage({id:"DialogSaga.addToPersonalSpace",defaultMessage:"Content added to my repository."}))}));break;case S.Z.ACTION_DOWNLOAD_FLIX:j.h.downloadFlix(a||t.token,n).then((function(t){t&&"OK"===t.code&&e(ce.showTranslatedMessage({id:"SearchResultCard.flixDownloaded",defaultMessage:"Flix added to your personal space."}))}))}},goToSearch:function(t){e((0,oe.VF)("/search/"+t))},onShare:function(t,o,n,r){e(se.openShareDialog("result",n,{ids:t,queryId:o,profileData:r}))},onPrint:function(t,o,n,r){e(se.openPrintDlg(t,t.length>0?null:o,t.length>0?null:n,!0,void 0,void 0,void 0,r,void 0,void 0,!0,!0,!0))},onPrintAssets:function(t,o,n,r){e(se.openPrintDlg(t,t.length>0?null:o,t.length>0?null:n,!0,null,r,!1,void 0,void 0,void 0,!0,!0,!0))},onSubscribe:function(t,o,n,r,i,a,s){e(se.saveSubscription(a,r,o,n,i,s))},onEditSubscribe:function(t,o,n,r,i,a,s){e(se.openEditSubscriptionDialog(t,o,n,r,i,a,s))},resetSubId:function(){e((0,ne.m0)())},onLoad:function(o,n,r){e(de.Xj(t.params.queryid,o,n,64)),r&&e((0,ne.Ki)())},onExploreClick:function(t,o,n){e(de.T3(t,o,n))},onResultClicked:function(o,n,r,i,a,s){e(ce.showNotice(n,{pathname:t.location.pathname,state:{yOffset:i}},o,r.posInSet,a,s))},onEditSearch:function(t){e(ie.DJ(t))},onShowMore:function(o,n,r){e(se.openDialog(le.Vg,{queryId:t.params.queryid,index:o,dialogTitle:n,filters:r}))},onRemoveAllFacets:function(){e(de.rG(t.params.queryid))},onLoadMoreResult:function(o,n,r){e(de.Oh(t.params.queryid,n,r))},setCurrentQuery:function(t){e(de.Mm(t))},acceptSearchDisplayMode:function(t,o){e(de.cz(t,o))},beginSearch:function(t){e(de.a$(t.query,t.sf))},onMakeComment:function(t){e(se.openDialog(le.Nf,t))},onRequestLogin:function(o,n){e(ce.showSignIn("".concat(window.location.pathname).concat(window.location.search,"?newComment=true&newCommentNoticeId=").concat(o,"&newCommentDisplayMode=").concat(n),t.location&&t.location.state))},setPredefinedSearchInfo:function(t){e((0,ue.yV)(t))},dispatch:e}}))((Xe=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&&et(e,t)}(u,e);var t,o,n,r=tt(u);function u(){var e;Ye(this,u);for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];return(e=r.call.apply(r,[this].concat(o))).state={selectedIds:e.props.selectedIds,selectedIdsForDownload:[],selectedIdsForPrintAssets:[],selectedIdsForApproval:[],displayMode:!1,findOnOpen:!0},e._onSelectResultItem=function(t,o,n,r,i){var a=(0,me.$)(e.state,t,o,n,r,i),s=a.selectedIds,l=a.selectedIdsForDownload,c=a.selectedIdsForPrintAssets,u=a.selectedIdsForApproval;e.setState({selectedIds:s,selectedIdsForDownload:l,selectedIdsForPrintAssets:c,selectedIdsForApproval:u})},e.resultClicked=function(t,o,n){var r=e.props,i=r.queryId,a=r.query;(0,r.onResultClicked)(i,t,o,window.pageYOffset,a,n)},e.onRSSClick=function(t){var o=e.props,n=o.profileData,r=o.locale;t.stopPropagation(),t.preventDefault(),window.open("/in/rest/api/rss?q="+encodeURIComponent(n?n.query:e.getCurrentQuery(e.props))+"&locale="+r)},e.renderQueryStatement=function(t){var o=e.props,n=o.resultInfo,r=o.profileData,i=o.queryId,a=o.query,s=o.searchMode,l=o.searchSections,c=o.queryStatement,u=o.intl,d=o.queryLabel;
1if(r)return e.renderProfileStatement(t);var p=null;if(null!=n&&(p=n.hits)>50&&(p=50),null==p)return null;var h="-";s&&s.startsWith&&l&&l.length&&"*"!==s&&!s.startsWith("alpha:")&&(h=l.reduce((function(e,t){return t.sf===s?O().createElement("span",null,t.title):e}),""));var f="-";if(c)if(c.message)f=O().createElement("span",{style:{fontWeight:"bold"}},u.formatMessage(c.message,c.params));else{if("DO_NOT_DISPLAY_QS"===c)return O().createElement($._H,{id:"SearchPage.resultCountFor",defaultMessage:"{hits, number} {hits, plural, one {result} other {results}} {searchModeTitle, select, - {} other {in {searchModeTitle}}} {queryStatement, select, - {} other }",values:{hits:p,queryStatement:f,searchModeTitle:h}});f=O().createElement("span",{style:{fontWeight:"bold"}},c)}else if(e.showQuerystatement(i,a))if(d)f=O().createElement("span",{style:{fontWeight:"bold"}},d);else{var m=a;i&&0===i.indexOf("N-EXPLORE")&&(m=m.substring(0,m.indexOf(":")).replace(/_/g," ")+m.substring(m.indexOf(":"),m.length)),f=O().createElement("span",{style:{fontWeight:"bold"}},m)}return t&&(f=O().createElement("span",null,f,t)),O().createElement($._H,{id:"SearchPage.resultCountFor",defaultMessage:"{hits, page} {hits, plural, one {result} other {results}} {searchModeTitle, select, - {} other {in {searchModeTitle}}} {queryStatement, select, - {} other {for: {queryStatement}}}",values:{hits:p,queryStatement:f,searchModeTitle:h}})},e.renderProfileStatement=function(t){var o=e.props,n=o.resultInfo,r=o.profileData,i=o.theme,a=null;return null!=n&&(a=n.hits),null==a?null:O().createElement("div",null,r.thumbnail&&a?O().createElement("div",{style:{float:"left",width:"100px",height:"80px",marginRight:"8px",marginBottom:"8px",backgroundImage:"url(".concat((0,fe.ZP)({size:128,icon:r.thumbnail}),")"),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",display:X()("(max-width: ".concat(i.breakpoints.values.xsmall-1,"px)")).matches?"none":"block"}}):null,O().createElement("div",null,O().createElement($._H,{id:"SearchPage.resultCountFor",defaultMessage:"{hits, number} {hits, plural, one {result} other {results}} {searchModeTitle, select, - {} other {in {searchModeTitle}}} {queryStatement, select, - {} other {for: {queryStatement}}}",values:{hits:a,queryStatement:"-",searchModeTitle:O().createElement("span",null,O().createElement("span",null,O().createElement("b",null,r.display)),t)}})),"<p><br></p>"!==r.description?O().createElement("div",{dangerouslySetInnerHTML:{__html:r.description}}):null)},e}return t=u,(o=[{key:"componentWillMount",value:function(){this.props.resetSubId(),this.props.setCurrentQuery(this.getCurrentQuery(this.props)),this.props.onLoad(this.props.showLike,this.props.isRatingEnabled,this.props.cantReserveMoreThanOne)}},{key:"componentDidMount",value:function(){this.props.addToList&&(this.props.router.replace("".concat(window.location.pathname).concat(window.location.search.split("?idToAdd=")[0])),this.props.onCardAction(S.Z.ACTION_ADD_LIST,this.props.addToList,"",this.props.showFavorite,this.props.token)),this.props.downloadToAdd&&(this.props.router.replace("".concat(window.location.pathname).concat(window.location.search.split("?downloadToAdd=")[0])),this.props.onCardAction(S.Z.ACTION_DOWNLOAD,[this.props.downloadToAdd],"",this.props.showFavorite,this.props.token))}},{key:"componentWillUnmount",value:function(){this.props.setCurrentQuery()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,o=t.queryId,n=t.mappedFQ;o&&o===e.queryId||this.setState({selectedIds:[],selectedIdsForDownload:[],selectedIdsForPrintAssets:[],selectedIdsForApproval:[]}),n&&w()(n,e.mappedFQ)||this.setState({selectedIds:[],selectedIdsForDownload:[],selectedIdsForPrintAssets:[],selectedIdsForApproval:[]}),this.getCurrentQuery(this.props)!==this.getCurrentQuery(e)&&e.setCurrentQuery(this.getCurrentQuery(e))}},{key:"getCurrentQuery",value:function(e){var t;return e.query&&!e.queryStatement&&("*"===(t=e.query.trim())&&(t=null),"AdvancedQuery"===e.searchType&&(t=null),e.queryId.startsWith("N-")&&(t=null)),t}},{key:"showQuerystatement",value:function(e,t){return null!=e&&(!!e.startsWith("N-EXPLORE")||!e.startsWith("N-")&&t&&"*"!==t.trim())}},{key:"render",value:function(){var e=this,t=this.props,o=t.resultInfo,n=(t.haveQueryState,t.hideZmat),r=t.onExploreClick,u=t.exploreSf,d=t.showDisplay,p=t.onLoadMoreResult,h=t.onMakeComment,f=t.onRequestLogin,m=t.queryId,y=t.intl,b=t.token,g=t.solrDebug,S=t.searchListState,v=t.multiSelection,w=t.rights,E=t.facetDisposition,C=t.styleClassMap,R=t.loading,I=t.profileData,k=t.onCardAction,T=t.setPredefinedSearchInfo,q=t.showFavorite,M=t.showActionButtons,x=t.settingsFromCMS,F=t.thumbnailFormat,A=t.showDocumentThumbn
1ail,P=t.showRSS,L=t.isRatingEnabled,j=t.theme,N=t.beginSearch,_=t.subscriptionId,z=t.relax,B=t.showLike,V=t.router,W=t.newComment,Z=t.newCommentNoticeId,Q=t.user,H=t.userOmnidexid,G=t.isTimeMode,J=t.cantReserveMoreThanOne,K=y.formatMessage,X=!1;null!=o&&o.pageNo<o.maxPageNo&&(X=!0);var $,ee=this.getCurrentQuery(this.props);return(ee||I)&&(Y.ZP,"/in/rest/api/rss?q=".concat(I?I.query:ee),P&&($=O().createElement(te(),{minWidth:j.breakpoints.values.xsmall+1},O().createElement(c.Z,{onClick:this.onRSSClick,style:{verticalAlign:"bottom",width:"22px",height:"22px",color:"#FD7D00",cursor:"pointer"}})))),O().createElement("div",{style:{position:"relative"}},O().createElement("div",{style:{display:"flex",margin:"4px",justifyContent:"space-between"}},O().createElement(a.default,{size:"small",icon:O().createElement(l.default,null,"keyboard_arrow_left"),style:{color:"black",height:"24px",textTransform:"uppercase"},onClick:(0,D.PF)((function(){return e.props.goToSearch(m)})),label:K({id:"SearchTools.timelineRetour",defaultMessage:"Retour vers la recherche"})}),O().createElement(Qe,{styleClassMap:C,rights:w,showDisplay:d,displayMode:"diaporama",multiSelection:v,subscriptionId:_,onCardAction:k,profileData:I,selectedIds:this.state.selectedIds,selectedIdsForDownload:this.state.selectedIdsForDownload,selectedIdsForPrintAssets:this.state.selectedIdsForPrintAssets,selectedIdsForApproval:this.state.selectedIdsForApproval,showFacets:"none"!==E,beginSearch:N,locale:y.locale,showFavorite:q,setPredefinedSearchInfo:T,settingsFromCMS:x,token:b,showSort:this.props.showSort,showShare:this.props.showShare,facets:this.props.facets,sorts:this.props.sorts,showList:this.props.showList,showMosaic:this.props.showMosaic,showWaterfall:this.props.showWaterfall,query:this.props.query,order:this.props.order,mappedFQ:this.props.mappedFQ,queryId:this.props.queryId,interestList:this.props.interestList,intl:this.props.intl,searchType:this.props.searchType,facetSelections:this.props.facetSelections,onEditSubscribe:this.props.onEditSubscribe,acceptSearchDisplayMode:this.props.acceptSearchDisplayMode,onAddFacetValue:this.props.onAddFacetValue,onRemoveFacetValue:this.props.onRemoveFacetValue,onSuppressFacetValue:this.props.onSuppressFacetValue,onSetSort:this.props.onSetSort,onShare:this.props.onShare,onCreateInterestProfile:this.props.onCreateInterestProfile,onPrint:function(t,o,n){return e.props.onPrint(t,o,n,(0,pe.M)(e.props))},onPrintAssets:this.props.onPrintAssets,onSubscribe:this.props.onSubscribe,onEditSearch:this.props.onEditSearch,onRemoveAllFacets:this.props.onRemoveAllFacets,onShowMore:this.props.onShowMore,parentRelax:this.props.relax,subscribeLegend:this.props.subscribeLegend})),O().createElement(U,{isTimeMode:G,resultInfo:o,intl:y,loading:R,hideZmat:n,cantReserveMoreThanOne:J,showFavorite:q,isRatingEnabled:L,isEditing:z.editing,isBuilding:z.building,showLike:B,multiSelection:v,profileData:I,thumbnailFormat:F,showDocumentThumbnail:A,showActionButtons:M,queryId:m,queryStatement:this.props.query,searchListState:S,selectedIds:this.state.selectedIds,onCardAction:function(t,o,n,r,i,a,s,l){return e.props.onCardAction(t,o,n,r,i,a,s,l,(0,pe.M)(e.props))},onSelectItem:this._onSelectResultItem,onExploreClick:r,exploreSf:u,onResultClicked:this.resultClicked,onLoadMoreResult:p,onMakeComment:h,onRequestLogin:f,hasMore:X,solrDebug:g,rights:w,token:b,settingsFromCMS:x,router:V,newComment:W,newCommentNoticeId:Z,user:Q,theme:j,userOmnidexid:H,textStyle:C.textStyle,textAlignment:z.styleValues.textAlign,relax:z,onShare:this.props.onShare}),O().createElement(i.default,{style:{height:"36px",backgroundColor:"#191919",paddingLeft:"auto"},elevation:6,position:"relative"},O().createElement("div",{style:{margin:"auto 16px",display:"flex",justifyContent:"space-between"}},O().createElement("div",{style:{display:"flex",margin:"auto 0",backgroundColor:"#191919"}},O().createElement(Qe,{isDiaporama:!0,styleClassMap:C,rights:w,showDisplay:d,displayMode:"diaporama",multiSelection:v,subscriptionId:_,onCardAction:k,profileData:I,selectedIds:this.state.selectedIds,selectedIdsForDownload:this.state.selectedIdsForDownload,selectedIdsForPrintAssets:this.state.selectedIdsForPrintAssets,selectedIdsForApproval:this.state.selectedIdsForApproval,showFacets:"none"!==E,beginSearch:N,locale:y.locale,showFavorite:q,setPredefinedSearchInfo:T,settingsFromCMS:x,token:b,showSort:this.props.showSort,showShare:this.props.showShare,facets:this.props.facets,sorts:this.props.sorts,showList:this.props.showList,showMosaic:this.props.showMosaic,showWaterfall:this.props.showWaterfall,query:this.props.query,order:this.props.order,mappedFQ:this.props.mappedFQ,queryId:this.props.queryId,interestList:this.props.interestList,intl:this.props.intl,searchType:this.props.searchType,facetSelections:this.props.facetSelections,onEditSubscribe:this.props.onEditSubscribe,acceptSearchDisplayMode:this.props.acceptSearchDisplayMode,onAddFacetValue:this.props.onAddFacetValue,onRemoveFacetValue:this.props.onRemoveFacetValue,onSuppressFacetValue:this.props.onSuppressFacetValue,onSetSort:this.props.onSetSort,onShare:this.props.onShare,onCreateInterestProfile:this.props.onCreateInterestProfile,onPrint:function(t,o,n){return e.props.onPrint(t,o,n,(0,pe.M)(e.props))},onPrintAssets:this.props.onPrintAssets,onSubscribe:this.props.onSubscribe,onEditSearch:this.props.onEditSearch,onRemoveAllFacets:this.props.onRemoveAllFacets,onShowMore:this.props.onShowMore,parentRelax:this.props.relax,subscribeLegend:this.props.subscribeLegend,showSearchTool:this.props.showSearchTool})),O().createElement("div",{style:{margin:"auto 0"}}
1,this.renderQueryStatement($)))),R&&!(S.imResultSet&&S.imResultSet.size)&&O().createElement("div",{style:{position:"absolute",top:40,left:0,width:"100%",textAlign:"center",display:"block"}},O().createElement(s.default,{size:60})))}}])&&$e(t.prototype,o),n&&$e(t,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(M.Component),Xe.propTypes={accessibilityLegend:I().func.isRequired,theme:I().object.isRequired,intl:he.gm.isRequired,queryId:I().string.isRequired,subscriptionId:I().string,downloadToAdd:I().string,idToAdd:I().string,displayModeCMS:I().string,queryStatement:I().oneOfType([I().string,I().object]),query:I().string,addToList:I().string,haveQueryState:I().bool.isRequired,mappedFQ:I().object.isRequired,relax:I().object.isRequired,facets:I().array.isRequired,facetSelections:I().array.isRequired,cantReserveMoreThanOne:I().bool,showLike:I().bool,isTimeMode:I().bool,showFavorite:I().bool,order:I().string.isRequired,sorts:I().array.isRequired,resultInfo:I().object.isRequired,profileData:I().object,immutablePage:I().object,location:I().object,searchMode:I().oneOfType([I().string,I().object]),searchType:I().string,token:I().string,searchSections:I().array,solrDebug:I().bool,showList:I().bool,showMosaic:I().bool,showWaterfall:I().bool,showShare:I().bool,showSearchTool:I().bool,displayMode:I().oneOfType([I().string,I().bool]),hideZmat:I().bool,rights:I().object,selectedIds:I().array.isRequired,onEditSubscribe:I().func.isRequired,onSubscribe:I().func.isRequired,onSetSort:I().func.isRequired,onAddFacetValue:I().func.isRequired,onRemoveFacetValue:I().func.isRequired,onRemoveAllFacets:I().func.isRequired,onSuppressFacetValue:I().func.isRequired,onCardAction:I().func.isRequired,onLoad:I().func.isRequired,resetSubId:I().func.isRequired,onExploreClick:I().func.isRequired,exploreSf:I().string,acceptSearchDisplayMode:I().func.isRequired,onResultClicked:I().func.isRequired,onEditSearch:I().func.isRequired,onShowMore:I().func.isRequired,onLoadMoreResult:I().func.isRequired,onMakeComment:I().func.isRequired,onRequestLogin:I().func.isRequired,dispatch:I().func.isRequired,setCurrentQuery:I().func.isRequired,searchListState:I().object.isRequired,facetDisposition:I().string,facetDisplay:I().string,styleClassMap:I().object,loading:I().bool,showRSS:I().bool,showDisplay:I().bool,showSort:I().bool,multiSelection:I().bool,isRatingEnabled:I().bool,showToolbar:I().bool,showActionButtons:I().bool,thumbnailFormat:I().string,showDocumentThumbnail:I().bool,searchSectionMode:I().string.isRequired,yOffset:I().number,findOn:I().array,findOnTitle:I().object,localized:I().func,classes:I().object,beginSearch:I().func,settingsFromCMS:I().object,setPredefinedSearchInfo:I().func,onCreateInterestProfile:I().func.isRequired,queryLabel:I().string,router:I().object,newComment:I().string,newCommentNoticeId:I().string,newCommentDisplayMode:I().string,user:I().string,userOmnidexid:I().string,interestList:I().object,onShare:I().func.isRequired,onPrint:I().func.isRequired,onPrintAssets:I().func.isRequired,locale:I().string,subscribeLegend:I().object,noticeLabel:I().object,callNumberShortLabel:I().object,callNumberLongLabel:I().object},Xe.defaultProps={facetDisposition:"right",displayModeCMS:"default",thumbnailFormat:"portrait",selectedIds:[],showDisplay:!0,showSort:!0,showShare:!1,showSearchTool:!1,multiSelection:!1,showToolbar:!0,showActionButtons:!0,showDocumentThumbnail:!0,showWaterfall:!0,showMosaic:!0,showList:!0,isRatingEnabled:!1,findOnTitle:{fr:"Trouver sur",en:"Find on",_localized:!0}},Xe.iconClass="nc-icon-mini ui-1_zoom",Xe.propsSchema=[{label:"Show rating",id:"isRatingEnabled",type:"Optional"},{label:"Show share",id:"showShare",type:"Optional"},{label:"Show search tools",id:"showSearchTool",type:"Optional"},{label:"Enable time mode",id:"isTimeMode",type:"Optional"}],Xe.style=Je,Ke=Xe))||Ke)||Ke)||Ke},40468:(e,t,o)=>{"use strict";o.d(t,{Z:()=>m});var n=o(67294),r=o.n(n),i=o(45697),a=o.n(i),s=o(65470),l=o.n(s),c=o(83638),u=o(48304),d=o(56261),p=o(23560),h=o.n(p),f=function(e){var t=e.intl,o=e.rights,n=e.queryId,i=e.profileData,a=e.onCreateInterestProfile,s=e.launchSearchToEditPredefinedSearch,d=e.hasCurrentlyNoResult,p=e.setPredefinedSearchInfo,f=e.styleClassMap,m=e.accessibilityLegend,y=t.formatMessage;if(!(!l().mobile&&!l().tablet&&o&&o.get("allowManageAllContent")))return null;var b,g=!!i&&Object.keys(i).length>0;if(g){var S=i.query||"",v=S.indexOf(":");if(v>0&&!(b=(S.slice(v+1)||"").trim()))return null}return r().createElement(c.default,{style:{height:42},onClick:function(){g?!d&&h()(s)?s(b):d&&h()(p)&&(p({lastModified:Date.now(),idd:b,isFrontEndCreated:!0}),a(n)):a(n)},"aria-label":null==m?void 0:m("Save as predefined search")},r().createElement(u.default,{className:f.iconStyle,style:{paddingRight:4}},g?"edit":"search"),r().createElement("span",{className:f.buttonTextStyle},y({id:"SearchTools.createInterestProfile",defaultMessage:"Predefined search"})))};f.propTypes={intl:d.gm.isRequired,rights:a().object,query:a().string,queryId:a().string.isRequired,onCreateInterestProfile:a().func.isRequired,profileData:a().object,launchSearchToEditPredefinedSearch:a().func,hasCurrentlyNoResult:a().bool,setPredefinedSearchInfo:a().func,accessibilityLegend:a().func,className:a().string,
1styleClassMap:a().object};const m=f},18770:(e,t,o)=>{"use strict";function n(e){var t=0;return e&&(t=Object.keys(e).reduce((function(t,o){return t+Object.keys(e[o]).reduce((function(t,n){return t+e[o][n]}),0)}),0)),t}o.d(t,{F:()=>n})},27085:(e,t,o)=>{"use strict";o.d(t,{Z:()=>f});var n=o(67294),r=o.n(n),i=o(45697),a=o.n(i),s=o(83638),l=["iconStyle"];function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function p(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}var h=function(e){e.iconStyle;var t=p(e,l),o=u(u({},t),{},{icon:void 0,label:void 0});return r().createElement(s.default,o," ",t.icon," ",t.label)};h.propTypes={iconStyle:a().object};const f=h}}]);
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.