1import{I as e,M as t,j as n}from"./chunk-KS7C4IRE-DIkipulk.js";import{t as r}from"./jsx-runtime-CsaOnxTR.js";var i={singapore:[{title:`Housing`,url:`/singapore/housing`,uniqueName:`singapore_housing`},{title:`Health`,url:`/singapore/health`,uniqueName:`singapore_health`},{title:`Transport`,url:`/singapore/transport`,uniqueName:`singapore_transport`},{title:`Education`,url:`/singapore/parenting-education`,uniqueName:`singapore_parenting-education`},{title:`Politics`,url:`/singapore/politics`,uniqueName:`singapore_politics`},{title:`Jobs`,url:`/singapore/jobs`,uniqueName:`singapore_jobs`},{title:`Environment`,url:`/singapore/environment`,uniqueName:`singapore_environment`},{title:`Courts & Crime`,url:`/singapore/courts-crime`,uniqueName:`singapore_courts-crime`},{title:`Community`,url:`/singapore/community`,uniqueName:`singapore_community`},{title:`Tech`,url:`/tech`,uniqueName:`tech`}],asia:[{title:`SE Asia`,url:`/asia/se-asia`,uniqueName:`asia_se-asia`},{title:`East Asia`,url:`/asia/east-asia`,uniqueName:`asia_east-asia`},{title:`South Asia`,url:`/asia/south-asia`,uniqueName:`asia_south-asia`},{title:`Australia/NZ`,url:`/asia/australianz`,uniqueName:`asia_australianz`}],world:[{title:`United States`,url:`/world/united-states`,uniqueName:`world_united-states`},{title:`Europe`,url:`/world/europe`,uniqueName:`world_europe`},{title:`Middle East`,url:`/world/middle-east`,uniqueName:`world_middle-east`}],opinion:[{title:`Forum`,url:`/opinion/forum`,uniqueName:`opinion_forum`}],life:[{title:`Entertainment`,url:`/life/entertainment`,uniqueName:`life_entertainment`},{title:`Travel`,url:`/life/travel`,uniqueName:`life_travel`},{title:`Food`,url:`/life/food`,uniqueName:`life_food`},{title:`Design`,url:`/life/home-design`,uniqueName:`life_home-design`},{title:`Style`,url:`/life/style`,uniqueName:`life_style`},{title:`Living Well`,url:`/tags/living-well`,uniqueName:``},{title:`Arts`,url:`/life/arts`,uniqueName:`life_arts`}],business:[{title:`Economy`,url:`/business/economy`,uniqueName:`business_economy`},{title:`Finance & Wealth`,url:`/business/banking`,uniqueName:`business_banking`},{title:`Companies`,url:`/business/companies-markets`,uniqueName:`business_companies-markets`},{title:`Jobs`,url:`/singapore/jobs`,uniqueName:`singapore_jobs`},{title:`Invest`,url:`/business/invest`,uniqueName:`business_invest`}],sport:[{title:`Basketball`,url:`/sport/basketball`,uniqueName:`sport_basketball`},{title:`Football`,url:`/sport/football`,uniqueName:`sport_football`},{title:`Formula One`,url:`/sport/formula-one`,uniqueName:`sport_formula-one`},{title:`Golf`,url:`/sport/golf`,uniqueName:`sport_golf`},{title:`Schools`,url:`/sport/schools`,uniqueName:`sport_schools`},{title:`Tennis`,url:`/sport/tennis`,uniqueName:`sport_tennis`},{title:`Racing`,url:`/sport/racing`,uniqueName:`sport_racing`}]},a=[{title:`Singapore`,url:`/singapore`,uniqueName:`singapore`},{title:`Asia`,url:`/asia`,uniqueName:`asia`},{title:`World`,url:`/world`,uniqueName:`world`},{title:`Opinion`,url:`/opinion`,uniqueName:`opinion`,placeholder:`Filter by columnist`,filterQuery:`authors`,filter:[{key:`All columnists`,value:``},{key:`Jeremy Au Yong`,value:`jeremy-au-yong`},{key:`Rohit Brijnath`,value:`rohit-brijnath`},{key:`Chang May Choon`,value:`chang-may-choon`},{key:`Chua Mui Hoong`,value:`chua-mui-hoong`},{key:`Danson Cheong`,value:`danson-cheong`},{key:`Lianne Chia`,value:`lianne-chia`},{key:`Denise Chong`,value:`denise-chong`},{key:`Jonathan Eyal`,value:`jonathan-eyal`},{key:`Ho Ai Li`,value:`ho-ai-li`},{key:`Bhavan Jaipragas`,value:`bhavan-jaipragas`},{key:`Vikram Khanna`,value:`vikram-khanna`},{key:`Lee Siew Hua`,value:`lee-siew-hua`},{key:`Diane Leow`,value:`diane-leow`},{key:`Lim Ai Leen`,value:`lim-ai-leen`},{key:`Lin Suling`,value:`lin-suling`},{key:`Clara Lock`,value:`clara-lock`},{key:`Mubin Saadat`,value:`mubin-saadat`},{key:`Tan Dawn Wei`,value:`tan-dawn-wei`},{key:`Irene Tham`,value:`irene-tham`},{key:`Tham Yuen-C`,value:`tham-yuen-c`},{key:`Ravi Velloor`,value:`ravi-velloor`}]},{title:`Life`,url:`/life`,uniqueName:`life`},{title:`Business`,url:`/business`,uniqueName:`business`},{title:`Sport`,url:`/sport`,uniqueName:`sport`},{title:`Visual`,url:`/visual`,uniqueName:`multimedia`},{title:`Podcasts`,url:`/st-podcasts`,uniqueName:`st-podcasts`,placeholder:`Filter by podcast`,filterQuery:`tags`,filter:[{key:`All podcasts`,value:``},{key:`Asian Insider`,value:`asian-insider-podcast`},{key:`Green Pulse`,value:`green-pulse-podcast`},{key:`Headstart On Record`,value:`st-headstart-podcast`},{key:`Health Check`,value:`health-check-podcast`}
1,{key:`In Your Opinion`,value:`in-your-opinion-podcast`},{key:`Music Lab`,value:`music-lab-podcast`},{key:`Podcast Specials`,value:`st-podcast-specials`},{key:`Wheel Insights`,value:`wheel-insights-podcast`},{key:`The Usual Place`,value:`the-usual-place-podcast`}]}],o={tech:{title:`Tech`,url:`/tech`,navigationItems:[{title:`TECH NEWS`,url:`/tech/tech-news`},{title:`E-SPORTS`,url:`/tech/e-sports`},{title:`REVIEWS`,url:`/tech/reviews`}]},mystplus:{title:`myST+`,url:`/myst`,navigationItems:[{title:`Following`,url:`/myst`},{title:`Saved`,url:`/myst/saved`},{title:`Explore`,url:`/myst/explore`}]}},s={st_podcasts:{title:`Podcasts`,url:`/st-podcasts`,navigationItems:[]},tech:{title:`Tech`,url:`/tech`,navigationItems:[]}},c=`/subscribe?eshop_ref=subscribe-header`,l=`/subscribe?eshop_ref=subscribe-usermenu`,u=`/subscribe?eshop_ref=subscribe-footer`,d=`/subscribe?eshop_ref=subscribe-mystplus`,f=`https://e-paper.sph.com.sg/st`,p=`https://www.sph.com.sg/advertising-solutions`,m=`/paid-press-releases`,h=`https://www.stclassifieds.sg/?utm_source=Straits%20Times&utm_medium=banner&utm_campaign=ST_link_20131219`,g=`https://platform.twitter.com/widgets.js`,_=`https://connect.facebook.net/en_GB/sdk.js#xfbml=0&version=v19.0`,v=`https://www.tiktok.com/embed.js`,y=()=>typeof window<`u`?window.location.origin:`http://localhost:5173`,b=typeof window<`u`;b&&window.location.origin;function x(){typeof window>`u`||window.addEventListener(`message`,e=>{e.origin===`https://www.instagram.com`&&document.querySelectorAll(`iframe`).forEach(t=>{if(t.contentWindow===e.source){let n=JSON.parse(e.data);n.type===`MEASURE`&&n.details&&t.setAttribute(`height`,n.details.height)}})})}var S=b?/iPhone|iPod|Android|webOS|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent):!1,C=e(n());function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}function T(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function E(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function D(){return D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(this,arguments)}var ee=function(){return typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof self<`u`?self:typeof global<`u`?global:{}},O=function(){if(typeof window<`u`)return window;var e=ee();return e.window&&e.window.window===e.window?e.window:e},k=function(){if(typeof document<`u`)return document;var e=O();if(e&&e.document)return e.document;throw Error(`document is not available in this environment`)},te=`1.8.1`,ne=`1.2.0`,re=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},ie=[`catalogSearch`,`catalogSequence`],ae=[`adConfigId`,`applicationId`,`catalogSearch`,`catalogSequence`,`playlistId`,`playlistVideoId`,`videoId`],oe=function(e,t){if(!(!e||e[t]===void 0)){if(typeof e[t]!=`string`&&ie.indexOf(t)!==-1)try{return encodeURIComponent(JSON.stringify(e[t]))}catch{return}return encodeURIComponent(String(e[t]).trim())||void 0}},se=function(e){return Object.keys(e).filter(function(e){return ae.indexOf(e)!==-1}).reduce(function(t,n){var r=oe(e,n);return r!==void 0&&(t+=t?`&`:`?`,t+=encodeURIComponent(n)+`=`+r),t},``)},A=function(e){var t=e.accountId,n=e.base,r=n===void 0?`https://players.brightcove.net`:n,i=e.playerId,a=i===void 0?`default`:i,o=e.embedId,s=o===void 0?`default`:o,c=e.iframe,l=c!==void 0&&c,u=e.minified,d=u===void 0||u,f
1=e.queryParams,p=f===void 0?null:f,m=``;l?m+=`html`:(d&&(m+=`min.`),m+=`js`),r.charAt(r.length-1)===`/`&&(r=r.substring(0,r.length-1));var h=``;return l&&p&&(p===void 0?`undefined`:re(p))===`object`&&(h=se(p)),t=encodeURIComponent(t),a=encodeURIComponent(a),s=encodeURIComponent(s),r+`/`+t+`/`+a+`_`+s+`/index.`+m+h};A.VERSION=ne;var ce={embedId:`default`,embedType:`in-page`,playerId:`default`,Promise:O().Promise,refNodeInsert:`append`},le=`16:9`,ue=!1,de=`100%`,fe=`video`,j=`video-js`,M=`in-page`,N=`iframe`,P=`append`,F=`prepend`,I=`before`,L=`after`,R=`replace`,pe=[`catalogSearch`,`catalogSequence`],z=`https://players.brightcove.net/`,B={getUrl:function(e){if(e.playerUrl)return e.playerUrl;var t=e.accountId,n=e.playerId,r=e.embedId,i=e.embedOptions;return A({accountId:t,playerId:n,embedId:r,iframe:e.embedType===N,base:z,minified:!i||!i.unminified,queryParams:e})},getBaseUrl:function(){return z},setBaseUrl:function(e){z=e}},V=function(e){return!!(e&&e.nodeType===1)},H=function(e){return!!(V(e)&&e.parentNode)},me=function(e){var t=k().createElement(`iframe`);return t.setAttribute(`allow`,`autoplay;encrypted-media;fullscreen`),t.setAttribute(`allowfullscreen`,`allowfullscreen`),t.src=B.getUrl(e),t},he=function(e){var t=e.embedOptions,n=k(),r={adConfigId:`data-ad-config-id`,applicationId:`data-application-id`,catalogSearch:`data-catalog-search`,catalogSequence:`data-catalog-sequence`,deliveryConfigId:`data-delivery-config-id`,playlistId:`data-playlist-id`,playlistVideoId:`data-playlist-video-id`,poster:`poster`,videoId:`data-video-id`},i=t&&t.tagName||j,a=n.createElement(i);return Object.keys(r).filter(function(t){return e[t]}).forEach(function(t){var n;if(typeof e[t]!=`string`&&pe.indexOf(t)!==-1)try{n=JSON.stringify(e[t])}catch{return}else n=String(e[t]).trim();a.setAttribute(r[t],n)}),a.setAttribute(`controls`,`controls`),a.classList.add(`video-js`),a},ge=function(e,t,n){if(!t.responsive)return n;var r=k();n.style.position=`absolute`,n.style.top=`0px`,n.style.right=`0px`,n.style.bottom=`0px`,n.style.left=`0px`,n.style.width=`100%`,n.style.height=`100%`;var i=D({aspectRatio:le,iframeHorizontalPlaylist:ue,maxWidth:de},t.responsive),a=i.aspectRatio.split(`:`).map(Number),o=r.createElement(`div`),s=a[1]/a[0]*100;e===N&&i.iframeHorizontalPlaylist&&(s*=1.25),o.style.paddingTop=s+`%`,o.appendChild(n);var c=r.createElement(`div`);return c.style.position=`relative`,c.style.display=`block`,c.style.maxWidth=i.maxWidth,c.appendChild(o),c},_e=function(e,t){if(!e.pip)return t;var n=k().createElement(`div`);return n.classList.add(`vjs-pip-container`),n.appendChild(t),n},ve=function(e,t,n){return t?_e(t,ge(e,t,n)):n},ye=function(e,t){var n=e.refNode,r=e.refNodeInsert,i=n.parentNode,a=ve(e.embedType,e.embedOptions,t);if(r===I?i.insertBefore(a,n):r===L?i.insertBefore(a,n.nextElementSibling||null):r===R?i.replaceChild(a,n):r===F?n.insertBefore(a,n.firstChild||null):n.appendChild(a),e.embedOptions&&e.embedOptions.playlist){var o=k(),s=e.embedOptions.playlist.legacy?`ul`:`div`,c=o.createElement(s);c.classList.add(`vjs-playlist`),t.parentNode.insertBefore(c,t.nextElementSibling||null)}return e.refNode=null,t},be=function(e,t){if(typeof e.onEmbedCreated!=`function`)return t;var n=e.onEmbedCreated(t);return V(n)?n:t},xe=function(e){return ye(e,be(e,e.embedType===N?me(e):he(e)))},U=new(O()).Map,W=function(e){var t=e.accountId,n=e.playerId,r=e.embedId;return(t||`*`)+`_`+n+`_`+r},G={clear:function(){U.clear()},forEach:function(e){U.forEach(e)},get:function(e){return U.get(W(e))},has:function(e){return U.has(W(e))},key:W,store:function(e){U.set(W(e),e.accountId?B.getUrl(e):``)}},K=O(),q=/^([A-Za-z0-9]+)_([A-Za-z0-9]+)$/,J=function(){return K.bc?Object.keys(K.bc).filter(function(e){return q.test(e)}):[]},Se=function(){return Object.keys(K).filter(function(e){return/^videojs/i.test(e)||/^(bc)$/.test(e)})},Ce=function(e){e&&Object.keys(e.players).forEach(function(t){var n=e.players[t];n&&n.dispose()})},we={detectPlayers:function(){J().forEach(function(e){var t=e.match(q),n={playerId:t[1],embedId:t[2]};G.has(n)||G.store(n)})},reset:function(){G.forEach(function(e,t){if(e){var n=k();Array.prototype.slice.call(n.querySelectorAll(`script[src="`+e+`"]`)).forEac
1h(function(e){return e.parentNode.removeChild(e)})}}),G.clear(),Ce(K.videojs),J().forEach(function(e){return Ce(K.bc[e].videojs)}),Se().forEach(function(e){delete K[e]})}},Te=O();we.detectPlayers();var Y=function(e){return typeof e==`function`},Ee=function(e){return e===M||e===N},De=function(e){return e===j||e===fe},Oe=function(e){return e===P||e===F||e===I||e===L||e===R},ke=function(e){var t=e.accountId,n=e.embedOptions,r=e.embedType,i=e.options,a=e.refNode,o=e.refNodeInsert;if(!t)throw Error(`accountId is required`);if(!H(a))throw Error(`refNode must resolve to a node attached to the DOM`);if(!Ee(r))throw Error(`embedType is missing or invalid`);if(r===N&&i)throw Error(`cannot use options with an iframe embed`);if(n&&n.tagName!==void 0&&!De(n.tagName))throw Error(`embedOptions.tagName is invalid (value: "`+n.tagName+`")`);if(n&&n.responsive&&n.responsive.aspectRatio&&!/^\d+\:\d+$/.test(n.responsive.aspectRatio))throw Error(`embedOptions.responsive.aspectRatio must be in the "n:n" format (value: "`+n.responsive.aspectRatio+`")`);if(!Oe(o))throw Error(`refNodeInsert is missing or invalid`)},Ae=function(e){return H(e)?e:typeof e==`string`?k().querySelector(e):null},je=function(e,t,n,r){var i=e.embedId,a=e.playerId,o=Te.bc[a+`_`+i]||Te.bc;if(!o)return r(Error(`missing bc function for `+a));G.store(e);var s;try{s=o(t,e.options),s.bcinfo&&(s.bcinfo.PLAYER_LOADER=!0)}catch{var c=`Could not initialize the Brightcove Player.`;return e.embedOptions.tagName===j&&(c+=' You are attempting to embed using a "video-js" element. Please ensure that your Player is v6.11.0 or newer in order to support this embed type. Alternatively, pass `"video"` for `embedOptions.tagName`.'),r(Error(c))}n({type:M,ref:s})},Me=function(e,t,n){e.refNode=Ae(e.refNode),ke(e);var r=e.refNode,i=e.refNodeInsert,a=r.parentNode,o=xe(e);if(e.embedType===N){t({type:N,ref:o});return}if(G.has(e))return je(e,o,t,n);var s=k().createElement(`script`);s.onload=function(){return je(e,o,t,n)},s.onerror=function(){n(Error(`player script could not be downloaded`))},s.async=!0,s.charset=`utf-8`,s.src=B.getUrl(e),i===R?a.appendChild(s):r.appendChild(s)},X=function(e){var t=D({},ce,e),n=t.Promise,r=t.onSuccess,i=t.onFailure;return!Y(n)||Y(r)||Y(i)?Me(t,Y(r)?r:function(){},Y(i)?i:function(e){throw e}):new n(function(e,n){return Me(t,e,n)})},Z=function(e,t){Object.defineProperty(X,e,{configurable:!1,enumerable:!0,value:t,writable:!1})};Z(`getBaseUrl`,function(){return B.getBaseUrl()}),Z(`setBaseUrl`,function(e){B.setBaseUrl(e)}
1),Z(`getUrl`,function(e){return B.getUrl(e)}),Z(`reset`,function(){return we.reset()}),[[`EMBED_TAG_NAME_VIDEO`,fe],[`EMBED_TAG_NAME_VIDEOJS`,j],[`EMBED_TYPE_IN_PAGE`,M],[`EMBED_TYPE_IFRAME`,N],[`REF_NODE_INSERT_APPEND`,P],[`REF_NODE_INSERT_PREPEND`,F],[`REF_NODE_INSERT_BEFORE`,I],[`REF_NODE_INSERT_AFTER`,L],[`REF_NODE_INSERT_REPLACE`,R],[`VERSION`,te]].forEach(function(e){Z(e[0],e[1])});var Ne=[`catalogSearch`,`catalogSequence`,`playlistId`,`playlistVideoId`,`videoId`],Pe=function(e){e&&console&&console.error&&console.error(e)},Fe=function(e){T(t,e);function t(t){var n=e.call(this,t)||this;return n.refNode=null,n.setRefNode=function(e){n.refNode=e},n.loadPlayer=n.loadPlayer.bind(E(n)),n}var n=t.prototype;return n.loadPlayer=function(){var e=this;if(!this.loading_)this.loading_=!0;else{console.log(`Brightcove React Player Loader aborted a subsequent player load while a load was pending`);return}this.disposePlayer();var t=this.props.onSuccess,n=this.props.onFailure,r=w({},this.props,{refNode:this.refNode,refNodeInsert:`append`,onSuccess:function(n){var r=n.ref,i=n.type;if(e.loading_=!1,!e.isMounted_){e.disposePlayer(r);return}e.player=r,i===`in-page`&&r.one(`dispose`,function(){e.player=null}),r.bcinfo&&(r.bcinfo.REACT_PLAYER_LOADER=!0),typeof t==`function`&&t({ref:r,type:i})},onFailure:function(t){if(e.loading_=!1,e.isMounted_){if(typeof n==`function`){n(t);return}throw Error(t)}}});delete r.attrs,delete r.baseUrl,delete r.manualReloadFromPropChanges;var i=X.getBaseUrl();this.props.baseUrl&&X.setBaseUrl(this.props.baseUrl),X(r),X.setBaseUrl(i)},n.disposePlayer=function(){this.player&&=(this.player.dispose?this.player.dispose():this.player.parentNode&&this.player.parentNode.removeChild(this.player),null)},n.findPlaylistVideoIdIndex_=function(e){var t=this.props.playlistVideoId;if(Array.isArray(e)&&t)for(var n=0;n<e.length;n++){var r=e[n],i=r.id,a=r.referenceId;if(i===t||`ref:`+a===t)return n}return-1},n.createPlaybackAPICallback_=function(e,t){var n=this;return function(r,i){if(r){Pe(r);return}if(e===`playlist`&&t.playlistVideoId){var a=n.findPlaylistVideoIdIndex_(i);a>-1&&(i.startingIndex=a)}n.player.catalog.load(i)}},n.updatePlayer=function(e){if(!(!this.player||!this.player.el||!this.player.el())){var t;if(this.player.usingPlugin(`catalog`)){if(e.catalogSequence&&this.props.catalogSequence){var n=this.createPlaybackAPICallback_(`sequence`,e);this.player.catalog.getLazySequence(this.props.catalogSequence,n,this.props.adConfigId);return}e.videoId&&this.props.videoId?t={type:`video`,id:this.props.videoId}:e.playlistId&&this.props.playlistId?t={type:`playlist`,id:this.props.playlistId}:e.catalogSearch&&this.props.catalogSearch&&(t={type:`search`,q:this.props.catalogSearch})}if(t){this.props.adConfigId&&(t.adConfigId=this.props.adConfigId),this.props.deliveryConfigId&&(t.deliveryConfigId=this.props.deliveryConfigId);var r=this.createPlaybackAPICallback_(t.type,e);this.player.catalog.get(t,r)}else if(e.playlistVideoId&&this.props.playlistVideoId&&this.player.usingPlugin(`playlist`)){var i=this.findPlaylistVideoIdIndex_(this.player.playlist());i>-1&&this.player.playlist.currentItem(i)}}},n.componentDidMount=function(){this.isMounted_=!0,this.loadPlayer()},n.componentDidUpdate=function(e){var t=this,n=Object.keys(e).reduce(function(n,r){var i=e[r],a=t.props[r];return typeof a==`function`?n:typeof a==`object`&&a?(JSON.stringify(a)!==JSON.stringify(i)&&(n[r]=!0),n):(a!==i&&(n[r]=!0),n)},{});if(!this.props.manualReloadFromPropChanges&&Object.keys(n).some(function(e){return Ne.indexOf(e)===-1})){this.loadPlayer();return}this.updatePlayer(n)},n.componentWillUnmount=function(){this.isMounted_=!1,this.disposePlayer()},n.render=function(){var e=w({className:`brightcove-react-player-loader`},this.props.attrs,{ref:this.setRefNode});return C.createElement(`div`,e)},t}(C.Component),Ie=t(((e,t)=>{(function(){var e={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if(typeof t==`string`||typeof t==`number`)return t;if(typeof t!=`object`)return``;if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes(`[native code]`))return t.toString();var r=``;
vendor: 5,252 bytes, line 1
1for(var a in t)e.call(t,a)&&t[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()})),Le=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[
1n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),Re=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_relativeTime=r()})(e,(function(){return function(e,t,n){e||={};var r=t.prototype,i={future:`in %s`,past:`%s ago`,s:`a few seconds`,m:`a minute`,mm:`%d minutes`,h:`an hour`,hh:`%d hours`,d:`a day`,dd:`%d days`,M:`a month`,MM:`%d months`,y:`a year`,yy:`%d years`};function a(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,a,o,s){for(var c,l,u,d=a.$locale().relativeTime||i,f=e.thresholds||[{l:`s`,r:44,d:`second`},{l:`m`,r:89},{l:`mm`,r:44,d:`minute`},{l:`h`,r:89},{l:`hh`,r:21,d:`hour`},{l:`d`,r:35},{l:`dd`,r:25,d:`day`},{l:`M`,r:45},{l:`MM`,r:10,d:`month`},{l:`y`,r:17},{l:`yy`,d:`year`}],p=f.length,m=0;m<p;m+=1){var h=f[m];h.d&&(c=o?n(t).diff(a,h.d,!0):a.diff(t,h.d,!0));var g=(e.rounding||Math.round)(Math.abs(c));if(u=c>0,g<=h.r||!h.r){g<=1&&m>0&&(h=f[m-1]);var _=d[h.l];s&&(g=s(``+g)),l=typeof _==`string`?_.replace(`%d`,g):_(g,r,h.l,u);break}}if(r)return l;var v=u?d.future:d.past;return typeof v==`function`?v(l):v.replace(`%s`,l)},r.to=function(e,t){return a(e,t,this,!0)},r.from=function(e,t){return a(e,t,this)};var o=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(o(this),e)},r.fromNow=function(e){return this.from(o(this),e)}}}))})),Q=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_timezone=r()})(e,(function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var a,o=function(e,n,r){r===void 0&&(r={});var i=new Date(e);
1return function(e,n){n===void 0&&(n={});var r=n.timeZoneName||`short`,i=e+`|`+r,a=t[i];return a||(a=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,timeZoneName:r}),t[i]=a),a}(n,r).formatToParts(i)},s=function(t,n){for(var r=o(t,n),a=[],s=0;s<r.length;s+=1){var c=r[s],l=c.type,u=c.value,d=e[l];d>=0&&(a[d]=parseInt(u,10))}var f=a[3],p=f===24?0:f,m=a[0]+`-`+a[1]+`-`+a[2]+` `+p+`:`+a[4]+`:`+a[5]+`:000`,h=+t;return(i.utc(m).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(e,t){e===void 0&&(e=a);var n,r=this.utcOffset(),o=this.toDate(),s=o.toLocaleString(`en-US`,{timeZone:e}),c=Math.round((o-new Date(s))/1e3/60),l=15*-Math.round(o.getTimezoneOffset()/15)-c;if(!Number(l))n=this.utcOffset(0,t);else if(n=i(s,{locale:this.$L}).$set(`millisecond`,this.$ms).utcOffset(l,!0),t){var u=n.utcOffset();n=n.add(r-u,`minute`)}return n.$x.$timezone=e,n},c.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=o(this.valueOf(),t,{timeZoneName:e}).find((function(e){return e.type.toLowerCase()===`timezonename`}));return n&&n.value};var l=c.startOf;c.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return l.call(this,e,t);var n=i(this.format(`YYYY-MM-DD HH:mm:ss:SSS`),{locale:this.$L});return l.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,o=n||t||a,c=s(+i(),o);if(typeof e!=`string`)return i(e).tz(o);var l=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var a=s(r-=60*(i-t)*1e3,n);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}(i.utc(e,r).valueOf(),c,o),u=l[0],d=l[1],f=i(u).utcOffset(d);return f.$x.$timezone=o,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){a=e}}}))})),ze=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_utc=r()})(e,(function(){var e=`minute`,t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,a){var o=i.prototype;a.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},o.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var c=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(r,i){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?l.call(this):this.$offset;if(typeof r==`string`&&(r=function(e){e===void 0&&(e=``);var r=e.match(t);if(!r)return null;var i=(``+r[0]).match(n)||[`-`,0,0],a=i[0],o=60*i[1]+ +i[2];return o===0?0:a===`+`?o:-o}(r),r===null))return this;var o=Math.abs(r)<=16?60*r:r;if(o===0)return this.utc(i);var s=this.clone();if(i)return s.$offset=o,s.$u=!1,s;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(o+c,e)).$offset=o,s.$x.$localOffset=c,s};var u=o.format;o.format=function(e){var t=e||(this.$u?`YYYY-MM-DDTHH:mm:ss[Z]`:``);return u.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(e){return e===`s`&&this.$offset?a(this.format(`YYYY-MM-DD HH:mm:ss:SSS`)).toDate():d.call(this)};var f=o.diff;o.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=a(e).local();return f.call(r,i,t,n)}}}))}));Ie(),r();var Be=e(Le(),1),Ve=e(Re(),1),He=e(Q(),1),Ue=e(ze(),1),We=!1;function Ge({children:e}){let[t,n]=(0,C.useState)(We);return(0,C.useEffect)(()=>{t||(n(!0),We=!0)},[t]),t?e:null}var{extend:$}=Be.default;$(Ve.default),$(He.default),$(Ue.default);export{d as C,g as E,c as S,v as T,s as _,Le as a,o as b,y as c,x as d,p as f,_ as g,i as h,Re as i,b as l,f as m,ze as n,Ie as o,h as p,Q as r,Fe as s,Ge as t,S as u,m as v,l as w,u as x,a as y};
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.