PageSourceSearch

https://chatcast.jp/static/js/2.c01baaa1.chunk.js

js chatcast.jp collected 2026-10-09 22:40:24 UTC 11,016 bytes, 3 lines download raw bytes

1/*! For license information please see 2.c01baaa1.chunk.js.LICENSE.txt */
2(this["webpackJsonpchatcast-client"]=this["webpackJsonpchatcast-client"]||[]).push([[2],{625:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var s=a.apply(null,r);s&&e.push(s)}else if("object"===o)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},630:function(e,t,n){"use strict";n.d(t,"d",(function(){return N})),n.d(t,"b",(function(){return I})),n.d(t,"a",(function(){return j})),n.d(t,"c",(function(){return P}));n(11);var r=n(0),a=n.n(r);function o(e){return e.type&&"Tab"===e.type.tabsRole}function s(e){return e.type&&"TabPanel"===e.type.tabsRole}function l(e){return e.type&&"TabList"===e.type.tabsRole}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return r.Children.map(e,(function(e){return null===e?null:function(e){return o(e)||l(e)||s(e)}(e)?t(e):e.props&&e.props.children&&"object"===typeof e.props.children?Object(r.cloneElement)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}({},e.props,{children:i(e.props.children,t)})):e}))}function u(e,t){return r.Children.forEach(e,(function(e){null!==e&&(o(e)||s(e)?t(e):e.props&&e.props.children&&"object"===typeof e.props.children&&(l(e)&&t(e),u(e.props.children,t)))}))}var d,p=n(625),f=n.n(p),b=0;function h(){return"react-tabs-"+b++}function y(e){var t=0;return u(e,(function(e){o(e)&&t++})),t}function v(){return(v=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}).apply(this,arguments)}function m(e){return e&&"getAttribute"in e}function g(e){return m(e)&&"tab"===e.getAttribute("role")}function C(e){return m(e)&&"true"===e.getAttribute("aria-disabled")}try{d=!("undefined"===typeof window||!window.document||!window.document.activeElement)}catch(k){d=!1}var T=function(e){var t,n;function c(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).tabNodes=[],t.handleKeyDown=function(e){if(t.isTabFromContainer(e.target)){var n=t.props.selectedIndex,r=!1,a=!1;32!==e.keyCode&&13!==e.keyCode||(r=!0,a=!1,t.handleClick(e)),37===e.keyCode||38===e.keyCode?(n=t.getPrevTab(n),r=!0,a=!0):39===e.keyCode||40===e.keyCode?(n=t.getNextTab(n),r=!0,a=!0):35===e.keyCode?(n=t.getLastTab(),r=!0,a=!0):36===e.keyCode&&(n=t.getFirstTab(),r=!0,a=!0),r&&e.preventDefault(),a&&t.setSelected(n,e)}},t.handleClick=function(e){var n=e.target;do{if(t.isTabFromContainer(n)){if(C(n))return;var r=[].slice.call(n.parentNode.children).filter(g).indexOf(n);return void t.setSelected(r,e)}}while(null!=(n=n.parentNode))},t}n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var p=c.prototype;return p.setSelected=function(e,t){if(!(e<0||e>=this.getTabsCount())){var n=this.props;(0,n.onSelect)(e,n.selectedIndex,t)}},p.getNextTab=function(e){for(var t=this.getTabsCount(),n=e+1;n<t;n++)if(!C(this.getTab(n)))return n;for(var r=0;r<e;r++)if(!C(this.getTab(r)))return r;return e},p.getPrevTab=function(e){for(var t=e;t--;)if(!C(this.getTab(t)))return t;for(t=this.getTabsCount();t-- >e;)if(!C(this.getTab(t)))return t;return e},p.getFirstTab=function(){for(var e=this.getTabsCount(),t=0;t<e;t++)if(!C(this.getTab(t)))return t;return null},p.getLastTab=function(){for(var e=this.getTabsCount();e--;)if(!C(this.getTab(e)))return e;return null},p.getTabsCount=function(){return y(this.props.children)},p.getPanelsCount=function(){return function(e){var t=0;return u(e,(function(e){s(e)&&t++})),t}(this.props.children)},p.getTab=function(e){return this.tabNodes["tabs-"+e]},p.getChildren=function(){var e=this,t=0,n=this.props,c=n.children,u=n.disabledTabClassName,p=n.focus,f=n.forceRenderTabPanel,b=n.selectedIndex,y=n.selectedTabClassName,v=n.selectedTabPanelClassName;this.tabIds=this.tabIds||[],this.panelIds=this.panelIds||[];for(var m=this.tabIds.length-this.getTabsCount();m++<0;)this.tabIds.push(h()),this.panelIds.push(h());return i(c,(function(n){var c=n;if(l(n)){var h=0,m=!1;d&&(m=a.a.Children.toArray(n.props.children).filter(o).some((function(t,n){return document.activeElement===e.getTab(n)}))),c=Object(r.cloneElement)(n,{children:i(n.props.children,(function(t){var n="tabs-"+h,a=b===h,o={tabRef:function(t){e.tabNodes[n]=t},id:e.tabIds[h],panelId:e.panelIds[h],selected:a,focus:a&&(p||m)};return y&&(o.selectedClassName=y),u&&(o.disabledClassName=u),h++,Object(r.cloneElement)(t,o)}))})}else if(s(n)){var g={id:e.panelIds[t],tabId:e.tabIds[t],selected:b===t};f&&(g.forceRender=f),v&&(g.selectedClassName=v),t++,c=Object(r.cloneElement)(n,g)}return c}))},p.isTabFromContainer=function(e){if(!g(e))return!1;var t=e.parentElement;do{if(t===this.node)return!0;
2if(t.getAttribute("data-tabs"))break;t=t.parentElement}while(t);return!1},p.render=function(){var e=this,t=this.props,n=(t.children,t.className),r=(t.disabledTabClassName,t.domRef),o=(t.focus,t.forceRenderTabPanel,t.onSelect,t.selectedIndex,t.selectedTabClassName,t.selectedTabPanelClassName,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName"]));return a.a.createElement("div",v({},o,{className:f()(n),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){e.node=t,r&&r(t)},"data-tabs":!0}),this.getChildren())},c}(r.Component);T.defaultProps={className:"react-tabs",focus:!1},T.propTypes={};var N=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).handleSelected=function(e,t,a){var o=n.props.onSelect;if("function"!==typeof o||!1!==o(e,t,a)){var s={focus:"keydown"===a.type};r.inUncontrolledMode(n.props)&&(s.selectedIndex=e),n.setState(s)}},n.state=r.copyPropsToState(n.props,{},t.defaultFocus),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.componentWillReceiveProps=function(e){this.setState((function(t){return r.copyPropsToState(e,t)}))},r.inUncontrolledMode=function(e){return null===e.selectedIndex},r.copyPropsToState=function(e,t,n){void 0===n&&(n=!1);var a={focus:n};if(r.inUncontrolledMode(e)){var o=y(e.children)-1,s=null;s=null!=t.selectedIndex?Math.min(t.selectedIndex,o):e.defaultIndex||0,a.selectedIndex=s}return a},o.render=function(){var e=this.props,t=e.children,n=(e.defaultIndex,e.defaultFocus,function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children","defaultIndex","defaultFocus"])),r=this.state,o=r.focus,s=r.selectedIndex;return n.focus=o,n.onSelect=this.handleSelected,null!=s&&(n.selectedIndex=s),a.a.createElement(T,n,t)},r}(r.Component);function O(){return(O=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}).apply(this,arguments)}N.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null},N.propTypes={},N.tabsRole="Tabs";var I=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["children","className"]);return a.a.createElement("ul",O({},r,{className:f()(n),role:"tablist"}),t)},r}(r.Component);function _(){return(_=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}).apply(this,arguments)}I.defaultProps={className:"react-tabs__tab-list"},I.propTypes={},I.tabsRole="TabList";var j=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.componentDidMount=function(){this.checkFocus()},o.componentDidUpdate=function(){this.checkFocus()},o.checkFocus=function(){var e=this.props,t=e.selected,n=e.focus;t&&n&&this.node.focus()},o.render=function(){var e,t=this,n=this.props,r=n.children,o=n.className,s=n.disabled,l=n.disabledClassName,c=(n.focus,n.id),i=n.panelId,u=n.selected,d=n.selectedClassName,p=n.tabIndex,b=n.tabRef,h=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(n,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return a.a.createElement("li",_({},h,{className:f()(o,(e={},e[d]=u,e[l]=s,e)),ref:function(e){t.node=e,b&&b(e)},role:"tab",id:c,"aria-selected":u?"true":"false","aria-disabled":s?"true":"false","aria-controls":i,tabIndex:p||(u?"0":null)}),r)},r}(r.Component);function x(){return(x=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}).apply(this,arguments)}j.defaultProps={className:"react-tabs__tab",disabledClassName:"react-tabs__tab--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:"react-tabs__tab--selected"},j.propTypes={},j.tabsRole="Tab";var P=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e,t=this.props,n=t.children,r=t.className,o=t.forceRender,s=t.id,l=t.selected,c=t.selectedClassName,i=t.tabId,u=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return a.a.createElement("div",x({},u,{className:f()(r,(e={},e[c]=l,e)),role:"tabpanel",id:s,"aria-labelledby":i}),o||l?n:null)},r}(r.Component);P.defaultProps={className:"react-tabs__tab-panel",forceRender:!1,selectedClassName:"react-tabs__tab-panel--selected"}
2,P.propTypes={},P.tabsRole="TabPanel"}}]);
3//# sourceMappingURL=2.c01baaa1.chunk.js.map

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.