PageSourceSearch

https://www.nimo.tv/nms/FansGroupLevelUp.e081a7012a58a70a.js

js nimo.tv collected 2026-09-24 10:08:09 UTC 9,859 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknimo_web_frontend=self.webpackChunknimo_web_frontend||[]).push([[12287],{48797:function(e,t,a){a.r(t),a.d(t,{default:function(){return b}}),a(71670);var c=a(13007),n=a(61684),l=a(64348),r=a(45091),s=a(88342),o=a(60301),i=a(72047),m=a(38931),u=a.n(m),f=a(3455),v=a(89711),h=a(93970),d=a.p+"images/fan_badge_decoration_l.0bc5895f1ee8bab7.png",g=a.p+"images/fan_badge_decoration_r.c8053a2a9c264da6.png";function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var N=function(e){function t(){var e,a;return(0,c.default)(this,t),e=t,a=arguments,e=(0,r.default)(e),(0,l.default)(this,p()?Reflect.construct(e,a||[],(0,r.default)(this).constructor):e.apply(this,a))}return(0,s.default)(t,e),(0,n.default)(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,a=e.className,c=e.langPkg,n=e.badgeName,l=e.nowLevel,r=e.badgeIcon,s=e.leftBadgeIcon,o=u()(t,a,"n-as-rel");return i.createElement("div",{className:o},i.createElement("div",{className:"n-as-mrgb"},(0,h.rB)(null==c?void 0:c.levelUpTips,[l])),i.createElement("div",{className:"n-fx-cc"},i.createElement(f.A,{src:d,className:"decoration-img"}),i.createElement(v.A,{className:"n-fx0 n-as-mrgh-xxs",badgeName:n,level:l,badgeIcon:r,leftBadgeIcon:s}),i.createElement(f.A,{src:g,className:"decoration-img"})))}}])}(i.Component);(0,o.default)(N,"defaultProps",{prefixCls:"nimo-fans-group__level-up",className:""});var b=N},89711:function(e,t,a){a.d(t,{A:function(){return A},u:function(){return z}}),a(71670);var c=a(13007),n=a(61684),l=a(64348),r=a(45091),s=a(88342),o=a(60301),i=a(72047),m=a(38931),u=a.n(m),f=a(85904),v=a(65239),h=a(49316),d=function(e){var t=e||{},a=t.context,c=t.store,n=(0,i.useMemo)(function(){return a&&a.Consumer&&(0,h.isContextConsumer)(i.createElement(a.Consumer,null))?a:f.ty},[a]),l=(0,i.useContext)(n),r=!!c&&!!c.getState&&!!c.dispatch,s=!!l&&!!l.store;return r||s},g=a(11495),p=a(3455),N=a.p+"images/shadow.6d8ca1b4ab70d3e3.png",b=a(38930),E=a(50513),_=["value"],w=[function(e){var t=e.color,a=e.className;return i.createElement("svg",{height:"8",viewBox:"0 0 5 8",width:"5",className:a},i.createElement("path",{d:"m3.83333333.8h-2.66666666c-.36818984 0-.66666667.28653776-.66666667.64v5.12c0 .35346224.29847683.64.66666667.64h2.66666666c.36818984 0 .66666667-.28653776.66666667-.64v-5.12c0-.35346224-.29847683-.64-.66666667-.64zm-.66666666 1.28v3.84h-1.33333334v-3.84z",fill:t,transform:"matrix(-1 0 0 -1 5 8)"}))},function(e){var t=e.color,a=e.className;return i.createElement("svg",{height:"8",viewBox:"0 0 5 8",width:"5",className:a},i.createElement("path",{d:"m1.7 1.44v5.12c0 .35346224.3581722.64.8.64s.8-.28653776.8-.64v-5.12c0-.35346224-.3581722-.64-.8-.64s-.8.28653776-.8.64z",fill:t}))},function(e){var t=e.color,a=e.className;return i.createElement("svg",{height:"8",viewBox:"0 0 5 8",width:"5",className:a},i.createElement("path",{d:"m3.16666667 2.08v1.22311111h-2c-.36818984 0-.66666667.28653776-.66666667.64v2.61688889c0 .35346224.29847683.64.66666667.64h2.66666666c.36818984 0 .66666667-.28653776.66666667-.64s-.29847683-.64-.66666667-.64h-2v-1.33688889h2c.36818984 0 .66666667-.28653776.66666667-.64v-2.50311111c0-.35346224-.29847683-.64-.66666667-.64h-2.66666666c-.36818984 0-.66666667.28653776-.66666667.64s.29847683.64.66666667.64z",fill:t}))},function(e){var t=e.color,a=e.className;return i.createElement("svg",{height:"8",viewBox:"0 0 5 8",width:"5",className:a},i.createElement("path",{d:"m3.83333333.8c.36818984 0 .66666667.28653776.66666667.64v5.12c0 .35346224-.29847683.64-.66666667.64h-2.66666666c-.36818984 0-.66666667-.28653776-.66666667-.64s.29847683-.64.66666667-.64h2l-.00066667-1.28h-1.99933333c-.33471803 0-.61182201-.23680807-.65943829-.54542549l-.00722838-.09457451c0-.35346224.29847683-.64.66666667-.64h1.99933333l.00066667-1.28h-2c-.36818984 0-.66666667-.28653776-.66666667-.64s.29847683-.64.66666667-.64z",fill:t}))},function(e){var t=e.color,a=e.className;return i.createElement("svg",{height:"8",viewBox:"0 0 5 8",width:"5",className:a},i.createElement("path",{d:"m3.83333333.8c.36818984 0 .66666667.28653776.66666667.64v5.12c0 .35346224-.29847683.64-.66666667.64-.36818983 0-.66666666-.28653776-.66666666-.64l-.00066667-1.92h-1.99933333c-.33471803 0-.61182201-.23680807-.65943829-.54542549l-.00722838-.09457451v-2.56c0-.35346224.29847683-.64.66666667-.64.36818983 0 .66666666.28653776.66666666.64v1.92h1.33266667l.00066667-1.92c0-.32132931.24667507-.58734913.56815155-.63306076z",fill:t}))},function(e){var t=e.color,a=e.className;return i.createElement("svg",{height:"8",viewBox:"0 0 5 8",width:"5",className:a},i.createElement("path",{d:"m3.16666667 2.08v1.22311111h-2c-.36818984 0-.66666667.28653776-.66666667.64v2.61688889c0 .35346224.29847683.64.66666667.64h2.66666666c.36818984 0 .66666667-.28653776.66666667-.64s-.29847683-.64-.66666667-.64h-2v-1.33688889h2c.36818984 0 .66666667-.28653776.66666667-.64v-2.50311111c0-.35346224-.29847683-.64-.66666667-.64h-2.66666666c-.36818984 0-.66666667.28653776-.66666667.64s.29847683.64.66666667.64z",fill:t,transform:"matrix(1 0 0 -1 0 8)"}))},function(e){var t=e.color,a=e.className;return i.createElement("svg",{height:"8",viewBox:"0 0 5 8",width:"5",className:a},i.createElement("path",{d:"m1.16666667.8c.36818983 0 .66666666.28653776.66666666.64l-.00033333 1.92h2.00033333c.33471803 0 .61182201.23680807.65943829.54542549l.00722838.09457451v2.56c0 .35346224-.29847683.64-.66666667.64h-2.66666666c-.36818984 0-.66666667-.28653776-.66666667-.64v-5.12c0-.35346224.29847683-.64.66666667-.64zm.66633333 5.12h1.33366667v-1.28h-1.33366667z",fill:t}))},function(e){var t=e.color,a=e.className;return i.createElement("svg",{height:"8",viewBox:"0 0 5 8",width:"5",className:a},i.createElement("path",{d:"m1.16666667 2.08h2v4.48c0 .35346224.29847683.64.66666666.64.36818984 0 .66666667-.28653776.66666667-.64v-5.12c0-.35346224-.29847683-.64-.66666667-.64h-2.66666666c-.36818984 0-.66666667.28653776-.66666667.64s.29847683.64.66666667.64z",fill:t}))},function(e){var t=e.color,a=e.className;return i.createElement("svg",{height:"8",viewBox:"0 0 5 8",width:"5",className:a},i.createElement("path",{d:"m4.5 6.56c0 .35346224-.29847683.64-.66666667.64h-2.66666666c-.36818984 0-.66666667-.28653776-.66666667-.64v-5.12c0-.35346224.29847683-.64.66666667-.64h2.66666666c.36818984 0 .66666667.28653776.66666667.64zm-1.33333333-1.92h-1.33333334v1.28h1.33333334zm0-2.56h-1.33333334v1.28h1.33333334z",fill:t}))},function(e){var t=e.color,a=e.className;return i.createElement("svg",{height:"8",viewBox:"0 0 5 8",width:"5",className:a},i.createElement("path",{d:"m3.83333333.8c.36818984 0 .66666667.28653776.66666667.64v5.12c0 .35346224-.29847683.64-.66666667.64-.36818983 0-.66666666-.28653776-.66666666-.64l-.00066667-1.92h-1.99933333c-.36818984 0-.66666667-.28653776-.66666667-.64v-2.56c0-.35346224.29847683-.64.66666667-.64zm-.66733333 2.56v-1.28h-1.33266667v1.28z",fill:t}))}],x=function(e){var t=e.value,a=(0,E.A)(e,_);return"number"!=typeof t||Number.isNaN(t)?null:"".concat(t).split("").map(function(e,c){var n=w[e];return i.createElement(n,(0,b.default)({},a,{className:"level-svg ".concat(t>=11&&t<=17&&1===+e?"mrgl-1px":""),key:c}))})};function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C=function(){return!!e})()}var B=["#CDCDCD","#84b0f1","#a5df6d","#ff8b86","#fa4941","#ba74ff","#f6c32c","#FF8C03","#FF7232","#FF3076","#8D16FF"],F=["#979797","#739ede","#719e5f","#db7a7a","#E84C45","#8c64e2","#ebc554","#EE933C","#FF7232","#FF3076","#8D16FF"],y=function(e){var t=e?e.slice(0,4):e;
1return/.*[\u4e00-\u9fa5]+.*/.test(t)&&(t=t.slice(0,2)),t},z=(0,v.A)(function(e){return e?e<=42?Math.ceil(e/7):e<=45?6:e<=85?Math.floor(e/10)+(e%10>5?3:2):10:0}),k=function(e){function t(e){var a,n,s;return(0,c.default)(this,t),n=t,s=[e],n=(0,r.default)(n),(a=(0,l.default)(this,C()?Reflect.construct(n,s||[],(0,r.default)(this).constructor):n.apply(this,s))).state={},a}return(0,s.default)(t,e),(0,n.default)(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,a=e.className,c=e.level,n=e.badgeName,l=e.disabled,r=e.onClick,s=e.style,o=e.theme,m=e.globalTheme,f=e.badgeIcon,v=e.hasFansGroup,h=e.fanGroupInfo,d=e.leftBadgeIcon,g=y(n),b=l?0:z(c),E=u()(t,a,"level".concat(b)),_=u()("".concat(t,"__name n-as-text-center ").concat(t,"__bg").concat(b),{"ignore-dark":1===o,"icon n-as-rel":f,gradient:b>=7,border:b>=8}),w=f,C=f,k=g,I=b,A=d,D="",T=c;if(!c){var P=u()("".concat(t,"__name n-as-text-center ").concat(t,"__bg0"),{"ignore-dark":1===o,"icon n-as-rel filter-gray":(null==h?void 0:h.badgeIcon)||w}),R=y(null==h?void 0:h.badgeName);_=P,D="filter-gray",w=(null==h?void 0:h.badgeIcon)||w,A=(null==h?void 0:h.leftBadgeIcon)||A,C=v&&(null==h?void 0:h.badgeIcon),k=R||g||"FAN",I=0,T=1}return A&&(_=u()(_,"".concat(t,"__name-has-left"))),i.createElement("div",{className:E,onClick:r,style:s},i.createElement("div",{className:"n-fx-se ".concat(t,"__wrapper n-as-rel")},i.createElement("div",{className:_},C?i.createElement(p.A,{src:w,className:"".concat(t,"__icon n-as-abs n-as-bc")}):i.createElement(i.Fragment,null,k,b>=8?i.createElement("img",{src:N,className:"".concat(t,"__shadow n-as-abs"),alt:"Nimo TV"}):null)),A?i.createElement(p.A,{width:10,src:A,className:"".concat(t,"__left-icon ").concat(D," n-as-abs n-as-bl")}):null,i.createElement("div",{className:u()("n-as-text-center n-fx-sr0 ".concat(t,"__level ").concat(t,"__level").concat(I),{"ignore-dark":1===o,gradient:b>=7})},i.createElement(x,{color:(1===(o||m)?B:F)[I],value:T}))))}}])}(i.PureComponent);(0,o.default)(k,"defaultProps",{prefixCls:"nimo-fans-badge",className:"",disabled:!1,style:null,globalTheme:(0,g.L)()});var I=(0,f.Ng)(function(e){return{globalTheme:e.common.theme}})(k),A=function(e){return d(e)?i.createElement(I,e):i.createElement(k,e)}}}]);

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.