text: System.register(["jimu-core","jimu-ui","jimu-layouts/layout-runtime"],(function(e){var t,n,o;return{setters:[function(e){t=e},function(e){n=e},function(e){o=e}],execute:function(){e(function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=406)}({0:function(e,n){e.exports=t},1:function(e,t){e.exports=n},102:function(e,t){e.exports='<svg viewBox="0 0 6 6" xmlns="http://www.w3.org/2000/svg"><circle cx="1104" cy="1049" r="3" transform="translate(-1101 -1046)" fill="#000" fill-rule="nonzero"></circle></svg>'},260:function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M2 1a1 1 0 00-1 1v12a1 1 0 001 1h12a1 1 0 001-1V2a1 1 0 00-1-1H2zm0-1h12a2 2 0 012 2v12a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm6 12.9a.8.8 0 110-1.6.8.8 0 010 1.6zM3.16 7l1.7 1.686a.474.474 0 010 .674.483.483 0 01-.68 0L2.14 7.337a.474.474 0 010-.674L4.18 4.64a.483.483 0 01.68 0 .474.474 0 010 .674L3.16 7zm9.68 0l-1.7-1.686a.474.474 0 010-.674.483.483 0 01.68 0l2.04 2.023a.474.474 0 010 .674L11.82 9.36a.483.483 0 01-.68 0 .474.474 0 010-.674L12.84 7zM5.4 12.9a.8.8 0 110-1.6.8.8 0 010 1.6zm5.2 0a.8.8 0 110-1.6.8.8 0 010 1.6z" fill-rule="nonzero"></path></svg>'},29:function(e,t,n){"use strict";n.d(t,"p",(function(){return I})),n.d(t,"b",(function(){return S})),n.d(t,"d",(function(){return R})),n.d(t,"l",(function(){return P})),n.d(t,"e",(function(){return T})),n.d(t,"o",(function(){return C})),n.d(t,"m",(function(){return A})),n.d(t,"n",(function(){return V})),n.d(t,"c",(function(){return N})),n.d(t,"f",(function(){return z})),n.d(t,"g",(function(){return L})),n.d(t,"i",(function(){return U})),n.d(t,"j",(function(){return _})),n.d(t,"k",(function(){return G})),n.d(t,"a",(function(){return W})),n.d(t,"h",(function(){return D}));var o,i,r,l,a,u,s=n(0),c=n(34),d=n(1),v=n(62),p=n(5),f=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},g=s.React.useEffect,b=s.React.useMemo,h=s.React.useCallback,w=s.ReactRedux.useSelector,y=s.ReactRedux.useDispatch,x=n(102),m=n(45),j=n(41),O=function(e,t){return(100*e+100*t)/100},I=function(e){return b((function(){return Object(s.css)(o||(o=f(["\n    overflow: hidden;\n    min-height: ",";\n    min-width: ",";\n  "],["\n    overflow: hidden;\n    min-height: ",";\n    min-width: ",";\n  "])),e?s.polished.rem(16):"unset",e?"unset":s.polished.rem(16))}),[e])},S=function(e){if(!(null==e?void 0:e.value))return"";var t=e.value.split(",");return(null==t?void 0:t.length)?t[1]:""},R=function(e){var t=y(),n=w((function(t){return d.utils.isWidgetSelected(e,t)?t.appRuntimeInfo.appMode:null}));d.hooks.useUpdateEffect((function(){t(s.appActions.widgetStatePropChange(e,"showQuickStyle",!1))}),[n,e])},P=function(e,t){var n=w((function(t){var n,o,i;return null===(i=null===(o=null===(n=null==t?void 0:t.appConfig)||void 0===n?void 0:n.sections)||void 0===o?void 0:o[e])||void 0===i?void 0:i.views})),o=s.React.useRef(Object(s.getAppStore)().getState().appContext.isInBuilder).current,i=d.hooks.useRefValue(t);g((function(){var e;o&&(null===(e=i.current)||void 0===e||e.call(i,n))}),[n,i,o])},T=function(e,t){var n=function(e){var t=s.ReactRedux.useSelector((function(e){var t;return null===(t=null==e?void 0:e.appConfig)||void 0===t?void 0:t.layouts})),n=s.ReactRedux.useSelector((function(e){var t;return null===(t=null==e?void 0:e.appConfig)||void 0===t?void 0:t.sections})),o=s.ReactRedux.useSelector((function(e){return null==e?void 0:e.browserSizeMode}));return s.React.useMemo((function(){var t=Object(s.getAppStore)().getState().appConfig;return p.searchUtils.getContentsInTheSameContainer(t,e,s.LayoutItemType.Widget,s.LayoutItemType.Section,o)||[]}),[e,o,n,t])}(e),o=d.hooks.useRefValue(t),i=s.React.useRef(Object(s.getAppStore)().getState().appContext.isInBuilder).current;g((function(){var e;i&&(null===(e=o.current)||void 0===e||e.call(o,n))}),[n,i,o])},C=function(e){var t=d.hooks.useWidgetSelected(e),n=y();d.hooks.useUpdateEffect((function(){t||n(s.appActions.widgetStatePropChange(e,"showQuickStyle",!1))}),[t,e])},A=function(e){var t=y();return h((function(n,o){var i,r,l,a,u,c,d=null===(i=Object(s.getAppStore)())||void 0===i?void 0:i.getState(),v=null===(l=null===(r=d.appConfig.sections)||void 0===r?void 0:r[e])||void 0===l?void 0:l.views,p=null===(u=null===(a=null==d?void 0:d.appRuntimeInfo)||void 0===a?void 0:a.sectionNavInfos)||void 0===u?void 0:u[e],f=null==p?void 0:p.currentViewId,g=null==p?void 0:p.visibleViews,b=null!==(c=null==p?void 0:p.progress)&&void 0!==c?c:0,h=null;if(1===o)h=function(e,t,n,o){void 0===n&&(n=Object(s.Immutable)([]));var i=n.indexOf(t);i=-1===i?0:i;var r=n[e?Math.max(0,i-1):Math.min(n.length-1,i+1)];return Object(s.Immutable)({visibleViews:o}).set("previousViewId",t).set("currentViewId",r).set("useProgress",!1).set("progress",n.indexOf(r)/(n.length-1))}(n,f,v,g);else{var w=n?Math.max(O(b,-o/(v.length-1)),0):Math.min(O(b,o/(v.length-1)),1);h=M(w,v,g)}t(s.appActions.sectionNavInfoChanged(e,h))}),[t,e])},M=function(e,t,n){void 0===t&&(t=Object(s.Immutable)([]));var o=Object(s.getIndexFromProgress)(e,t.length);return Object(s.Immutable)({visibleViews:n}).set("previousViewId",t[o.previousIndex]).set("currentViewId",t[o.currentIndex]).set("useProgress",!0).set("progress",e)},V=function(e){var t=y();return h((function(n){var o,i,r,l,a,u,c=null===(o=Object(s.getAppStore)())||void 0===o?void 0:o.getState(),d=null===(r=null===(i=c.appConfig.sections)||void 0===i?void 0:i[e])||void 0===r?void 0:r.views,v=null===(u=null===(a=null===(l=c.appRuntimeInfo)||void 0===l?void 0:l.sectionNavInfos)||void 0===a?void 0:a[e])||void 0===u?void 0:u.visibleViews,p=M(n,d,v);t(s.appActions.sectionNavInfoChanged(e,p))}),[t,e])},N=function(e,t,n,o,l,a){return b((function(){var u,c,d;if(!n||!o)return Object(s.css)(i||(i=f([""],[""])));var v=null===(d=null===(c=null===(u=Object(s.getAppStore)())||void 0===u?void 0:u.getState())||void 0===c?void 0:c.appContext)||void 0===d?void 0:d.isRTL;return"nav"===e?k(t,o,l,v):"navButtonGroup"===e?B(o):"slider"===e?E(o,a,v):Object(s.css)(r||(r=f([""],[""])))}),[n,e,t,o,l,a])},k=function(e,t,n,o){var i;return Object(s.css)(l||(l=f(["\n    .jimu-nav{\n      ",";\n      ",";\n      ","\n    }\n"],["\n    .jimu-nav{\n      ",";\n      ",";\n      ","\n    }\n"])),d.componentStyleUtils.nav.getRootStyles(null===(i=t)||void 0===i?void 0:i.root),d.componentStyleUtils.nav.getVariantStyles(e,t,n,o),d.styleUtils.getButtonStyleByState(null==t?void 0:t.item,!0))},B=function(e){return Object(s.css)(a||(a=f(["\n    .nav-button-group {\n      ",";\n      ","\n    }\n "],["\n    .nav-button-group {\n      ",";\n      ","\n    }\n "])),d.componentStyleUtils.navButtonGroup.getVariantStyles(e),d.styleUtils.getButtonStyleByState(null==e?void 0:e.item,!1))},E=function(e,t,n){return Object(s.css)(u||(u=f(["\n   > .jimu-slider {\n    ",";\n    ",";\n   }\n "],["\n   > .jimu-slider {\n    ",";\n    ",";\n   }\n "])),d.componentStyleUtils.slider.getRootStyles(null==e?void 0:e.root),d.componentStyleUtils.slider.getVariantStyles(e,t,n))},z=function(e,t){return h((function(n){var o,i=Object(s.getAppStore)().getState().appConfig.widgets[e].config,r=null===(o=null==i?void 0:i.data)||void 0===o?void 0:o.section;if(-1===(null==n?void 0:n.indexOf(r))){if(!r&&!(null==n?void 0:n[0]))return;t().editWidgetProperty(e,"config",i.setIn(["data","section"],null==n?void 0:n[0])).exec(!1)}}),[t,e])},L=function(e,t){return h((function(n){var o,i,r,l,a,u,d=Object(s.getAppStore)().getState().appConfig.widgets[e].config,v=(null===(o=null==d?void 0:d.data)||void 0===o?void 0:o.type)===c.a.Custom?null===(r=null===(i=null==d?void 0:d.data)||void 0===i?void 0:i.views)||void 0===r?void 0:r.filter((function(e){return(null==n?void 0:n.indexOf(e))>-1})):n;((null==v?void 0:v.length)||(null===(a=null===(l=null==d?void 0:d.data)||void 0===l?void 0:l.views)||void 0===a?void 0:a.length))&&(s.lodash.isDeepEqual(v,null===(u=null==d?void 0:d.data)||void 0===u?void 0:u.views)||t().editWidgetProperty(e,"config",d.setIn(["data","views"],v)).exec(!1))}),[t,e])},U=function(e){var t=w((function(e){return e.appConfig.views})),n=w((function(e){var t=e.appConfig.pages,n=Object.keys(t).find((function(e){var n;return null===(n=null==t?void 0:t[e])||void 0===n?void 0:n.isDefault}));return e.appRuntimeInfo.currentPageId||n}));return s.React.useMemo((function(){var o;return null!==(o=null==e?void 0:e.map((function(e){var o;return{name:null===(o=null==t?void 0:t[e])||void 0===o?void 0:o.label,linkType:s.LinkType.View,value:n+","+e}})))&&void 0!==o?o:Object(s.Immutable)([])}),[n,t,e])},_=function(e,t,n){var o=w((function(t){var n,o,i;return null===(i=null===(o=null===(n=null==t?void 0:t.appConfig)||void 0===n?void 0:n.sections)||void 0===o?void 0:o[e])||void 0===i?void 0:i.views}));return s.React.useMemo((function(){var e=((n===c.a.Custom?t:o)||Object(s.Immutable)([])).asMutable();return e.sort((function(e,t){return(null==o?void 0:o.indexOf(e))-(null==o?void 0:o.indexOf(t))})),Object(s.Immutable)(e)}),[t,o,n])},G=function(e){var t=d.hooks.useWidgetSelected(e),n=y();g((function(){t&&n(s.appActions.widgetStatePropChange(e,"showQuickStyle",!0))}),[])},W=function(e){var t,n,o=e||{},i=o.type,r=o.navStyle,l=null!==(t=null==e?void 0:e.standard)&&void 0!==t?t:{},a=l.showIcon,u=l.showText,s=l.alternateIcon,c=l.showPageNumber;return"nav"===e.type?i+"-"+r+"-"+(a?"showIcon":"hideIcon")+"-"+(u?"showText":"hideText")+"-icon-"+(null!==(n=null==s?void 0:s.properties)&&void 0!==n?n:{}).filename:"navButtonGroup"===i?i+"-"+r+"-"+(c?"showPageNumber":""):void 0},D=function(e){var t=d.hooks.useTranslate([d.defaultMessages,v.a]);return b((function(){if(e)return[{label:t("tabDefault"),type:"nav",navStyle:"default",standard:{gap:"0px",scrollable:!0,showIcon:!1,showText:!0,iconPosition:"start",textAlign:d.TextAlignValue.CENTER}},{label:t("tabUnderline"),type:"nav",navStyle:"underline",standard:{gap:"0px",scrollable:!0,showIcon:!1,showText:!0,iconPosition:"start",textAlign:d.TextAlignValue.CENTER}},{label:t("tabPills"),type:"nav",navStyle:"pills",standard:{gap:"0px",scrollable:!0,showIcon:!1,showText:!0,iconPosition:"start",textAlign:d.TextAlignValue.CENTER}},{label:t("symbol"),type:"nav",navStyle:"default",standard:{scrollable:!1,gap:"10px",showIcon:!0,alternateIcon:d.utils.toIconResult(x,"dot-6",8),activedIcon:d.utils.toIconResult(x,"dot-10",8),showText:!1,iconPosition:"start",textAlign:d.TextAlignValue.CENTER}},{label:t("slider"),type:"slider",navStyle:"default"},{label:t("arrow1"),type:"navButtonGroup",navStyle:"default",standard:{showPageNumber:!0,previousText:"",previousIcon:d.utils.toIconResult(m,"left-arrow-12",12),nextText:"",nextIcon:d.utils.toIconResult(j,"right-arrow-12",12)}},{label:t("arrow2"),type:"navButtonGroup",navStyle:"tertiary",standard:{previousText:t("prev"),previousIcon:d.utils.toIconResult(m,"left-arrow-12",12),nextText:t("next"),nextIcon:d.utils.toIconResult(j,"right-arrow-12",12)}},{label:t("arrow3"),type:"navButtonGroup",navStyle:"tertiary",standard:{showPageNumber:!0,previousText:"",previousIcon:d.utils.toIconResult(m,"left-arrow-12",12),nextText:"",nextIcon:d.utils.toIconResult(j,"right-arrow-12",12)}}]}),[t,e])}},34:function(e,t,n){"use strict";var o;n.d(t,"a",(function(){return o})),function(e){e.Auto="AUTO",e.Custom="CUSTOM"}(o||(o={}))},406:function(e,t,n){"use strict";n.r(t);var o,i=n(0),r=n(34),l=n(1),a=n(62),u=n(260),s=function(e){var t=e.widgetId,n=e.show,o=l.hooks.useTranslate(a.a);return n?i.React.createElement(l.WidgetPlaceholder,{icon:u,widgetId:t,message:o("placeholder")}):null},c=n(77),d=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v={data:{type:"AUTO",section:"",views:[]},display:{advanced:!1,vertical:!1,navType:"default",alignment:"center",showText:!0,showIcon:!1,iconPosition:"start"}},p=function(e){var t=e;if(e){var n=t.display;if(!n)return e;var o=Object(i.Immutable)({}),r=function(e,t){if(e){var n=null==e?void 0:e[t];if(n){var o=n;return n.bg&&(o=(o=o.setIn(["root","bg"],n.bg)).without("bg")),o}}}(n.variants,n.navType);return o=o.set("type","nav").set("vertical",n.vertical).set("advanced",n.advanced).set("navStyle",n.navType).set("standard",{scrollable:!0,textAlign:n.alignment,showText:n.showText,showIcon:n.showIcon,iconPosition:n.iconPosition}).set("variant",r),t.set("display",o)}},f=new(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.versions=[{version:"1.0.0",description:"Version manager for release 1.0.0",upgrader:function(e){var t;if(!e)return v;var n=e;return(null===(t=null==e?void 0:e.display)||void 0===t?void 0:t.variants)&&(n=n.setIn(["display","advanced"],!0)),n}},{version:"1.1.0",description:"Version manager for release 1.1.0",upgrader:function(e){return p(e||v)}}],t}return d(t,e),t}(i.BaseVersionManager)),g=n(29),b=function(){return(b=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},h=i.React.useRef,w=i.ReactRedux.useSelector,y=i.ReactRedux.useDispatch,x=function(e){var t,n,o,a,u,d=e.id,v=e.config,p=e.builderSupportModules,f=y(),x=null===(t=null==p?void 0:p.jimuForBuilderLib)||void 0===t?void 0:t.getAppConfigAction,m=h(null),j=h(null===(o=null===(n=Object(i.getAppStore)().getState())||void 0===n?void 0:n.appContext)||void 0===o?void 0:o.isInBuilder).current,O=w((function(e){var t,n;return null===(n=null===(t=null==e?void 0:e.widgetsState)||void 0===t?void 0:t[d])||void 0===n?void 0:n.showQuickStyle})),I=Object(g.h)(j),S=null==v?void 0:v.display,R=null==v?void 0:v.data,P=null==S?void 0:S.standard,T=null==R?void 0:R.type,C=null==R?void 0:R.section,A=null!==(a=null==P?void 0:P.step)&&void 0!==a?a:1,M=w((function(e){var t,n,o,i;return null===(i=null===(o=null===(n=null===(t=null==e?void 0:e.appConfig)||void 0===t?void 0:t.sections)||void 0===n?void 0:n[C])||void 0===o?void 0:o.views)||void 0===i?void 0:i[0]})),V=w((function(e){var t,n;return null===(n=null===(t=null==e?void 0:e.appRuntimeInfo)||void 0===t?void 0:t.sectionNavInfos)||void 0===n?void 0:n[C]})),N=Object(g.j)(C,null==R?void 0:R.views,T),k=Object(g.i)(N),B=null==V?void 0:V.progress,E=null==V?void 0:V.useProgress,z=null!==(u=null==V?void 0:V.currentViewId)&&void 0!==u?u:M,L=Object(g.p)(null==S?void 0:S.vertical),U=i.React.useMemo((function(){var e=function(e,t,n,o){var i,r,l,a,u=null!==(i=null==o?void 0:o.length)&&void 0!==i?i:0,s=(null==o?void 0:o.indexOf(e))<0?0:null==o?void 0:o.indexOf(e);if(s+=1,n){var c=0,d=null!==(r=null==o?void 0:o.length)&&void 0!==r?r:0;if(d>1){var v=(c=t*(d-1))%1;l=0===(c=Math.floor(c))&&0===v,a=c===u-1&&0===v}}else l=s<=1,a=s===u;return{current:s,totalPage:u,disableNext:a,disablePrevious:l}}(z,B,E,N);return b(b({},P),e)}),[z,B,P,E,N]),_=i.React.useCallback((function(){f(i.appActions.widgetStatePropChange(d,"showQuickStyle",!1))}),[f,d]);Object(g.d)(d),Object(g.o)(d),Object(g.k)(d);var G=Object(g.f)(d,x);Object(g.e)(d,G);var W=Object(g.g)(d,x);Object(g.l)(C,W);var D=Object(g.m)(C),Q=Object(g.n)(C),H=l.hooks.useEventCallback((function(e,t){"navButtonGroup"===e?D(t,A):"slider"===e&&Q(t)})),F=null==p?void 0:p.widgetModules.NavQuickStyle;return Object(i.jsx)("div",{className:"widget-view-navigation jimu-widget",css:L,ref:m},Object(i.jsx)(s,{widgetId:d,show:!k.length}),Object(i.jsx)(c.a,b({data:k,activeView:z,progress:B,onChange:H},S,{standard:U})),F&&Object(i.jsx)(F,{templates:I,display:null==v?void 0:v.display,onChange:function(e){if(x){var t=Object(i.Immutable)(e).set("vertical",!1).set("advanced",!1).set("variant",null);x().editWidgetProperty(d,"config",v.setIn(["data","type"],r.a.Auto).set("display",t)).exec()}},onClose:_,open:O,reference:m.current}))};x.versionManager=f;t.default=x},41:function(e,t){e.exports='<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M9.521 5.47L3.981.162a.592.592 0 00-.813 0 .534.534 0 000 .779L8.448 6l-5.28 5.06a.534.534 0 000 .779.592.592 0 00.813 0l5.54-5.31a.726.726 0 000-1.058z" fill="#000"></path><path d="M0 0h12v12H0z"></path></g></svg>'},45:function(e,t){e.exports='<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M2.479 5.47L8.019.162a.592.592 0 01.813 0 .534.534 0 010 .779L3.552 6l5.28 5.06a.534.534 0 010 .779.592.592 0 01-.813 0l-5.54-5.31a.726.726 0 010-1.058z" fill="#000"></path><path d="M0 0h12v12H0z"></path></g></svg>'},5:function(e,t){e.exports=o},62:function(e,t,n){"use strict";t.a={_widgetLabel:"Views Navigation",placeholder:"Please add a Section to use this widget.",tabDefault:"Tab default",tabUnderline:"Tab underline",tabPills:"Tab pills",arrow1:"Arrow 1",arrow2:"Arrow 2",arrow3:"Arrow 3"}},77:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o,i=n(0),r=n(1),l=n(29),a=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},u=function(){return(u=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n},c=Object(i.css)(o||(o=a(["\n  width: 100%;\n  height: 100%;\n  display: flex;\n  align-items: center;\n"],["\n  width: 100%;\n  height: 100%;\n  display: flex;\n  align-items: center;\n"]))),d=function(e){var t=e.data,n=e.progress,o=void 0===n?0:n,a=e.type,d=e.navStyle,v=e.vertical,p=e.advanced,f=e.variant,g=e.onChange,b=e.activeView,h=e.standard,w=s(e,["data","progress","type","navStyle","vertical","advanced","variant","onChange","activeView","standard"]),y=h||{},x=y.current,m=y.totalPage,j=y.showPageNumber,O=y.scrollable,I=y.disablePrevious,S=y.disableNext,R=y.previousText,P=y.previousIcon,T=y.nextText,C=y.nextIcon,A=y.showIcon,M=y.gap,V=y.alternateIcon,N=y.activedIcon,k=y.showText,B=y.showTitle,E=y.iconPosition,z=y.textAlign,L=y.hideThumb,U=i.React.useRef((function(){}));i.React.useEffect((function(){return U.current=i.lodash.throttle((function(e){var t=+e.target.value;t=Number((t/100).toFixed(2)),null==g||g("slider",t)}),100),function(){U.current.cancel()}}),[g]);var _=i.React.useCallback((function(e){return b===Object(l.b)(e)}),[b]),G=Object(l.c)(a,d,p,f,v,L);return Object(i.jsx)("div",u({className:"navigation",css:[c,G]},w),"nav"===a&&Object(i.jsx)(r.Navigation,{vertical:v,isActive:_,scrollable:O,data:t,gap:M,type:d,showIcon:A,alternateIcon:V,activedIcon:N,showText:k,showTitle:B,iconPosition:E,textAlign:z}),"slider"===a&&Object(i.jsx)(r.Slider,{className:"h-100",size:"sm",value:100*o,hideThumb:L,onChange:function(e){var t;null===(t=e.persist)||void 0===t||t.call(e),U.current(e)}}),"navButtonGroup"===a&&Object(i.jsx)(r.NavButtonGroup,{type:d,previousText:R,previousIcon:P,nextText:T,nextIcon:C,vertical:v,disablePrevious:I,disableNext:S,onChange:function(e){null==g||g("navButtonGroup",e)}},j&&Object(i.jsx)(r.PageNumber,{current:x,totalPage:m})))}}}))}}}));