(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4712],{82516:function(r,t,n){Promise.resolve().then(n.bind(n,18049)),Promise.resolve().then(n.bind(n,81565))},18049:function(r,t,n){"use strict";n.r(t),n.d(t,{OAuthCredentialDetail:function(){return l}});var e=n(36164),u=n(3546),o=n(11978),i=n(74630),c=n(69646),s=n(40055),f=n(90379),a=n(18399),Z=n(20325);let l=r=>{let{provider:t}=r,n=(0,o.useRouter)(),[{data:l,fetching:v}]=(0,s.aM)({query:Z.oauthCredential,variables:{provider:t}}),p=null==l?void 0:l.oauthCredential,d=u.useMemo(()=>{if(p)return(0,c.Z)(p,r=>!(0,i.Z)(r))},[p]);return(0,e.jsx)("div",{children:v?(0,e.jsx)("div",{children:(0,e.jsx)(f.cg,{})}):(0,e.jsx)(a.ZP,{provider:t,defaultValues:d,onSuccess:()=>{n.push("/settings/sso")}})})}},26581:function(r,t,n){"use strict";var e=n(74913),u=n(77725),o=Object.prototype.hasOwnProperty;t.Z=function(r,t,n){var i=r[t];o.call(r,t)&&(0,u.Z)(i,n)&&(void 0!==n||t in r)||(0,e.Z)(r,t,n)}},74913:function(r,t,n){"use strict";var e=n(27015);t.Z=function(r,t,n){"__proto__"==t&&e.Z?(0,e.Z)(r,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):r[t]=n}},27015:function(r,t,n){"use strict";var e=n(47404),u=function(){try{var r=(0,e.Z)(Object,"defineProperty");return r({},"",{}),r}catch(r){}}();t.Z=u},9841:function(r,t,n){"use strict";var e=n(95973),u=n(9111),o=n(82149);t.Z=function(r){return(0,e.Z)(r,o.Z,u.Z)}},8621:function(r,t,n){"use strict";var e=(0,n(34659).Z)(Object.getPrototypeOf,Object);t.Z=e},9111:function(r,t,n){"use strict";var e=n(68085),u=n(8621),o=n(45270),i=n(25407),c=Object.getOwnPropertySymbols?function(r){for(var t=[];r;)(0,e.Z)(t,(0,o.Z)(r)),r=(0,u.Z)(r);return t}:i.Z;t.Z=c},82149:function(r,t,n){"use strict";n.d(t,{Z:function(){return a}});var e=n(30762),u=n(84639),o=n(36586),i=function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t},c=Object.prototype.hasOwnProperty,s=function(r){if(!(0,u.Z)(r))return i(r);var t=(0,o.Z)(r),n=[];for(var e in r)"constructor"==e&&(t||!c.call(r,e))||n.push(e);return n},f=n(20568),a=function(r){return(0,f.Z)(r)?(0,e.Z)(r,!0):s(r)}},69646:function(r,t,n){"use strict";n.d(t,{Z:function(){return p}});var e=n(64143),u=n(90830),o=n(30586),i=n(26581),c=n(81913),s=n(26329),f=n(84639),a=n(80143),Z=function(r,t,n,e){if(!(0,f.Z)(r))return r;t=(0,c.Z)(t,r);for(var u=-1,o=t.length,Z=o-1,l=r;null!=l&&++u<o;){var v=(0,a.Z)(t[u]),p=n;if("__proto__"===v||"constructor"===v||"prototype"===v)break;if(u!=Z){var d=l[v];void 0===(p=e?e(d,v,l):void 0)&&(p=(0,f.Z)(d)?d:(0,s.Z)(t[u+1])?[]:{})}(0,i.Z)(l,v,p),l=l[v]}return r},l=function(r,t,n){for(var e=-1,u=t.length,i={};++e<u;){var s=t[e],f=(0,o.Z)(r,s);n(f,s)&&Z(i,(0,c.Z)(s,r),f)}return i},v=n(9841),p=function(r,t){if(null==r)return{};var n=(0,e.Z)((0,v.Z)(r),function(r){return[r]});return t=(0,u.Z)(t),l(r,n,function(r,n){return t(r,n[0])})}}},function(r){r.O(0,[7998,5498,6312,4007,5384,1283,3449,2578,9421,240,9317,7828,830,3882,3894,9610,4342,9736,1565,3396,325,8399,3375,5289,1744],function(){return r(r.s=82516)}),_N_E=r.O()}]);