PageSourceSearch

https://www.kreditbee.in/react/npm.react-inlinesvg.8832419514357b75d3f8.js

js kreditbee.in collected 2026-09-24 09:17:50 UTC 7,723 bytes, 1 lines download raw bytes

1(self.webpackChunkkbyp_web=self.webpackChunkkbyp_web||[]).push([[2252],{afed23739b1352219797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeProperties=t.randomString=t.supportsInlineSVG=t.isSupportedEnvironment=t.canUseDOM=t.STATUS=void 0;var n=r("421ee6959e39762e34e0");function o(){if(!document)return!1;var e=document.createElement("div");return e.innerHTML="<svg />",!!e.firstChild&&"http://www.w3.org/2000/svg"===e.firstChild.namespaceURI}t.STATUS={FAILED:"failed",LOADED:"loaded",LOADING:"loading",PENDING:"pending",READY:"ready",UNSUPPORTED:"unsupported"},t.canUseDOM=function(){return n.canUseDOM},t.isSupportedEnvironment=function(){return o()&&"undefined"!=typeof window&&null!==window},t.supportsInlineSVG=o,t.randomString=function(e){for(var t="abcdefghijklmnopqrstuvwxyz",r=""+t+t.toUpperCase()+"1234567890",n=function(e){return e[Math.floor(Math.random()*e.length)]},o="",i=0;i<e;i++)o+=n(r);return o},t.removeProperties=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n={};for(var o in e)({}).hasOwnProperty.call(e,o)&&(t.includes(o)||(n[o]=e[o]));return n}},cb3e76c35e37715f6fc7:function(e,t,r){"use strict";var n,o=r("75870528e9f34ba09adb"),i=this&&this.__extends||(n=function(e,t){return n=Object.
1setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),c=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||s(t,e,r)},u=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},l=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.cacheStore=void 0;var h=r("69084d01d3449fc1bc27"),d=r("0e53aefcdd8da2f67f72"),f=r("afed23739b1352219797");t.cacheStore=Object.create(null);var p=function(e){function r(r){var n=e.call(this,r)||this;return n.isActive=!1,n.handleCacheQueue=function(e){"string"!=typeof e?n.handleError(e):n.handleLoad(e)},n.handleLoad=function(e){n.isActive&&n.setState({content:e,status:f.STATUS.LOADED},n.getElement)},n.handleError=function(e){var t=n.props.onError,r="Browser does not support SVG"===e.message?f.STATUS.UNSUPPORTED:f.STATUS.FAILED;n.isActive&&n.setState({status:r},function(){"function"==typeof t&&t(e)})},n.request=function(){var e=n.props,r=e.cacheRequests,i=e.fetchOptions,a=e.src;try{return r&&(t.cacheStore[a]={content:"",status:f.STATUS.LOADING,queue:[]}),o(a,i).then(function(e){var t=e.headers.get("content-type"),r=u((t||"").split(/ ?; ?/),1)[0];if(e.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some(function(e){return r.indexOf(e)>=0}))throw new Error("Content type isn't valid: "+r);return e.text()}).then(function(e){var o=n.props.src;if(a===o&&(n.handleLoad(e),r)){var i=t.cacheStore[a];i&&(i.content=e,i.status=f.STATUS.LOADED,i.queue=i.queue.filter(function(t){return t(e),!1}))}}).catch(function(e){if(n.handleError(e),r){var o=t.cacheStore[a];o&&(o.queue.forEach(function(t){t(e)}),delete t.cacheStore[a])}})}catch(e){return n.handleError(new Error(e.message))}},n.state={content:"",element:null,hasCache:!!r.cacheRequests&&!!t.cacheStore[r.src],status:f.STATUS.PENDING},n.hash=r.uniqueHash||f.randomString(8),n}return i(r,e),r.prototype.componentDidMount=function(){if(this.isActive=!0,f.canUseDOM()){var e=this.state.status,t=this.props.src;try{if(e===f.STATUS.PENDING){if(!f.isSupportedEnvironment())throw new Error("Browser does not support SVG");if(!t)throw new Error("Missing src");this.load()}}catch(e){this.handleError(e)}}},r.prototype.componentDidUpdate=function(e,t){if(f.canUseDOM()){var r=this.state,n=r.hasCache,o=r.status,i=this.props,a=i.onLoad,s=i.src;if(t.status!==f.STATUS.READY&&o===f.STATUS.READY&&a&&a(s,n),e.src!==s){
1if(!s)return void this.handleError(new Error("Missing src"));this.load()}}},r.prototype.componentWillUnmount=function(){this.isActive=!1},r.prototype.processSVG=function(){var e=this.state.content,t=this.props.preProcessor;return t?t(e):e},r.prototype.updateSVGAttributes=function(e){var t=this,r=this.props,n=r.baseURL,o=void 0===n?"":n,i=r.uniquifyIDs,a=["id","href","xlink:href","xlink:role","xlink:arcrole"],s=["href","xlink:href"];return i?(l([],u(e.children)).map(function(e){if(e.attributes&&e.attributes.length){var r=Object.values(e.attributes).map(function(e){var r=e,n=e.value.match(/url\((.*?)\)/);return n&&n[1]&&(r.value=e.value.replace(n[0],"url("+o+n[1]+"__"+t.hash+")")),r});a.forEach(function(e){var n,o,i=r.find(function(t){return t.name===e});!i||(n=e,o=i.value,s.indexOf(n)>=0&&o&&o.indexOf("#")<0)||(i.value=i.value+"__"+t.hash)})}return e.children.length?t.updateSVGAttributes(e):e}),e):e},r.prototype.getNode=function(){var e=this.props,t=e.description,r=e.title;try{var n=this.processSVG(),o=d.default(n,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");var i=this.updateSVGAttributes(o);if(t){var a=i.querySelector("desc");a&&a.parentNode&&a.parentNode.removeChild(a);var s=document.createElement("desc");s.innerHTML=t,i.prepend(s)}if(r){var c=i.querySelector("title");c&&c.parentNode&&c.parentNode.removeChild(c);var u=document.createElement("title");u.innerHTML=r,i.prepend(u)}return i}catch(e){return this.handleError(e)}},r.prototype.getElement=function(){try{var e=this.getNode(),t=d.default(e);if(!t||!h.isValidElement(t))throw new Error("Could not convert the src to a React element");this.setState({element:t,status:f.STATUS.READY})}catch(e){this.handleError(new Error(e.message))}},r.prototype.load=function(){var e=this;this.isActive&&this.setState({content:"",element:null,status:f.STATUS.LOADING},function(){var r=e.props,n=r.cacheRequests,o=r.src,i=n&&t.cacheStore[o];if(i)i.status===f.STATUS.LOADING?i.queue.push(e.handleCacheQueue):i.status===f.STATUS.LOADED&&e.handleLoad(i.content);else{var a,s=o.match(/data:image\/svg[^,]*?(;base64)?,(.*)/);s?a=s[1]?atob(s[2]):decodeURIComponent(s[2]):o.indexOf("<svg")>=0&&(a=o),a?e.handleLoad(a):e.request()}})},r.prototype.render=function(){var e=this.state,t=e.element,r=e.status,n=this.props,o=n.children,i=void 0===o?null:o,s=n.innerRef,c=n.loader,u=void 0===c?null:c,l=f.removeProperties(this.props,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return f.canUseDOM()?t?h.cloneElement(t,a({ref:s},l)):[f.STATUS.UNSUPPORTED,f.STATUS.FAILED].indexOf(r)>-1?i:u:u},r.defaultProps={cacheRequests:!0,uniquifyIDs:!1},r}(h.PureComponent);t.default=p,c(r("d264b490187c359a3588"),t)},d264b490187c359a3588:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})}}]);

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.