PageSourceSearch

https://partners.apisetu.gov.in/_next/static/chunks/5177-863f26094a87b518.js

js apisetu.gov.in collected 2026-10-03 19:34:05 UTC 11,413 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5177],{14352:function(e,t,r){var s;"undefined"!=typeof self&&self,e.exports=function(e){var t=[function(e,t,r){"use strict";function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=Array(t);r<t;r++)s[r]=e[r];return s}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"HighchartsReact",function(){return c});var o=r(1),n=r.n(o),i="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,c=Object(o.memo)(Object(o.forwardRef)(function(e,t){var r=Object(o.useRef)(),c=Object(o.useRef)(),d=Object(o.useRef)(e.constructorType),u=Object(o.useRef)(e.highcharts
1);return i(function(){function t(){var t=e.highcharts||"object"===("undefined"==typeof window?"undefined":l(window))&&window.Highcharts,s=e.constructorType||"chart";t?t[s]?e.options?c.current=t[s](r.current,e.options,e.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(c.current){if(!1!==e.allowChartUpdate)if(e.constructorType!==d.current||e.highcharts!==u.current)d.current=e.constructorType,u.current=e.highcharts,t();else if(!e.immutable&&c.current){var s,o;(s=c.current).update.apply(s,[e.options].concat(function(e){if(Array.isArray(e))return a(e)}(o=e.updateArgs||[!0,!0])||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return a(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))}else t()}else t()},[e.options,e.allowChartUpdate,e.updateArgs,e.containerProps,e.highcharts,e.constructorType]),i(function(){return function(){c.current&&(c.current.destroy(),c.current=null)}},[]),Object(o.useImperativeHandle)(t,function(){return{get chart(){return c.current},container:r}},[]),n.a.createElement("div",s({},e.containerProps,{ref:r}))}));t.default=c},function(t,r){t.exports=e}];function r(e){if(s[e])return s[e].exports;var a=s[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.l=!0,a.exports}var s={};return r.m=t,r.c=s,r.d=function(e,t,s){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:s})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}(r(14232))},66915:()=>{},95177:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>j,default:()=>y});var s=r(37876);r(14232),r(10553),r(66915);var a=r(83679),l=r(38102),o=r(9749),n=r(80856),i=r(73099),c=r(75965),d=r(98249),u=r(62137),p=r(76717),x=r(12395),f=r.n(x),h=r(14352),m=r.n(h),b=r(96327);function g(e){let{sess:t,orgUrl:r}=e,{session:x,token:h,userName:g,config:j}=(0,b.Q8)(),y=null!=(O=null==x?void 0:x.org_id)?O:"",{data:v,mutate:N,error:A}=(0,i.u)(["/iam/api-collection/publishedApisCount",h],c.UK,{revalidateOnFocus:!1,revalidateOnReconnect:!1,dedupingInterval:6e4,refreshInterval:3e5});!A&&v&&v.data;let{data:w,mutate:P,error:I}=(0,i.u)(["/dashboard/publisherServiceApisCount",h],c.UK);if(!I&&w)var O,S=w.data;else var S=0;let{data:_,mutate:T,error:k}=(0,i.u)(["/iam/api-collection/digiApisCount",h],c.UK,{revalidateOnFocus:!1,revalidateOnReconnect:!1,dedupingInterval:6e4,refreshInterval:3e5});!k&&_&&_.data;let{data:D,mutate:U,isLoading:C,error:B}=(0,i.u)(["/publisher/subscriptionlog",h],c.UK);!B&&D&&(null==D||D.total);let{data:R,mutate:E,error:K}=(0,i.u)(["/digilocker/pullUri/findAllByOrgId",h],c.UK);if(!K&&R)var L=Array.isArray(null==R?void 0:R.result)?R.result.filter(e=>"1"===e.published).length:0;else var L=0;let{data:F,mutate:H,error:M}=(0,i.u)(["/digilocker/pullDoc/findAllByOrgId",h],c.UK);if(!M&&F)var Q=Array.isArray(null==F?void 0:F.result)?F.result.filter(e=>"1"===e.published).length:0;else var Q=0;let q=L+S,{data:J,mutate:V,error:W}=(0,i.u)(["/dashboard/publisher_APISubCount?orgId=".concat(y),h],c.UK);if(!W&&J)var Z=J.data;else var Z=0;let $=[],{data:z,mutate:G,error:X}=(0,i.u)(["/dashboard/publisherStatisticCount?orgId=".concat(y,"&fromDate=").concat(0,"&toDate=").concat(0),h],c.UK);return(!X&&z&&(z.totalRecords,z.data,$=z.graphData.map(e=>({chart:{type:"bar"},title:{text:e.title,align:"left"},xAxis:{categories:e.categories},yAxis:{min:0,title:{text:""}},legend:{reversed:!0},plotOptions:{series:{stacking:"normal",dataLabels:{enabled:!0}}},series:e.series}))),h)?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("div",{className:"mx-auto",children:(0,s.jsx)("main",{className:"w-full  rounded-tl-lg  border-[#
1E6E9EC] lg:w-[100%] bg-[#f8fafb] min-h-screen",children:(0,s.jsxs)("div",{className:"grid grid-cols-7 gap-4 mb-10",children:[(0,s.jsx)("div",{className:"col-span-7",children:(0,s.jsxs)("div",{className:" grid 2xl:grid-cols-4 xl:grid-cols-4 md:grid-cols-2 grid-cols-1 gap-4",children:[(0,s.jsxs)("div",{className:" px-4 py-6 boxmain01 relative",children:[(0,s.jsxs)("div",{className:"group","data-tooltip-id":"my-tooltip","data-tooltip-content":"Number of total APIs Published",children:[(0,s.jsx)("p",{className:"text-base group-hover:font-bold transition-all duration-200",children:(0,s.jsx)(u.A,{children:"Total Published APIs"})}),(0,s.jsx)("h3",{className:"text-2xl font-bold text-[#ff8000] mb-1",children:null!=q?q:0})]}),(0,s.jsx)(o.TJD,{className:"text-base text-opacity-50 text-[#6B7280] absolute right-4 top-4"}),(0,s.jsxs)("div",{className:"flex justify-between",children:[(0,s.jsxs)("p",{className:"flex text-sm group","data-tooltip-id":"my-tooltip","data-tooltip-content":"Number of Service APIs Published",children:[(0,s.jsxs)("span",{className:"font-bold text-gray-500 group-hover:text-[#ff8000]",children:[S,"\xa0"]}),(0,s.jsx)("span",{className:"flex text-gray-500 group-hover:font-bold",children:(0,s.jsx)(u.A,{children:"Service APIs"})})]}),(0,s.jsxs)("p",{className:"flex text-sm group","data-tooltip-id":"my-tooltip","data-tooltip-content":"Number of DigiLocker APIs Published",children:[(0,s.jsxs)("span",{className:"font-bold text-gray-500 group-hover:text-[#ff8000]",children:[L,"\xa0"]}),(0,s.jsx)("span",{className:"flex text-gray-500 group-hover:font-bold",children:(0,s.jsx)(u.A,{children:"DigiLocker APIs"})})]})]})]}),(0,s.jsxs)("div",{className:" px-4 py-6 boxmain01 relative",children:[(0,s.jsxs)("div",{className:"group","data-tooltip-id":"my-tooltip","data-tooltip-content":"Total Number of DigiLocker APIs Published",children:[(0,s.jsx)("p",{className:"text-base mb-1 group-hover:font-bold transition-all duration-200",children:(0,s.jsx)(u.A,{children:"DigiLocker APIs"})}),(0,s.jsx)("h3",{className:"text-2xl font-bold text-[#ff8000] mb-1",children:L})]}),(0,s.jsx)(l.KZ9,{className:"text-base text-opacity-50 text-[#6B7280] absolute right-4 top-4"})]}),(0,s.jsxs)("div",{className:" px-4 py-6 boxmain01 relative",children:[(0,s.jsxs)("div",{className:"group","data-tooltip-id":"my-tooltip","data-tooltip-content":"Total Number of Service APIs Published",children:[(0,s.jsx)("p",{className:"text-base mb-1 group-hover:font-bold transition-all duration-200",children:(0,s.jsx)(u.A,{children:"Service APIs"})}),(0,s.jsx)("h3",{className:"text-2xl font-bold text-[#ff8000] mb-1",children:S})]}),(0,s.jsx)(o.NFh,{className:"text-base text-opacity-50 text-[#6B7280] absolute right-4 top-4"})]}),(0,s.jsxs)("div",{className:" px-4 py-6 boxmain01 relative  flex flex-col justify-between",children:[(0,s.jsxs)("div",{className:"group","data-tooltip-id":"my-tooltip","data-tooltip-content":"Total number of APIs subscribed for Services and Documents",children:[(0,s.jsx)("p",{className:"text-base mb-1 group-hover:font-bold transition-all duration-200",children:(0,s.jsx)(u.A,{children:"APIs Subscription"})}),(0,s.jsx)("h3",{className:"text-2xl font-bold text-[#ff8000] mb-1",children:null!=Z?Z:0})]}),(0,s.jsx)(a.tut,{className:"text-base text-opacity-50 text-[#6B7280] absolute right-4 top-4"})]})]})}),(0,s.jsxs)("div",{className:"col-span-7 grid lg:grid-cols-5 md:grid-cols-5 grid-cols-2 w-full gap-4",children:[(0,s.jsxs)("div",{className:"grid lg:grid-cols-1 grid-cols-2 lg:col-span-1 md:col-span-5 col-span-2 gap-4",children:[(0,s.jsxs)("div",{className:" px-4 py-5 boxmain01 relative flex flex-col justify-between",children:[(0,s.jsx)("h3",{className:"text-2xl font-bold text-[#ff8000] mb-1",children:L}),(0,s.jsx)("div",{className:"flex justify-between",children:(0,s.jsx)("p",{className:"text-base",children:(0,s.jsx)(u.A,{children:"Pull URI"})})}),(0,s.jsx)(n._y5,{className:"text-base text-opacity-50 text-[#6B7280] absolute top-5 right-4"})]}),(0,s.jsxs)("div",{className:"px-4 py-5 boxmain01 relative flex flex-col justify-between",children:[(0,s.jsx)("h3",{className:"text-2xl font-bold text-[#ff8000] mb-1",children:Q}),(0,s.jsx)("div",{className:"flex justify-between",children:(0,s.jsx)("p",{className:"text-base",children:(0,s.jsx)(u.A,{children:"Pull Doc"})})}),(0,s.jsx)(n._y5,{className:"text-base text-opacity-50 text-[#6B7280] absolute top-5 right-4"})]})]}),(0,s.jsx)("div",{className:"col-span-4",children:$.length>0?$.map((e,t)=>(0,s.jsx)("div",{style:{margin:"auto",marginBottom:"40px"},children:(0,s.jsx)(m(),{highcharts:f(),options:e})},t)):(0,s.jsx)("div",{className:" px-4 py-5 boxmain01 relative flex flex-col justify-between h-full",children:(0,s.jsx)("p",{children:"No data available to display charts."})})})]})]})})}),(0,s.jsx)(p.m_,{id:"my-tooltip",render:e=>{let{content:t}=e;return(0,s.jsx)(u.A,{children:t})}})]})}):(0,s.jsx)(d.A,{})}g.title="Publisher Dashboard | APISetu";var j=!0;let y=g},98249:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(37876);r(14232);var a=r(48230),l=r.n(a),o=r(83679),n=r(62137);let i=e=>{let{msg:t}=e;return(0,s.jsx)("div",{className:"min-h-screen flex items-center justify-center text-center",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("img",{src:"https://cdn.apisetu.gov.in/portal/assets/img/access_de
1nied.svg",className:"mx-auto",alt:"img"}),(0,s.jsx)("h3",{className:"text-[28px] font-black",children:(0,s.jsx)(n.A,{children:"We are sorry..."})}),(0,s.jsx)("p",{children:(0,s.jsx)(n.A,{children:"The page you are trying access has restricted access."})}),(0,s.jsx)("p",{children:(0,s.jsx)(n.A,{children:"Please refer to system administrator."})}),(0,s.jsx)(n.A,{children:null!=t?t:"Access Denied"}),(0,s.jsxs)(l(),{href:"https://partners.apisetu.gov.in",className:"text-sky-500 text-lg font-normal font-heading text-center flex items-center justify-center gap-1",children:[(0,s.jsx)(o.QVr,{}),(0,s.jsx)(n.A,{children:"Back to home page"})]})]})})}}}]);

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.