fix: missing code for browser for OIDC (#12355)

This commit is contained in:
Harshavardhana authored and GitHub committed 2021-05-21 14:23:01 -07:00
1 parent f01820a4ee
commit c09fe2c40e
3 files changed
+21351 -25

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ T.version="2.26.0",M=xM,T.fn=zI,T.min=function(){var A=[].slice.call(arguments,0
object-assign
(c) Sindre Sorhus
@license MIT
*/var g=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;function D(A){if(null==A)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(A)}A.exports=function(){try{if(!Object.assign)return!1;var A=new String("abc");if(A[5]="de","5"===Object.getOwnPropertyNames(A)[0])return!1;for(var M={},I=0;I<10;I++)M["_"+String.fromCharCode(I)]=I;if("0123456789"!==Object.getOwnPropertyNames(M).map((function(A){return M[A]})).join(""))return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach((function(A){g[A]=A})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},g)).join("")}catch(A){return!1}}()?Object.assign:function(A,M){for(var I,j,C=D(A),L=1;L<arguments.length;L++){for(var t in I=Object(arguments[L]))T.call(I,t)&&(C[t]=I[t]);if(g){j=g(I);for(var w=0;w<j.length;w++)N.call(I,j[w])&&(C[j[w]]=I[j[w]])}}return C}},function(A,M,I){"use strict";function g(A){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}A.exports=function(A){return null!==A&&"object"===g(A)}},function(A,M){A.exports=function(A){return A.webpackPolyfill||(A.deprecate=function(){},A.paths=[],A.children||(A.children=[]),Object.defineProperty(A,"loaded",{enumerable:!0,get:function(){return A.l}}),Object.defineProperty(A,"id",{enumerable:!0,get:function(){return A.i}}),A.webpackPolyfill=1),A}},function(A,M,I){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var g=function(){function A(A,M){for(var I=0;I<M.length;I++){var g=M[I];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(A,g.key,g)}}return function(M,I,g){return I&&A(M.prototype,I),g&&A(M,g),M}}();M.hasCookies=function(){var A=new L;try{A.setItem("__test","1");var M=A.getItem("__test");return A.removeItem("__test"),"1"===M}catch(A){return!1}};var T,N=I(585),D=(T=N)&&T.__esModule?T:{default:T};function j(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}var C="lS_",L=function(){function A(){var M=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};j(this,A),this.cookieOptions=Object.assign({path:"/"},M),C=void 0===M.prefix?C:M.prefix}return g(A,[{key:"getItem",value:function(A){var M=D.default.parse(document.cookie);return M&&M.hasOwnProperty(C+A)?M[C+A]:null}},{key:"setItem",value:function(A,M){return document.cookie=D.default.serialize(C+A,M,this.cookieOptions),M}},{key:"removeItem",value:function(A){var M=Object.assign({},this.cookieOptions,{maxAge:-1});return document.cookie=D.default.serialize(C+A,"",M),null}},{key:"clear",value:function(){var A=D.default.parse(document.cookie);for(var M in A)0===M.indexOf(C)&&this.removeItem(M.substr(C.length));return null}}]),A}();M.default=L},function(A,M,I){"use strict";var g=function(){function A(A,M){for(var I=0;I<M.length;I++){var g=M[I];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(A,g.key,g)}}return function(M,I,g){return I&&A(M.prototype,I),g&&A(M,g),M}}();var T=I(1),N=I(10),D=function(A){function M(){return function(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}(this,M),function(A,M){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!M||"object"!=typeof M&&"function"!=typeof M?A:M}(this,(M.__proto__||Object.getPrototypeOf(M)).call(this))}return function(A,M){if("function"!=typeof M&&null!==M)throw new TypeError("Super expression must either be null or a function, not "+typeof M);A.prototype=Object.create(M&&M.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(A,M):A.__proto__=M)}(M,A),g(M,[{key:"componentDidMount",value:function(){var A=this,M=!0,I=!0,g=N.findDOMNode(this);A.__documentTouchStarted=function(M){g.removeEventListener("click",A.__elementClicked),document.removeEventListener("click",A.__documentClicked)},A.__documentTouchMoved=function(A){I=!1},A.__documentTouchEnded=function(M){I&&A.__documentClicked(M),I=!0},A.__documentClicked=function(M){if(-1===(M.__clickedElements||[]).indexOf(g)){var I=A.onClickOut||A.props.onClickOut;if(!I)return console.warn("onClickOut is not defined.");I.call(A,M)}},A.__elementTouchMoved=function(A){M=!1},A.__elementTouchEnded=function(I){M&&A.__elementClicked(I),M=!0},A.__elementClicked=function(A){A.__clickedElements=A.__clickedElements||[],A.__clickedElements.push(g)},setTimeout((function(){A.__unmounted||A.toggleListeners("addEventListener")}),0)}},{key:"toggleListeners",value:function(A){var M=N.findDOMNode(this);M[A]("touchmove",this.__elementTouchMoved),M[A]("touchend",this.__elementTouchEnded),M[A]("click",this.__elementClicked),document[A]("touchstart",this.__documentTouchStarted),document[A]("touchmove",this.__documentTouchMoved),documLine truncated
*/var g=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;function D(A){if(null==A)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(A)}A.exports=function(){try{if(!Object.assign)return!1;var A=new String("abc");if(A[5]="de","5"===Object.getOwnPropertyNames(A)[0])return!1;for(var M={},I=0;I<10;I++)M["_"+String.fromCharCode(I)]=I;if("0123456789"!==Object.getOwnPropertyNames(M).map((function(A){return M[A]})).join(""))return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach((function(A){g[A]=A})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},g)).join("")}catch(A){return!1}}()?Object.assign:function(A,M){for(var I,j,C=D(A),L=1;L<arguments.length;L++){for(var t in I=Object(arguments[L]))T.call(I,t)&&(C[t]=I[t]);if(g){j=g(I);for(var w=0;w<j.length;w++)N.call(I,j[w])&&(C[j[w]]=I[j[w]])}}return C}},function(A,M,I){"use strict";function g(A){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}A.exports=function(A){return null!==A&&"object"===g(A)}},function(A,M){A.exports=function(A){return A.webpackPolyfill||(A.deprecate=function(){},A.paths=[],A.children||(A.children=[]),Object.defineProperty(A,"loaded",{enumerable:!0,get:function(){return A.l}}),Object.defineProperty(A,"id",{enumerable:!0,get:function(){return A.i}}),A.webpackPolyfill=1),A}},function(A,M,I){"use strict";Object.defineProperty(M,"__esModule",{value:!0});var g=function(){function A(A,M){for(var I=0;I<M.length;I++){var g=M[I];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(A,g.key,g)}}return function(M,I,g){return I&&A(M.prototype,I),g&&A(M,g),M}}();M.hasCookies=function(){var A=new L;try{A.setItem("__test","1");var M=A.getItem("__test");return A.removeItem("__test"),"1"===M}catch(A){return!1}};var T,N=I(585),D=(T=N)&&T.__esModule?T:{default:T};function j(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}var C="lS_",L=function(){function A(){var M=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};j(this,A),this.cookieOptions=Object.assign({path:"/"},M),C=void 0===M.prefix?C:M.prefix}return g(A,[{key:"getItem",value:function(A){var M=D.default.parse(document.cookie);return M&&M.hasOwnProperty(C+A)?M[C+A]:null}},{key:"setItem",value:function(A,M){return document.cookie=D.default.serialize(C+A,M,this.cookieOptions),M}},{key:"removeItem",value:function(A){var M=Object.assign({},this.cookieOptions,{maxAge:-1});return document.cookie=D.default.serialize(C+A,"",M),null}},{key:"clear",value:function(){var A=D.default.parse(document.cookie);for(var M in A)0===M.indexOf(C)&&this.removeItem(M.substr(C.length));return null}}]),A}();M.default=L},function(A,M,I){"use strict";var g=function(){function A(A,M){for(var I=0;I<M.length;I++){var g=M[I];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(A,g.key,g)}}return function(M,I,g){return I&&A(M.prototype,I),g&&A(M,g),M}}();var T=I(1),N=I(10),D=function(A){function M(){return function(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}(this,M),function(A,M){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!M||"object"!=typeof M&&"function"!=typeof M?A:M}(this,(M.__proto__||Object.getPrototypeOf(M)).call(this))}return function(A,M){if("function"!=typeof M&&null!==M)throw new TypeError("Super expression must either be null or a function, not "+typeof M);A.prototype=Object.create(M&&M.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(A,M):A.__proto__=M)}(M,A),g(M,[{key:"componentDidMount",value:function(){var A=this,M=!0,I=!0,g=N.findDOMNode(this);A.__documentTouchStarted=function(M){g.removeEventListener("click",A.__elementClicked),document.removeEventListener("click",A.__documentClicked)},A.__documentTouchMoved=function(A){I=!1},A.__documentTouchEnded=function(M){I&&A.__documentClicked(M),I=!0},A.__documentClicked=function(M){if(-1===(M.__clickedElements||[]).indexOf(g)){var I=A.onClickOut||A.props.onClickOut;if(!I)return console.warn("onClickOut is not defined.");I.call(A,M)}},A.__elementTouchMoved=function(A){M=!1},A.__elementTouchEnded=function(I){M&&A.__elementClicked(I),M=!0},A.__elementClicked=function(A){A.__clickedElements=A.__clickedElements||[],A.__clickedElements.push(g)},setTimeout((function(){A.__unmounted||A.toggleListeners("addEventListener")}),0)}},{key:"toggleListeners",value:function(A){var M=N.findDOMNode(this);M[A]("touchmove",this.__elementTouchMoved),M[A]("touchend",this.__elementTouchEnded),M[A]("click",this.__elementClicked),document[A]("touchstart",this.__documentTouchStarted),document[A]("touchmove",this.__documentTouchMoved),documLine truncated
/** @license React v16.13.1
* react.production.min.js
*