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AO,EAAGvD,IACtBwD,EAAQN,EAAKD,EAAM,GAAGxB,QAAQiB,EAAe,KAC7CU,EAAMA,EAAIK,UAAUzD,EAAIiD,EAAM,GAAG/C,QAGnC,OADAoD,EAAQF,GACDZ,EAAU3G,EAAKK,KAAK,KAE3B,SAASoH,EAAQP,GApLrB,IAAsBnF,EAChB9B,EAoLKiH,GAGLlH,EAAKwC,MAxLWT,EAwLOmF,EAtLd9H,EADTa,EAAM,GAC2BhB,GAC9B8C,MAAMA,GACN9B,EAAII,KAAK,KAqLd,CAEA,SAASsH,EAAQN,EAAKH,GACpB,IAAItE,EAAKiF,EAAiBP,EAAaD,GAGvC,IAAKzE,KAFL5C,EAAKwC,KAAK,OAEEqF,EACV7H,EAAKwC,KAAKI,EAAM,KAAOiF,EAAejF,GAAO,MAG3C7D,EAAUoI,MAAa,WAAYU,IACrC7H,EAAKwC,KAAK,WACA2E,EACA,MAEZnH,EAAKwC,KAAK,SACA6E,EAAIzB,QAAQ,KAAM,UAClB,MACV6B,EAAQP,GACRlH,EAAKwC,KAAK,OACZ,CACF,CACF,GAGC,CAr3BD,CAq3BG/D,OAAQA,OAAOC,Q,kBC13BlB,EAAQ,OACRa,EAAOuI,QAAU,Y","sources":["webpack://apps/./node_modules/angular-sanitize/angular-sanitize.js","webpack://apps/./node_modules/angular-sanitize/index.js"],"sourcesContent":["/**\n * @license AngularJS v1.8.3\n * (c) 2010-2020 Google LLC. http://angularjs.org\n * License: MIT\n */\n(function(window, angular) {'use strict';\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Any commits to this file should be reviewed with security in mind. *\n * Changes to this file can potentially create security vulnerabilities. *\n * An approval from 2 Core members with history of modifying *\n * this file is required. *\n * *\n * Does the change somehow allow for arbitrary javascript to be executed? *\n * Or allows for someone to change the prototype of built-in objects? *\n * Or gives undesired access to variables likes document or window? *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\nvar $sanitizeMinErr = angular.$$minErr('$sanitize');\nvar bind;\nvar extend;\nvar forEach;\nvar isArray;\nvar isDefined;\nvar lowercase;\nvar noop;\nvar nodeContains;\nvar htmlParser;\nvar htmlSanitizeWriter;\n\n/**\n * @ngdoc module\n * @name ngSanitize\n * @description\n *\n * The `ngSanitize` module provides functionality to sanitize HTML.\n *\n * See {@link ngSanitize.$sanitize `$sanitize`} for usage.\n */\n\n/**\n * @ngdoc service\n * @name $sanitize\n * @kind function\n *\n * @description\n * Sanitizes an html string by stripping all potentially dangerous tokens.\n *\n * The input is sanitized by parsing the HTML into tokens. All safe tokens (from a trusted URI list) are\n * then serialized back to a properly escaped HTML string. This means that no unsafe input can make\n * it into the returned string.\n *\n * The trusted URIs for URL sanitization of attribute values is configured using the functions\n * `aHrefSanitizationTrustedUrlList` and `imgSrcSanitizationTrustedUrlList` of {@link $compileProvider}.\n *\n * The input may also contain SVG markup if this is enabled via {@link $sanitizeProvider}.\n *\n * @param {string} html HTML input.\n * @returns {string} Sanitized HTML.\n *\n * @example\n an html\\nclick here\\nsnippet an html\\n\" +\n \"click here\\n\" +\n \"snippet\n
\n \n \n Directive \n How \n Source \n Rendered \n \n \n ng-bind-html \n Automatically uses $sanitize \n \n <div ng-bind-html=\"snippet\">
</div>\n \n \n ng-bind-html \n Bypass $sanitize by explicitly trusting the dangerous value \n \n \n <div ng-bind-html=\"deliberatelyTrustDangerousSnippet()\">\n</div>
\n \n \n \n ng-bind \n Automatically escapes \n \n <div ng-bind=\"snippet\">
</div>\n
By enabling this setting without taking other precautions, you might expose your\n * application to click-hijacking attacks. In these attacks, sanitized svg elements could be positioned\n * outside of the containing element and be rendered over other elements on the page (e.g. a login\n * link). Such behavior can then result in phishing incidents.
\n *\n *To protect against these, explicitly setup `overflow: hidden` css rule for all potential svg\n * tags within the sanitized content:
\n *\n *\n * .rootOfTheIncludedContent svg {\n * overflow: hidden !important;\n * }\n *
\n * Filter | \nSource | \nRendered | \n
---|---|---|
linky filter | \n\n <div ng-bind-html=\"snippet | linky\">\n | \n \n \n | \n
linky target | \n\n <div ng-bind-html=\"snippetWithSingleURL | linky:'_blank'\">\n | \n \n \n | \n
linky custom attributes | \n\n <div ng-bind-html=\"snippetWithSingleURL | linky:'_self':{rel: 'nofollow'}\">\n | \n \n \n | \n
no filter | \n<div ng-bind=\"snippet\"> | \n \n |