/* isEu: noneu */

/* gen: 2019-03-18 01:54:24 */
window["__lxGr__"] = {"conf":{"sid":198659},"_586050":{"_586050":{"wght":0,"type":"cmn"},"_617406":{"wght":50,"type":"cmn","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_617406');<\/script>"],"pbjs":1,"head_hash":["7cee8b6841577974aa22c52568c53b8b"]},"_617405":{"wght":50,"type":"dfp","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_617405');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_617405_240x400",\
                                      [[240,400]],\
                                      "div-gpt-ad-21727382414-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21727382414-' + i + '\'>\
                              </div>';
                        },"head_hash":["390f2870de40970d1fe4f82922a9964d","b40232bdcbaefa4f06e757b5fbc24656"]}},"_586049":{"_586049":{"wght":0,"type":"cmn","device":[1,1,0]},"_617411":{"wght":100,"type":"dfp","device":[1,1,0],"policy":"strict","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_617411');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_617411_300x600",\
                                      [[300,600],[300,250],[160,600]],\
                                      "div-gpt-ad-21727383236-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21727383236-' + i + '\'>\
                              </div>';
                        },"head_hash":["917d14e0356cd6064e714b3cb0dc0748","b40232bdcbaefa4f06e757b5fbc24656"]},"_635167":{"wght":100,"type":"cmn","device":[1,1,0],"policy":"sensitive","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635167');<\/script>"],"pbjs":1,"head_hash":["bc6f19fbeadb6758f000de28ded46e91"]}},"_586055":{"_586055":{"wght":0,"type":"cmn","device":[1,1,0]},"_617415":{"wght":100,"type":"dfp","device":[1,1,0],"policy":"strict","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_617415');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_617415_300x600",\
                                      [[300,600],[300,250],[160,600]],\
                                      "div-gpt-ad-21727383689-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21727383689-' + i + '\'>\
                              </div>';
                        },"head_hash":["dcca102c84dbdc5d21b458563f969daa","b40232bdcbaefa4f06e757b5fbc24656"]},"_635166":{"wght":100,"type":"cmn","device":[1,1,0],"policy":"sensitive","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635166');<\/script>"],"pbjs":1,"head_hash":["c2a858402feb97e77187357fae642bb6"]}},"_586054":{"_586054":{"wght":0,"type":"cmn","device":[1,1,0]},"_617413":{"wght":50,"type":"cmn","device":[1,1,0],"hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_617413');<\/script>"],"pbjs":1,"head_hash":["eee3bd37def1dc1e41f3fca225a2243a"]},"_617417":{"wght":50,"type":"dfp","device":[1,1,0],"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_617417');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_617417_980x120",\
                                      [[980,120],[320,50],[320,100],[728,90],[970,90]],\
                                      "div-gpt-ad-21727469742-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21727469742-' + i + '\'>\
                              </div>';
                        },"head_hash":["e8599897aa798f8f30b34b047b82686d","b40232bdcbaefa4f06e757b5fbc24656"]}},"_583309":{"_583309":{"wght":0,"type":"cmn","device":[0,0,1]},"_617434":{"wght":100,"type":"dfp","device":[0,0,1],"policy":"strict","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_617434');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_617434_300x600",\
                                      [[300,250],[300,600],[320,100],[336,280],"fluid"],\
                                      "div-gpt-ad-21727641628-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21727641628-' + i + '\'>\
                              </div>';
                        },"head_hash":["fb80594a71adfd3f97c54dd28c8a7855","b40232bdcbaefa4f06e757b5fbc24656"]},"_635164":{"wght":100,"type":"cmn","device":[0,0,1],"policy":"sensitive","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635164');<\/script>"],"pbjs":1,"head_hash":["52152814dbbd94c34b3a4482faed0228"]}},"_621268":{"_621268":{"wght":0,"type":"cmn","device":[1,1,0]},"_635151":{"wght":100,"type":"cmn","device":[1,1,0],"policy":"sensitive","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635151');<\/script>"],"pbjs":1,"head_hash":["3b7ea00f5051ade6e245faec0986ebac"]},"_635156":{"wght":100,"type":"dfp","device":[1,1,0],"policy":"strict","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635156');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_635156_300x600",\
                                      [[300,600],[300,250],[160,600]],\
                                      "div-gpt-ad-21756760848-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21756760848-' + i + '\'>\
                              </div>';
                        },"head_hash":["08ec076702fe62e070b7f771022b15c0","b40232bdcbaefa4f06e757b5fbc24656"]}},"_615650":{"_615650":{"wght":0,"type":"cmn","device":[1,1,0]},"_617449":{"wght":100,"type":"dfp","device":[1,1,0],"policy":"strict","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_617449');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_617449_300x600",\
                                      [[300,600],[300,250],[160,600]],\
                                      "div-gpt-ad-21727644358-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21727644358-' + i + '\'>\
                              </div>';
                        },"head_hash":["8f8489df6645bb508873a3c88fadbcea","b40232bdcbaefa4f06e757b5fbc24656"]},"_635183":{"wght":100,"type":"cmn","device":[1,1,0],"policy":"sensitive","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635183');<\/script>"],"pbjs":1,"head_hash":["434f3906600c821b632883db956432bf"]}},"_615689":{"_615689":{"wght":0,"type":"cmn","device":[0,0,1]},"_635144":{"wght":100,"type":"cmn","device":[0,0,1],"policy":"sensitive","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635144');<\/script>"],"pbjs":1,"head_hash":["318f77a414c48a46a8bd9175293ae58c"]},"_635163":{"wght":100,"type":"dfp","device":[0,0,1],"policy":"strict","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635163');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_635163_300x300",\
                                      [[300,300],[300,250]],\
                                      "div-gpt-ad-21756764028-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21756764028-' + i + '\'>\
                              </div>';
                        },"head_hash":["7f577622be062414342ab0ff489485a8","b40232bdcbaefa4f06e757b5fbc24656"]}},"_615721":{"_615721":{"wght":0,"type":"cmn","device":[1,1,0]},"_617453":{"wght":95,"type":"dfp","device":[1,1,0],"policy":"strict","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_617453');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_617453_970x250",\
                                      [[970,250],[300,250],[320,50],[320,100],[728,90],[970,90]],\
                                      "div-gpt-ad-21727390235-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21727390235-' + i + '\'>\
                              </div>';
                        },"head_hash":["f02ba8ce5e58270ae21a60ca980f26d6","b40232bdcbaefa4f06e757b5fbc24656"]},"_635165":{"wght":100,"type":"cmn","device":[1,1,0],"policy":"sensitive","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635165');<\/script>"],"pbjs":1,"head_hash":["952525803e522cd7e0ae51544145daae"]}},"_614896":{"_614896":{"wght":0,"type":"cmn","device":[0,0,1],"auto_ins":1,"sngltn":1},"_635192":{"wght":100,"type":"dfp","device":[0,0,1],"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635192');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_635192_336x280",\
                                      [[300,250],[320,100],[336,280],"fluid"],\
                                      "div-gpt-ad-21757033056-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>';
                        },"head_hash":["7fe5cba4290dce7593ff429729857001","b40232bdcbaefa4f06e757b5fbc24656"]}},"_617739":{"_617739":{"wght":0,"type":"cmn","device":[1,1,0]},"_635148":{"wght":100,"type":"dfp","device":[1,1,0],"policy":"strict","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635148');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_635148_300x600",\
                                      [[300,600],[300,250],[160,600]],\
                                      "div-gpt-ad-21756834451-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21756834451-' + i + '\'>\
                              </div>';
                        },"head_hash":["aef61615b949ab6ad0158b7b56a332c8","b40232bdcbaefa4f06e757b5fbc24656"]},"_635154":{"wght":100,"type":"cmn","device":[1,1,0],"policy":"sensitive","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635154');<\/script>"],"pbjs":1,"head_hash":["ebdaa037ca20f9f6a5b47d524c00a46f"]}},"_635006":{"_635006":{"wght":0,"type":"cmn","device":[1,1,0]},"_635010":{"wght":100,"type":"dfp","device":[1,1,0],"policy":"strict","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635010');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_635010_300x600",\
                                      [[300,600],[300,250],[160,600]],\
                                      "div-gpt-ad-21755484296-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21755484296-' + i + '\'>\
                              </div>';
                        },"head_hash":["1aef31fced4200da9c4dcb26080898c0","b40232bdcbaefa4f06e757b5fbc24656"]},"_635116":{"wght":100,"type":"cmn","device":[1,1,0],"policy":"sensitive","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635116');<\/script>"],"pbjs":1,"head_hash":["01efd0a2288a68b1328c4573e3ee55b9"]}},"_635005":{"_635005":{"wght":0,"type":"cmn","device":[1,1,0]},"_635009":{"wght":100,"type":"dfp","device":[1,1,0],"policy":"strict","head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635009');<\/script>","<script type='text\/javascript'>\r\n                                var googletag = googletag || {};\r\n                                googletag.cmd = googletag.cmd || [];\r\n                              <\/script>\\\r\n                              <script async='async' type='text\/javascript' src='https:\/\/www.googletagservices.com\/tag\/js\/gpt.js'><\/script>"],"pbdfpjs":1,"code":function (i) {
                            i = i || 1;
                            return '<script>\
                                googletag.cmd.push(function() {\
                                  googletag.defineSlot(\
                                      "/45470634/clickio_area_635009_300x600",\
                                      [[300,600],[300,250],[160,600]],\
                                      "div-gpt-ad-21755484314-' + i + '"\
                                  ).addService(googletag.pubads());\
                                  googletag.enableServices();\
                                });\
                              </script>\
                              <div id=\'div-gpt-ad-21755484314-' + i + '\'>\
                              </div>';
                        },"head_hash":["8c523933aff25cf3d8d0f31739dc8de6","b40232bdcbaefa4f06e757b5fbc24656"]},"_635123":{"wght":100,"type":"cmn","device":[1,1,0],"policy":"sensitive","hb":1,"head":["<script type=\"text\/javascript\">((__lxGpp__=window.__lxGpp__||{'s':{}})['s']['_198659']=__lxGpp__['s']['_198659']||{'b':[]})['b'].push('_635123');<\/script>"],"pbjs":1,"head_hash":["8bbed38dc56a9c7f9a2709d29a1d9903"]}}};

(window.__lxG__=window.__lxG__||{}).biddingBlocksDelay=1000;

/* src: 2019-03-13 14:40:06 */
/* gen: 2019-03-18 01:54:43 */
(window.__lxG__=window.__lxG__||{}).pbjs = function(){;function ca(a){h(a,function(b){a[b].bids&&h(a[b].bids,function(c){var d=a[b].bids[c];if("teads"==d.bidder){if(!l(d.__parentDivId)){var e=null;h(v,function(c){var g=v[c];if(l(g.bids)&&g.bids.length){var f=!1;h(g.bids,function(c){c=g.bids[c];if("teads"==c.bidder&&JSON.stringify(c.__sds_id__)==JSON.stringify(d.__sds_id__))return l(c.__parentDivId)||(c.__parentDivId="clickio_"+k(a[b].site_area_id,a[b].id)+(k(a[b].site_area_sub_id)?"."+a[b].site_area_sub_id:"")+"_"+k(c.params.pageId,"pageId")+
"_"+k(c.params.placementId,"placementId")),e=c.__parentDivId,f=!0,!1});if(f)return!1}});d.__parentDivId=e}return!1}})})}function da(a){h(a,function(b){if(b=a[b]){var c=b.code;c&&h(v,function(a){a=v[a];a.code==c&&(a.__tmp__.B=!0)})}})}function Ta(a){a.length&&(void 0).cmd.push(function(){(void 0)(function(a){return function(){(void 0)(a,function(a){h(a,function(b){var c=(void 0)(a[b],!0);c&&h(c,function(a){if(a=c[a])a.getAdUnitPath(),a.getSlotElementId(),a.getSlotElementId(),(void 0)(a)})})})}}(a))})}
function ta(a,b){f.bids.end||(f.bids.end=(new Date).getTime());!1!==b&&void 0!==b&&(h(b,function(a){h(b[a].bids,function(){})}),f.bids.bids||(f.bids.bids=[]),h(b,function(a){var c=a.split("-");h(c,function(d){var e=c[d];f.bids.bidding&&ua(f.bids.bidding,~e.indexOf(".")?e:parseInt(e,10));var m=!1;h(f.bids.bids,function(a){f.bids.bids[a].id==e&&(m=a)});!1===m&&(m=f.bids.bids.push({id:e,data:[],bids:[]}),--m);var sa=b[a].bids,Sa=f.bids.bids[m].bids.length;h(sa,function(a){var b=Sa+parseInt(a,10),c=sa[a];
a=f.bids.bids[m];a.data[b]={adId:c.adId,used:!1,sent:!1,sent_time:!1,rendered:!1,asked:!1,html:k(c.ad,""),url:k(c.adUrl,""),w:k(c.width,0),h:k(c.height,0),ttr:k(c.timeToRespond,0),timeouted:l(c.getStatusCode)&&3===c.getStatusCode(),adserverTargeting:c.adserverTargeting};a.bids[b]=[c.bidder];a.bids[b].push(c.cpm);var e=!1;(c=Va(c))&&(e=c.__sds_id__[d]);e&&a.bids[b].push(e)})})}),Wa(a),f.bids.bidding.length||(f.bids.bidding=!1),H&&h(f.bids.bids,function(a,b){var c=[],d=[];h(b.bids,function(a,e){var g=
{},m=e[1];g.ds=e[0];g.cpm=m;g.cpm_raw=e[1];g.sds=e[2];g.ttr=b.data[a].ttr;b.data[a].timeouted&&(g.tout=1);c.push(g);d.push(["",m,e[2]].join("_"))});a={bidding_time:f.bids.end-f.bids.start,bids:JSON.stringify(c)};a.mbids=d.join(",");M(b.id,2,a)}),ea());Xa("localBidsReady")}function Wa(a){h(a,function(b){var c=a[b].code.split("-");h(c,function(a){a=c[a];f.bids.bidding&&ua(f.bids.bidding,~a.indexOf(".")?a:parseInt(a,10))})})}function Va(a){var b=!1;h(w.adUnits,function(c,d){h(d.bids,function(c,d){if(k(d.bidId)==
a.adId||k(d.bidId)==a.creativeId)return b=d,!1});if(b)return!1});return b}function Ya(a,b,c){var d=[],e=[],g=b||function(a){a||ea()},m=c||g||function(a){a||ea()};va(I,function(){if(t||null===t)if(h(a,function(b){var c=""+a[b];c&&h(v,function(g){g=v[g];var m=(""+g.code).split("-"),h=m.indexOf(c),f=c.split(".")[0];m=m.indexOf(f);if(~h||~m)k(g.__tmp__.B)?(k(g.__tmp__.a)||(g.__tmp__.a=[]),~h&&!~g.__tmp__.a.indexOf(c.replace("_",""))?g.__tmp__.a.push(c.replace("_","")):~m&&!~g.__tmp__.a.indexOf(f.replace("_",
""))&&g.__tmp__.a.push(f.replace("_",""))):(e.push(a[b]),d.push(g),g.__tmp__.B=!0,k(g.__tmp__.a)||(g.__tmp__.a=[]),~h?g.__tmp__.a.push(c.replace("_","")):~m&&g.__tmp__.a.push(f.replace("_","")),k(g.site_area_id)||(g.site_area_id=f.replace("_","")),f==c||k(g.site_area_sub_id)||(g.site_area_sub_id=c.split(".")[1]))})}),d.length)return d=B(d),e=R(e),H&&e.length&&h(e,function(a){M(e[a],1,{ses_type:1,url:n.location.href})}),da(d),ca(d),fa(d),w.addAdUnits(d),w.requestBids({adUnitCodes:d.map(function(a){return a.code}),
bidsBackHandler:function(a){return function(b){ta(a,b,function(a){g(a)})}}(d)}),!0;m()});return!1}function ea(){N("bids",{bidding:f.bids.bidding,start:f.bids.start,end:f.bids.end},function(a,b){a.bids=wa(k(b.ids,[]));return a});N("bidsReady")}function wa(a){var b=[];f.bids.bids?h(f.bids.bids,function(c){var d=f.bids.bids[c];if(~a.indexOf(d.id)){var e={id:d.id,bids:[]};h(d.bids,function(a){k(d.data[a].asked)||k(d.data[a].used)||(d.data[a].asked=!0,e.bids.push(d.bids[a]),Za(d.data[a].adId))});e.bids.length&&
b.push(e)}}):b=!1;return b}function Za(a){h(f.bids.bids,function(b){var c=f.bids.bids[b];h(c.data,function(b){c.data[b].adId!=a||k(c.data[b].used)&&k(c.bids[b].used)||(c.bids[b].used=!0,c.data[b].used=!0)})})}function fa(a){f.bids.bidding||(f.bids.bidding=[]);h(a,function(a,c){k(c.bids,[]).length&&Array.prototype.push.apply(f.bids.bidding,c.__tmp__.a)});h(f.bids.bidding,function(a){f.bids.bidding[a]=~(""+f.bids.bidding[a]).indexOf(".")?f.bids.bidding[a]:parseInt(f.bids.bidding[a],10)});f.bids.bidding=
R(f.bids.bidding);f.bids.bidding.length||(f.bids.bidding=!1);H&&h(f.bids.bidding,function(a){M(f.bids.bidding[a],1,{ses_type:1,url:n.location.href})})}function $a(a){var b=q.location.hostname.split(".").slice(-2).join(".");h(a,function(c,d){a[c].code+="";h(d.bids,function(e){l(d.bids[e].__drestr__)&&!~d.bids[e].__drestr__.indexOf(b)&&delete a[c].bids[e]});a[c].bids=a[c].bids.filter(function(a){return null!==a})});a=a.filter(function(a){return!!a})}function ab(a){var b=[];h(a,function(c){b=b.concat((""+
a[c].code).split("-").map(function(a){return"_"+a}))});var c=k(window.__lxGpp__,k(window.__lxGp__));c&&l(c.s)&&(c=k(c.s._198659))&&l(c.b)&&(b=c.b);if(b.length){var d=R(b.map(function(a){return a.split(".")[0]}));h(a,function(c){var e=a[c];if(k(e.__spec__)&&"auto"==(void 0)(e)){if(!xa)return!0;var m="_"+(""+e.code).split(".")[0],f=!1;if(~Object.keys(n.__lxGr__).indexOf(m))f=!0;else{var l=!1;h(n.__lxGr__,function(a){h(n.__lxGr__[a],function(a){if(a==m)return l=!0,!1});if(l)return!1});l&&(f=!0)}if(f&&
!~d.indexOf(m))return delete a[c],!0}var p=(""+e.code).split("-"),q=!1;h(p,function(a){var c=(""+p[a]).split(".")[0];a=b.indexOf("_"+c);c=d.indexOf("_"+c);if(~a||~c){var g=null;~a?g=b[a]:~c&&(g=b[c]);q=!0;k(e.__tmp__.a)||(e.__tmp__.a=[]);e.__tmp__.a.push(g.replace("_",""));a=g.replace("_","").split(".");e.site_area_id=a[0];e.site_area_sub_id=k(a[1])}});q||delete a[c]});a=a.filter(function(a){return!!a})}}function ha(){if(ya){if(null===t){var a=bb.get("__lxG__consent__");null!==a&&(a=a.split("|"),
t=a[0])}1==k(C.pauseLoad)&&(ia=!0);null===t&&(t=true);var b=function(){},c=function(){};l(C.resumeLoad)&&(b=C.resumeLoad);l(C.allowPersAds)&&(c=C.allowPersAds);C.resumeLoad=function(){ia=!1;l(p[I])&&(p[I].g=!0);b()};C.allowPersAds=function(a){t=za(a);c(a)}}Aa=!0;Ba&&N("gotConsent",{pers:t});!ia&&l(p[I])&&(p[I].g=!0)}function va(a,b){l(p[a])&&p[a].g?D(b):p[a].i.push(b)}function cb(a){h(p[a].i,function(b){b>p[a].o&&(p[a].o=b,D(p[a].i[b]))});p[a].m=
!1}function Ca(){h(p,function(a){p[a].g&&!p[a].m&&p[a].i.length>p[a].o+1&&(p[a].m=!0,D(function(a){return function(){cb(a)}}(a)))});setTimeout(Ca,25)}function ja(a,b,c,d,e,g){var m=!1,f=!1;a=x(a,b,c);db(a,function(a,c){m=!0;if(f)return!1;d(a,c)});setTimeout(function(){f=!0;if(m)return!1;e()},g||250)}function E(a,b,c,d,e){a={L:d||!1,f:e||!1,src:a,T:b,U:c};a[J]=S(10);return a}function x(a,b,c,d){return ka("event",{event_type:a,event:b},c,d)}function ka(a,b,c,d){var e=c.T,g=c.U,m=c.src;if(!l(m)||!l(m.postMessage))return!1;
b.type=a;b.rnd=S(10);b.sender_id=J;b.prefix=K[0];b.broadcast=d||!1;c.L&&(b["for"]=c.L);a=!1;d=c=null;if(!~la.indexOf("iphone"))try{d=m.location.protocol+"//"+m.location.hostname,c="*"==e?!0:d==e}catch(Ua){}if(null===c||c){a=eb(b);var f=fb(a,51200),k=f.length;1<k?h(f,function(a){m.postMessage(g+"|"+b.rnd+";"+a+";"+k+"|"+f[a],e)}):m.postMessage(g+"|"+f[0],e);a=b.rnd}return a}function fb(a,b){for(var c=[],d=0,e=a.length;d<e;d+=b)c.push(a.substr(d,b));return c}function gb(a,b,c,d){ka("subscribe",{subscriber:{prefix:c||
J,events:hb(a)}},b,d)}function hb(a){var b=null;ma(a)?(b={},h(a,function(c){b[a[c]]={}})):b=B(a);return b}function N(a,b,c,d){d=d||!1;b=b||{};c=c||function(a){return a};h(F,function(e){if(l(F[e].c[a])||l(F[e].c["*"])){var g=k(F[e].c[a],{}),m=c(B(b),g,F[e].K);!1!==m&&(g={event_type:a,event:m,event_params:g},d&&(g.source_rnd=d),ka("event",g,F[e].K,!1))}})}function ib(a,b,c){var d=E(a.source,a.origin,k(b.prefix,c),k(b.rnd),k(b["for"]));d.W=b.sender_id;if(d.f&&l(O[d.f]))return O[d.f]&&(O[d.f](b.event,
d),O[d.f]=null),!0;h(L,function(a){if(L[a]&&~L[a].c.indexOf(b.event_type)){var c=L[a].D(b.event,d);if(-1===c)delete L[a];else if(0===c)return!1}})}function db(a,b){O[a]=b}function A(a,b){a=ma(a)?a:[a];L.push({c:a,D:b})}function Da(a){return y.parse(a,function(a,c){if("string"===typeof c&&":f:"===c.substr(0,3)){var b=jb.exec(c.substr(3));if(null!==b){a=b[1];b=b[2];try{c=new Function(a,b)}catch(e){}}}return c})}function eb(a){return y.stringify(a,function(a,c){return"function"===typeof c?":f:"+c:c})}
function kb(a,b,c,d){b||(b=function(){});d||(d=function(){});c=c||q;var e=na("script",c);e.setAttribute("type","text/javascript");e.setAttribute("src",a);e.setAttribute("async","async");l(e)&&(lb?e.onreadystatechange=function(){"loaded"==this.readyState||"complete"==this.readyState?D(b):D(d)}:(e.onload=function(a){var c=this;D(function(){b.call(c,a);c.parentNode.removeChild(c)})},e.onerror=function(a){var c=this;D(function(){d.call(c,a);c.parentNode.removeChild(c)})}),Ea(c).appendChild(e))}function Xa(a,
b){b=b||{};h(P,function(c){if(P[c]&&~P[c].c.indexOf(a)){var d=P[c].D(B(b));if(-1===d)delete P[c];else if(0===d)return!1}})}function Fa(){try{return n.self!==n.top}catch(a){return!0}}function Ga(a){!a&&0!==a||"function"!=typeof T[a]||(T[a](),delete T[a])}function D(a){null===oa&&(oa=l(n.MessageChannel));null===pa&&(pa=l(n.requestAnimationFrame));a=T.push(a);var b=function(a){return function(){Ga(a)}}(a);oa&&mb(a);pa&&q.hasFocus()&&n.requestAnimationFrame(b);setTimeout(b,0)}function mb(a){U||(U=new MessageChannel,
U.port2.onmessage=function(a){Ga(a.data-1)});U.port1.postMessage(a)}function ua(a,b){b=a.indexOf(b);-1!==b&&a.splice(b,1)}function Ha(){l(q.body)&&q.body?Ia=q.body:setTimeout(Ha,10)}function za(a){return""===a?0:parseInt(a,10)}function Ea(a){a=a||q;var b=a.documentElement;var c=a||q;if(c=c.getElementsByTagName("head")[0])return c;for(c=b.firstChild;c&&"#text"==c.nodeName.toLowerCase();)c=c.nextSibling;if(c&&"#text"!=c.nodeName.toLowerCase())return c;a=na("head",a);b.appendChild(a);return a}function V(){var a=
99*Math.random();if(l(void 0)){var b=Math.pow(10,void 0);a=Math.round(a*b)/b}else a=Math.round(a);return(new Date).getTime()%1E7*100+a}function S(a){a=a||10;if(10<a){for(var b="",c=10;0<a;)b+=Math.round(Math.pow(36,c+1)-Math.random()*Math.pow(36,c)).toString(36).slice(1),a-=c,a<c&&(c=a);return b}return Math.round(Math.pow(36,a+1)-Math.random()*Math.pow(36,a)).toString(36).slice(1)}function l(a){return"undefined"!=typeof a}function k(a,b){b=l(b)?b:!1;return l(a)?a:b}function Ja(a,b){h(b,function(c){a[c]=
b[c]})}function h(a,b){for(var c in a)if(a.hasOwnProperty(c)&&"length"!==c&&!1===b.call(a[c],c,a[c]))break}function nb(a,b){for(var c=0;c<a.length&&(!a.hasOwnProperty(c)||"length"===c||!1!==b.call(a[c],c,a[c]));c++);}function na(a,b){b=b||q;return b.createElement(a)}function R(a){if(l(a.filter))return a.filter(function(a,b,e){return e.indexOf(a)===b});var b=[];nb(a,function(c){~b.indexOf(a[c])||b.push(a[c])});return b}function B(a,b){if(null==a||"object"!==typeof a)return a;if(void 0==b)b=[];else{var c,
d=b.length;for(c=0;c<d;c++)if(a===b[c])return a}b.push(a);if("function"==typeof a.clone)return a.clone(!0);if("[object Array]"==Object.prototype.toString.call(a)){d=a.slice();for(c=d.length;c--;)d[c]=B(d[c],b);return d}if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return new RegExp(a);if(a.nodeType&&"function"==typeof a.cloneNode)return a.cloneNode(!0);c=Object.getPrototypeOf?Object.getPrototypeOf(a):a.__proto__;c||(c=a.constructor.prototype);d=qa(c);for(var e in a)d[e]=
B(a[e],b);return d}var ob="__lxG198659__".replace(/__/mg,"").replace("lxG",""),q=document,n=window,Ia=q.body;Ea();var la=navigator.userAgent.toLowerCase(),pb=/opera/.test(la),lb=/msie/.test(la)&&!pb,Ka=!1;Ha();var qa=Object.create;"function"!==typeof qa&&(qa=function(a){function b(){}b.prototype=a;return new b});var Q=!1,ma=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)},U=!1,T=[],oa=null,pa=null,P=[];n.__lxG__=n.__lxG__||{};n.__lxG198659__=n.__lxG198659__||
{};var W=!1,X=!1,xa=!1;l(n.__lxGr__)&&(xa=!0,k(n.__lxGr__.conf.master_mode)?X=!0:k(n.__lxGr__.conf.slave_mode)&&(W=!0));var Y="__lxG198659__pb__"+V();if(l(n.__lxG198659__.lxpbjs))return!1;n.__lxG198659__.lxpbjs=!0;n[Y]=n[Y]||{};var qb=n[Y],f={};f.bids=f.bids||{};f.bids.bidding=[];f.bids.start=(new Date).getTime();f.bids.end=0;f.bids.bids=!1;n.lxpbjs=n.lxpbjs||{};var w=n.lxpbjs;w.que=w.que||[];var La=w.que,K=["__lxG__","__lxG198659__"],G=[window.location.hostname,
'clickioadvd.com'
];Ka=
!0;K=K||["postMessageApiPrefix"];G=G||[n.location.hostname];var ra=[],J="__clickio_api_client_"+S(10),y=JSON||{};l(y.stringify)&&l(y.parse)||(Q||(Q=na("iframe"),Q.style.display="none",Ia.appendChild(Q)),y=Q.contentWindow.JSON,l(y.stringify)&&l(y.parse)||(n.alert(J+": JSON not available"),y=!1));var jb=/^\s*?function\s*?\((.*?)\)\s*?{((?:.|\s)+?)}\s*?$/i,L=[],O={},F=[],Z=[],u={};(function(a,b,c,d){d=d||!1;if(a){"[object NodeList]"==Object.prototype.toString.call(a)||ma(a)||(a=[a]);var e=b.split(" ");
b=b.length;var g;for(g=0;g<b;g++)h(a,function(){this.addEventListener?this.addEventListener(e[g],c,d):this.attachEvent("on"+e[g],c)})}})(n,"message",function(a){if(a.data&&(~G.indexOf(a.origin.replace(/https?:\/\//img,""))||~G.indexOf("*"))){if(!l(a.data.indexOf))return!1;var b=!1,c="";h(K.concat([J]),function(d,e){if(0===a.data.indexOf(e+"|"))return c=e,b=!0,!1});if(!b)return!1;var d=null;try{if(y){var e=a.data.substr((c+"|").length),g=/(\w+?);(\d+?);(\d+?)\|/im.exec(e.substr(0,43));if(null!==g){e=
e.substr(e.indexOf("|")+1);var f=g[1],n=g[2],p=g[3];l(u[f])?l(u[f])&&(u[f].j.push(n),u[f].A++):u[f]={j:[n],v:{},A:1,M:parseInt(p,10)};u[f].v[n]=e;if(u[f].A==u[f].M)u[f].j.sort(),e="",h(u[f].j,function(a){e+=u[f].v[a]}),delete u[f],d=Da(e);else return!1}else d=Da(e)}else return!1}catch(Ua){return!1}if(k(d.type)){if(k(d.sender_id)==J&&("event"!==d.type||!~ra.indexOf(d.event_type)))return!1;"subscribe"==d.type?F.push({K:E(a.source,a.origin,k(d.subscriber.prefix,d.sender_id)),c:k(d.subscriber.events,
{"*":{}})}):"event"!=d.type||~Z.indexOf(d.rnd)||~Z.indexOf(k(d.source_rnd))||(Z.push(d.rnd),k(d.source_rnd)&&Z.push(d.source_rnd),ib(a,d,c),d.broadcast&&N(d.event_type,d.event,null,k(d.source_rnd,k(d.rnd,0))))}}});E(n.top,Fa()?"*":n.location.protocol+"//"+n.location.hostname,"__lxG198659__");X?G=G.concat(["yastatic.net","googleads.g.doubleclick.net","pagead2.googlesyndication.com","medianet.adlabsnetworks.ru","topbetfast.com","tpc.googlesyndication.com"]):W&&(E(n.top,"*","__lxG198659__mstr_slv"),E(n.top,"*","__lxGc___mstr"));(X||W)&&K.push("__lxG198659__mstr_slv");
var bb={V:!1,get:function(a,b){return this.G(a)?decodeURIComponent(q.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||(l(b)?b:null):l(b)?b:null},set:function(a,b,c,d,e,f){if(!a||/^(?:expires|max\-age|path|domain|secure)$/i.test(a))return!1;var g="";if(c)switch(c.constructor){case Number:g=Infinity===c?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+c;break;case String:g="; expires="+c;break;case Date:g="; expires="+
c.toUTCString()}a={name:a,value:b,H:g,domain:e,path:d,J:f};if("auto"===e)if(this.I())a.domain=this.I();else return!1;e=this.C(a);q.cookie=e;return!0},F:function(a,b,c){if(!a||!this.G(a))return!1;a=encodeURIComponent(a)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(c?"; domain="+c:"")+(b?"; path="+b:"");q.cookie=a;return!0},G:function(a){return(new RegExp("(?:^|;\\s*)"+encodeURIComponent(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=")).test(q.cookie)},list:function(){for(var a=q.cookie.replace(/((?:^|\s*;)[^=]+)(?=;|$)|^\s*|\s*(?:=[^;]*)?(?:\1|$)/g,
"").split(/\s*(?:=[^;]*)?;\s*/),b=0;b<a.length;b++)a[b]=decodeURIComponent(a[b]);return a},l:null,I:function(){function a(){return"."+window.location.hostname.split(".").slice(-1*b).join(".")}if(null!==this.l)return this.l;for(var b=2,c=a(),d={name:"__domain_check_",value:"ok",H:"; expires=Fri, 31 Dec 9999 23:59:59 GMT",path:"/",J:!1},e=!1,f=null;!e&&f!=c;)d.domain=c,q.cookie=this.C(d),null===this.get("__domain_check_")||"ok"!=this.get("__domain_check_")?(this.F("__domain_check_","/",c),f=c,b++,c=
a()):(this.F("__domain_check_","/",c),this.l=e=c);return e},C:function(a){return encodeURIComponent(a.name)+"="+encodeURIComponent(a.value)+a.H+(a.domain?"; domain="+a.domain:"")+(a.path?"; path="+a.path:"")+(a.J?"; secure":"")}},p=[],Ma=null,ya=0||!1,C=n.__lxG__,aa=null,t=null,Aa=!1,ia=!1,I=function(a,b){a=a||[];b=b||!1;Ma||(Ma=setTimeout(Ca,25));var c=p.length;p.push({id:c,i:a,o:-1,g:b,m:!1});return c}([]),Ba=!1,Na=!1;ya&&Ka&&(aa=E(n.top,"*","__lxG__consent"),
K.push("__lxG__consent"),G.push("*"),Fa()?(Na=!0,ja("getConsent",{check:"?"},aa,function(a,b){"!"==k(a.check)&&(A("gotConsent",function(a){-1!==k(a.pers,-1)&&(t=a.pers,ha())}),gb(["gotConsent"],aa,"__lxG__consent"),x("getConsent",{},b))},function(){ha()})):ja("getConsent",{check:"?"},aa,function(){},function(){Ba=!0;A("getConsent",function(a,b){if("?"==k(a.check))return x("gotConsent",{check:"!"},b),null;x("gotConsent",{pers:t},b)});Aa&&N("gotConsent",{pers:t})},100));Na||ha();var rb=za(k(n.__lxG__.biddingBlocksDelay,
900));La.push(function(){w.setConfig({bidderTimeout:rb-100})});var H=0;if(H){var Oa=S(15)+V(),r={},ba={};qb.logStep=function(a,b,c){Oa==a&&l(r[b])&&l(r[b][c])&&2!=r[b][c].status&&(r[b][c].status=2,r[b][c].end=(new Date).getTime())};setInterval(function(){h(r,function(a,b){h(b,function(c,b){1==b.status&&5E3<(new Date).getTime()-b.start&&(r[a][c].status=1,r[a][c].start=(new Date).getTime(),Pa(b.u+"&rt="+V()))})})},500);var M=function(a,b,c){var d={step:b,ses_id:Oa,site_id:ob,site_area_id:a};
Ja(d,c);l(d.user_data)&&(l(ba["_"+a])?(Ja(ba["_"+a],d.user_data),d.user_data=ba["_"+a]):ba["_"+a]=d.user_data,d.user_data=JSON.stringify(d.user_data));c=d;d="";for(var e in c)c.hasOwnProperty(e)&&(d+="&"+encodeURIComponent(e)+"="+encodeURIComponent(c[e]));l(r[a])||(r[a]={});l(r[a][b])||(r[a][b]={u:d});r[a][b].status=1;r[a][b].start=(new Date).getTime();Pa(d)},Pa=function(a){setTimeout(function(a){return function(){kb("//clickiocdn.com/hblog/?f="+Y+a)}}(a),0)}}var v=

[{"code":"586050-617406","sizes":[[240,400]],"bids":[{"bidder":"districtm","params":{"placementId":"14609754"},"__sds_id__":[6379843,6380271]}]},{"code":"586050","sizes":[[240,400]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["586050"]}},"__sds_id__":[6504957]}]},{"code":"617406","sizes":[[240,400]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617406"]}},"__sds_id__":[6507220]}]},{"code":"586054-617410-617413-617438-617442-617446-635150-635149","sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"districtm","params":{"placementId":"12093872"},"__sds_id__":[4382365,4655448,4655461,4656465,4656468,4656471,5540309,5540310]},{"bidder":"criteo","params":{"zoneId":"1171250"},"__sds_id__":[4434921,4655550,4655563,4656542,4656545,4656548,5540322,5540323]},{"bidder":"between","params":{"w":970,"h":90,"s":2682623},"__sds_id__":[5331929,5331959,5331963,5331975,5331978,5331981,5540348,5540349]}]},{"code":"586054","sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["586054"]}},"__sds_id__":[6504971]}]},{"code":"617410","sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617410"]}},"__sds_id__":[6507231]}]},{"code":"617413","sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617413"]}},"__sds_id__":[6507244]}]},{"code":"617438","sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617438"]}},"__sds_id__":[6507309]}]},{"code":"617442","sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617442"]}},"__sds_id__":[6507316]}]},{"code":"617446","sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617446"]}},"__sds_id__":[6507323]}]},{"code":"635150","sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635150"]}},"__sds_id__":[6510094]}]},{"code":"635149","sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635149"]}},"__sds_id__":[6510095]}]},{"code":"583309-621269-621268-615650-616262-617404-617408-617428-617444-635006-635005-635004-635011-635008-635015-635116-635123-635139-635138-635137-635136-635143-635140-635151-635155-635154-635167-635166-635164-635183","sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"__sds_id__":[4382405,6155943,6019540,4383949,4383997,4655443,6458446,4655481,4656474,5571537,5571540,5851329,5851332,5571541,6458533,5540114,5540115,5851335,5541623,5851338,6230802,5547597,5851344,5540308,5663423,5540315,5541626,5542185,5542187,5548243]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[4435000,6156042,6019610,4438941,4439137,4655545,6458598,4655583,4656551,5571552,5571555,5851377,5851380,5571556,6458744,5540121,5540122,5851385,5541648,5851388,6230943,5547615,5851394,5540321,5663720,5540328,5541651,5542210,5542212,5548286]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"__sds_id__":[5331942,6156172,6019787,5388167,5331952,5331954,6459055,5331968,5331984,5571585,5571588,5851486,5851489,5571589,6459082,5540130,5540131,5851494,5541672,5851497,6231331,5547629,5851503,5540347,5664077,5540354,5541675,5542240,5542242,5548318]}]},{"code":"583309","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["583309"]}},"__sds_id__":[6504985]}]},{"code":"621269","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["621269"]}},"__sds_id__":[6506143]}]},{"code":"621268","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["621268"]}},"__sds_id__":[6506146]}]},{"code":"615650","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["615650"]}},"__sds_id__":[6506246]}]},{"code":"617404","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617404"]}},"__sds_id__":[6507226]}]},{"code":"617408","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617408"]}},"__sds_id__":[6507240]}]},{"code":"617428","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617428"]}},"__sds_id__":[6507298]}]},{"code":"617444","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617444"]}},"__sds_id__":[6507326]}]},{"code":"635006","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635006"]}},"__sds_id__":[6510029]}]},{"code":"635005","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635005"]}},"__sds_id__":[6510031]}]},{"code":"635004","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635004"]}},"__sds_id__":[6510034]}]},{"code":"635011","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635011"]}},"__sds_id__":[6510037]}]},{"code":"635008","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635008"]}},"__sds_id__":[6510042]}]},{"code":"635015-635136-635155","sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093871"},"__sds_id__":[6493315,6493318,6493320]}]},{"code":"635015","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635015"]}},"__sds_id__":[6510045]}]},{"code":"635116","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635116"]}},"__sds_id__":[6510071]}]},{"code":"635123","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635123"]}},"__sds_id__":[6510072]}]},{"code":"635139","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635139"]}},"__sds_id__":[6510073]}]},{"code":"635138","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635138"]}},"__sds_id__":[6510076]}]},{"code":"635137","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635137"]}},"__sds_id__":[6510078]}]},{"code":"635136","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635136"]}},"__sds_id__":[6510081]}]},{"code":"635143","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635143"]}},"__sds_id__":[6510084]}]},{"code":"635140","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635140"]}},"__sds_id__":[6510089]}]},{"code":"635151","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635151"]}},"__sds_id__":[6510093]}]},{"code":"635155","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635155"]}},"__sds_id__":[6510097]}]},{"code":"635154","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635154"]}},"__sds_id__":[6510100]}]},{"code":"635167","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635167"]}},"__sds_id__":[6510104]}]},{"code":"635166","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635166"]}},"__sds_id__":[6510105]}]},{"code":"635164","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635164"]}},"__sds_id__":[6510107]}]},{"code":"635183","sizes":[[300,600]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635183"]}},"__sds_id__":[6510108]}]},{"code":"615721-617455-635141-635165","sizes":[[970,250]],"bids":[{"bidder":"districtm","params":{"placementId":"12093874"},"__sds_id__":[4649916,4656479,5851341,5542186]},{"bidder":"criteo","params":{"zoneId":"1171249"},"__sds_id__":[4649971,4656556,5851391,5542211]},{"bidder":"between","params":{"w":970,"h":250,"s":2682624},"__sds_id__":[5331948,5331987,5851500,5542241]}]},{"code":"615721","sizes":[[970,250]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["615721"]}},"__sds_id__":[6506262]}]},{"code":"617455","sizes":[[970,250]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617455"]}},"__sds_id__":[6507339]}]},{"code":"635141","sizes":[[970,250]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635141"]}},"__sds_id__":[6510086]}]},{"code":"635165","sizes":[[970,250]],"bids":[{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635165"]}},"__sds_id__":[6510106]}]},{"code":"617423","sizes":[[728,90]],"bids":[{"bidder":"districtm","params":{"placementId":"12093872"},"__sds_id__":[4655468]},{"bidder":"criteo","params":{"zoneId":"1171247"},"__sds_id__":[4655570]},{"bidder":"between","params":{"w":728,"h":90,"s":2682620},"__sds_id__":[5331964]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617423"]}},"__sds_id__":[6507268]}]},{"code":"617427","sizes":[[300,250]],"bids":[{"bidder":"districtm","params":{"placementId":"12093871"},"__sds_id__":[4655475]},{"bidder":"criteo","params":{"zoneId":"1171245"},"__sds_id__":[4655577]},{"bidder":"between","params":{"w":300,"h":250,"s":2682615},"__sds_id__":[5331966]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617427"]}},"__sds_id__":[6507283]}]},{"code":"635144","sizes":[[300,250],[300,300]],"bids":[{"bidder":"districtm","params":{"placementId":"12093871"},"__sds_id__":[5540307]},{"bidder":"criteo","params":{"zoneId":"1171245"},"__sds_id__":[5540320]},{"bidder":"between","params":{"w":300,"h":250,"s":2682615},"__sds_id__":[5540346]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635144"]}},"__sds_id__":[6510092]}]},{"code":"635193-635193.3","sizes":[[336,280]],"bids":[{"bidder":"districtm","params":{"placementId":"12093875"},"__sds_id__":[6344145,6345079]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635193"]}},"__sds_id__":[6510115,6513735]}]},{"code":"635193","sizes":[[336,280]],"bids":[{"bidder":"criteo","params":{"zoneId":"1171248"},"__sds_id__":[6344343]},{"bidder":"between","params":{"w":336,"h":280,"s":2682619},"__sds_id__":[6344628]}]},{"code":"635193.3","sizes":[[336,280]],"bids":[{"bidder":"districtm","params":{"placementId":"14609754"},"__sds_id__":[6481303]}]},{"code":"635193.2","sizes":[[300,250],[336,280]],"bids":[{"bidder":"districtm","params":{"placementId":"12093875"},"__sds_id__":[6345078]},{"bidder":"districtm","params":{"placementId":"14609754"},"__sds_id__":[6481302]},{"bidder":"criteo","params":{"zoneId":"1171245"},"__sds_id__":[6345430]},{"bidder":"between","params":{"w":300,"h":250,"s":2682615},"__sds_id__":[6345381]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635193"]}},"__sds_id__":[6513734]}]}]

,sb={

'districtm':'appnexus'

};h(v,function(a){v[a].__tmp__={}});A("bidsPing",function(a,b){x("bidsPong",{},b)});!X&&W||A("forceBids",function(a,b){if(k(a.ids)){Ya(a.ids);var c=[];h(v,function(b){var d=(""+v[b].code).split("-");h(a.ids,function(b){~d.indexOf(a.ids[b])&&c.push(a.ids[b])})});c=R(c);x("bids",{bidding:c,start:f.bids.start,end:f.bids.end,
bids:[]},b)}});A("getBids",function(a,b){x("bids",{bidding:f.bids.bidding,start:f.bids.start,end:f.bids.end,bids:wa(k(a.ids,[]))},b)});var z=[];ja("getBlockNum",{check:"?"},E(n.top,"*","__lxG__"),function(){},function(){ra=ra.concat(["getBlockNum","blockNum"]);A("getBlockNum",function(a,b){if("?"==k(a.check))return x("blockNum",{check:"!"},b),null;var c=[];h(k(a.ids,[]),function(a,b){var d=(""+b).split(".");a=d[0].replace("_","");d=k(d[1],1);l(z[a])?(++z[a],z[a]<d&&(z[a]=d)):z[a]=d;var e=1<z[a]?"."+
z[a]:"";z[a]!=d&&c.push({old:b,"new":a+e,cnt:z[a]})});x("blockNum",{ids:c},b)})});A("getBidHtml",function(a,b){var c=a.id,d=k(a.sub_id),e=a.num,g=a.rnd,m=f.bids.bids;d=d&&1<d?d:null;var l=c+(d?"."+d:"");h(m,function(a){if(m[a].id==l){if(!k(m[a].data[e]))return!1;if(!k(m[a].data[e].rendered)){m[a].data[e].rendered=!0;var f=k(m[a].data[e].html,""),h=k(m[a].data[e].url,""),n=m[a].data[e].w,p=m[a].data[e].h;H&&!~Qa.indexOf(l)&&(Qa.push(l),a={bid_won:1,user_data:{rendered_sds:m[a].bids[e][2]}},d&&1<d&&
(a.sub_id=d),M(c,4,a));x("bidHtml",{id:c,sub_id:d,bidNum:e,rnd:g,html:f,url:h,w:n,h:p},b)}return!1}})});var Ra=[],Qa=[];H&&A("sentBids",function(a){h(a.bids,function(b){var c=a.bids[b];h(c,function(a){var d=c[a];h(f.bids.bids,function(a){var c=f.bids.bids[a];if(c.id==b)return h(c.bids,function(a){if(c.bids[a][2]==d[2])return~Ra.indexOf(c.id)||(Ra.push(c.id),M(c.id,3,{bids_used:1})),!1}),!1})})})});(function(a){var b=B(a);ab(b);$a(b);fa(b);da(b);ca(b);var c=[];b=b.filter(function(a){var b=!!k(a.bids,
[]).length;b||c.push(a);return b});La.push(function(){h(sb,function(a,b){w.aliasBidder(b,a)});va(I,function(){if(t||null===t){da(b);ca(b);fa(b);w.addAdUnits(b);var a=b.map(function(a){return a.code});w.requestBids({adUnitCodes:a,bidsBackHandler:function(a){return function(b){ta(a,b)}}(b)})}else Ta(c.concat(b),"consent not available or declined")})})})(v)

/* prebid.js v1.30.0-pre
Updated : 2019-01-15 */
!(function(u){var s=window.lxpbjsChunk;window.lxpbjsChunk=function(e,t,n){for(var r,i,o,a=0,d=[];a<e.length;a++)i=e[a],c[i]&&d.push(c[i][0]),c[i]=0;for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(u[r]=t[r]);for(s&&s(e,t,n);d.length;)d.shift()();if(n)for(a=0;a<n.length;a++)o=f(f.s=n[a]);return o};var n={},c={181:0};function f(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return u[e].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.m=u,f.c=n,f.d=function(e,t,n){f.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,"a",t),t},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.p="",f.oe=function(e){throw console.error(e),e},f(f.s=605)})({0:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getLatestHighestCpmBid=a.getOldestHighestCpmBid=a.getHighestCpm=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d="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};a.getAdUnitSizes=function(e){if(!e)return;var t=[];if(e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)){var n=e.mediaTypes.banner.sizes;Array.isArray(n[0])?t=n:t.push(n)}else Array.isArray(e.sizes)&&(Array.isArray(e.sizes[0])?t=e.sizes:t.push(e.sizes));return t},a.parseSizesInput=function(e){var t=[];if("string"==typeof e){var n=e.split(","),r=/^(\d)+x(\d)+$/i;if(n)for(var i in n)C(n,i)&&n[i].match(r)&&t.push(n[i])}else if("object"===(void 0===e?"undefined":d(e))){var o=e.length;if(0<o)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(A(e));else for(var a=0;a<o;a++)t.push(A(e[a]))}return t},a.parseGPTSingleSizeArray=A,a.uniques=w,a.flatten=O,a.getBidRequest=function(n,e){var r=void 0;return e.some((function(e){var t=(0,o.default)(e.bids,(function(t){return["bidId","adId","bid_id"].some((function(e){return t[e]===n}))}));return t&&(r=t),t})),r},a.getKeys=R,a.getValue=B,a.getBidderCodes=function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:lxpbjs.adUnits).map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(O,[])})).reduce(O).filter(w)},a.isGptPubadsDefined=function(){if(window.googletag&&a.isFn(window.googletag.pubads)&&a.isFn(window.googletag.pubads().getSlots))return!0},a.shuffle=function(e){var t=e.length;for(;0<t;){var n=Math.floor(Math.random()*t),r=e[--t];e[t]=e[n],e[n]=r}return e},a.adUnitsFilter=function(e,t){return(0,u.default)(e,t&&t.adUnitCode)},a.isSrcdocSupported=function(e){return e.defaultView&&e.defaultView.frameElement&&"srcdoc"in e.defaultView.frameElement&&!/firefox/i.test(navigator.userAgent)},a.deepClone=function(e){return(0,i.default)(e)},a.inIframe=function(){try{return a.getWindowSelf()!==a.getWindowTop()}catch(e){return!0}},a.isSafariBrowser=function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)},a.replaceAuctionPrice=function(e,t){if(!e)return;return e.replace(/\$\{AUCTION_PRICE\}/g,t)},a.timestamp=function(){return(new Date).getTime()},a.checkCookieSupport=function(){if(window.navigator.cookieEnabled||document.cookie.length)return!0},a.cookiesAreEnabled=function(){if(a.checkCookieSupport())return!0;return window.document.cookie="prebid.cookieTest",-1!=window.document.cookie.indexOf("prebid.cookieTest")},a.delayExecution=function(e,t){if(t<1)throw new Error("numRequiredCalls must be a positive number. Got "+t);var n=0;return function(){++n===t&&e.apply(null,arguments)}},a.groupBy=function(e,n){return e.reduce((function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e}),{})},a.deepAccess=function(e,t){if(!e)return;t=String(t).split(".");for(var n=0;n<t.length;n++)if(void 0===(e=e[t[n]]))return;return e},a.createContentToExecuteExtScriptInFriendlyFrame=function(e){if(!e)return"";return'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><base target="_top" /><script>inDapIF=true;<\/script></head><body>\x3c!--PRE_SCRIPT_TAG_MACRO--\x3e<script src="'+e+'"><\/script>\x3c!--POST_SCRIPT_TAG_MACRO--\x3e</body></html>'},a.getDefinedParams=function(n,e){return e.filter((function(e){return n[e]})).reduce((function(e,t){return r(e,(function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e})({},t,n[t]))}),{})},a.isValidMediaTypes=function(e){var t=["banner","native","video"];if(!Object.keys(e).every((function(e){return(0,u.default)(t,e)})))return!1;if(e.video&&e.video.context)return(0,u.default)(["instream","outstream"],e.video.context);return!0},a.getBidderRequest=function(e,t,n){return(0,o.default)(e,(function(e){return 0<e.bids.filter((function(e){return e.bidder===t&&e.adUnitCode===n})).length}))||{start:null,auctionId:null}},a.getUserConfiguredParams=function(e,t,n){return e.filter((function(e){return e.code===t})).map((function(e){return e.bids})).reduce(O,[]).filter((function(e){return e.bidder===n})).map((function(e){return e.params||{}}))},a.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")},a.getDNT=function(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack},a.isAdUnitCodeMatchingSlot=function(t){return function(e){return U(t,e)}},a.isSlotMatchingAdUnitCode=function(t){return function(e){return U(e,t)}},a.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n    "+e.code+" is a "+n+" ad unit\n    containing bidders that don't support "+n+": "+t+".\n    This bidder won't fetch demand.\n  "},a.deletePropertyFromObject=function(e,t){var n=r({},e);return delete n[t],n},a.removeRequestId=function(e){return a.deletePropertyFromObject(e,"requestId")},a.isInteger=function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},a.convertCamelToUnderscore=function(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")},a.transformBidderParamKeywords=function(e){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"keywords",i=[];return a._each(e,(function(e,t){if(a.isArray(e)){var n=[];a._each(e,(function(e){(e=a.getValueString(r+"."+t,e))&&n.push(e)})),e=n}else{if(e=a.getValueString(r+"."+t,e),!a.isStr(e))return;e=[e]}i.push({key:t,value:e})})),i},a.convertTypes=function(r,i){return Object.keys(r).forEach((function(e){var t,n;i[e]&&(a.isFn(r[e])?i[e]=r[e](i[e]):i[e]=(t=r[e],n=i[e],"string"===t?n&&n.toString():"number"===t?Number(n):n),isNaN(i[e])&&delete i.key)})),i};var n=t(3),i=c(t(67)),o=c(t(10)),u=c(t(7)),s=t(11);function c(e){return e&&e.__esModule?e:{default:e}}var f=t(4),l=!1,g=Object.prototype.toString,p=Boolean(window.console),v=Boolean(p&&window.console.log),y=Boolean(p&&window.console.info),m=Boolean(p&&window.console.warn),b=Boolean(p&&window.console.error);a.replaceTokenInString=function(i,e,o){return a._each(e,(function(e,t){e=void 0===e?"":e;var n=o+t.toUpperCase()+o,r=new RegExp(n,"g");i=i.replace(r,e)})),i};var h,E=(h=0,function(){return++h});function S(){return E()+Math.random().toString(16).substr(2)}function A(e){if(a.isArray(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1]))return e[0]+"x"+e[1]}function T(e,t){return e=[].slice.call(e),t&&e.unshift(t),e.unshift("display: inline-block; color: #fff; background: #3b88c3; padding: 1px 4px; border-radius: 3px;"),e.unshift("%cPrebid"),e}a.getUniqueIdentifierStr=S,a.generateUUID=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},a.getBidIdParameter=function(e,t){return t&&t[e]?t[e]:""},a.tryAppendQueryString=function(e,t,n){return n?e+(t+"=")+encodeURIComponent(n)+"&":e},a.parseQueryStringParameters=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t},a.transformAdServerTargetingObj=function(t){return t&&0<Object.getOwnPropertyNames(t).length?R(t).map((function(e){return e+"="+encodeURIComponent(B(t,e))})).join("&"):""},a.getTopWindowLocation=function(){if(a.inIframe()){var e=void 0;try{e=a.getAncestorOrigins()||a.getTopFrameReferrer()}catch(e){logInfo("could not obtain top window location",e)}if(e)return(0,s.parse)(e,{decodeSearchAsString:!0})}return a.getWindowLocation()},a.getTopFrameReferrer=function(){try{window.top.location.toString();for(var e="",t=void 0;(t=t?t.parent:window).document&&t.document.referrer&&(e=t.document.referrer),t!==window.top;);return e}catch(e){return window.document.referrer}},a.getAncestorOrigins=function(){if(window.document.location&&window.document.location.ancestorOrigins&&1<=window.document.location.ancestorOrigins.length)return window.document.location.ancestorOrigins[window.document.location.ancestorOrigins.length-1]},a.getWindowTop=function(){return window.top},a.getWindowSelf=function(){return window.self},a.getWindowLocation=function(){return window.location},a.getTopWindowUrl=function(){var t=void 0;try{t=a.getTopWindowLocation().href}catch(e){t=""}return t},a.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},a.logMessage=function(){I()&&v&&console.log.apply(console,T(arguments,"MESSAGE:"))},a.logInfo=function(){I()&&y&&console.info.apply(console,T(arguments,"INFO:"))},a.logWarn=function(){I()&&m&&console.warn.apply(console,T(arguments,"WARNING:"))},a.logError=function(){I()&&b&&console.error.apply(console,T(arguments,"ERROR:"))},a.hasConsoleLogger=function(){return v};var I=function(){if(!1===n.config.getConfig("debug")&&!1===l){var e="TRUE"===_(f.DEBUG_MODE).toUpperCase();n.config.setConfig({debug:e}),l=!0}return!!n.config.getConfig("debug")};a.debugTurnedOn=I,a.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=S(),e.height=0,e.width=0,e.border="0px",e.hspace="0",e.vspace="0",e.marginWidth="0",e.marginHeight="0",e.style.border="0",e.scrolling="no",e.frameBorder="0",e.src="about:blank",e.style.display="none",e};var _=function(e){var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))};a.getParameterByName=_,a.hasValidBidRequest=function(e,n,t){var r=!1;function i(e,t){t===n[o]&&(r=!0)}for(var o=0;o<n.length;o++)if(r=!1,a._each(e,i),!r)return a.logError("Params are missing for bid request. One of these required paramaters are missing: "+n,t),!1;return!0},a.addEventHandler=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!0):e.attachEvent&&e.attachEvent("on"+t,n)},a.isA=function(e,t){return g.call(e)==="[object "+t+"]"},a.isFn=function(e){return a.isA(e,"Function")},a.isStr=function(e){return a.isA(e,"String")},a.isArray=function(e){return a.isA(e,"Array")},a.isNumber=function(e){return a.isA(e,"Number")},a.isPlainObject=function(e){return a.isA(e,"Object")},a.isBoolean=function(e){return a.isA(e,"Boolean")},a.isEmpty=function(e){if(!e)return!0;if(a.isArray(e)||a.isStr(e))return!(0<e.length);for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0},a.isEmptyStr=function(e){return a.isStr(e)&&(!e||0===e.length)},a._each=function(e,t){if(!a.isEmpty(e)){if(a.isFn(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(0<r)for(;n<r;n++)t(e[n],n,e);else for(n in e)hasOwnProperty.call(e,n)&&t.call(this,e[n],n)}},a.contains=function(e,t){if(a.isEmpty(e))return!1;if(a.isFn(e.indexOf))return-1!==e.indexOf(t);for(var n=e.length;n--;)if(e[n]===t)return!0;return!1},a.indexOf=(function(){if(Array.prototype.indexOf)return Array.prototype.indexOf})(),a._map=function(n,r){if(a.isEmpty(n))return[];if(a.isFn(n.map))return n.map(r);var i=[];return a._each(n,(function(e,t){i.push(r(e,t,n))})),i};var C=function(e,t){return e.hasOwnProperty?e.hasOwnProperty(t):void 0!==e[t]&&e.constructor.prototype[t]!==e[t]};function w(e,t,n){return n.indexOf(e)===t}function O(e,t){return e.concat(t)}function R(e){return Object.keys(e)}function B(e,t){return e[t]}a.insertElement=function(e,t,n){t=t||document;var r=void 0;r=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{(r=r.length?r:t.getElementsByTagName("body")).length&&(r=r[0]).insertBefore(e,r.firstChild)}catch(e){}},a.triggerPixel=function(e){(new Image).src=e},a.callBurl=function(e){var t=e.source,n=e.burl;t===f.S2S.SRC&&n&&a.triggerPixel(n)},a.insertHtmlIntoIframe=function(e){if(e){var t=document.createElement("iframe");t.id=a.getUniqueIdentifierStr(),t.width=0,t.height=0,t.hspace="0",t.vspace="0",t.marginWidth="0",t.marginHeight="0",t.style.display="none",t.style.height="0px",t.style.width="0px",t.scrolling="no",t.frameBorder="0",t.allowtransparency="true",a.insertElement(t,document,"body"),t.contentWindow.document.open(),t.contentWindow.document.write(e),t.contentWindow.document.close()}},a.insertUserSyncIframe=function(e){var t=a.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),n=document.createElement("div");n.innerHTML=t;var r=n.firstChild;a.insertElement(r)},a.createTrackPixelHtml=function(e){if(!e)return"";var t='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return t+='<img src="'+encodeURI(e)+'"></div>'},a.createTrackPixelIframeHtml=function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"";return e?(t&&(e=encodeURI(e)),n&&(n='sandbox="'+n+'"'),"<iframe "+n+' id="'+a.getUniqueIdentifierStr()+'"\n      frameborder="0"\n      allowtransparency="true"\n      marginheight="0" marginwidth="0"\n      width="0" hspace="0" vspace="0" height="0"\n      style="height:0px;width:0px;display:none;"\n      scrolling="no"\n      src="'+e+'">\n    </iframe>'):""},a.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){a.logError("Cannot get iframe document",e)}return t}},a.getValueString=function(e,t,n){return null==t?n:a.isStr(t)?t:a.isNumber(t)?t.toString():void a.logWarn("Unsuported type for param: "+e+" required type: String")};a.getHighestCpm=N("timeToRespond",(function(e,t){return t<e})),a.getOldestHighestCpmBid=N("responseTimestamp",(function(e,t){return t<e})),a.getLatestHighestCpmBid=N("responseTimestamp",(function(e,t){return e<t}));function N(n,r){return function(e,t){return e.cpm===t.cpm?r(e[n],t[n])?t:e:e.cpm<t.cpm?t:e}}var U=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t}},1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(r=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&d.return&&d.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},p="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},v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.registerBidder=function(t){var n=Array.isArray(t.supportedMediaTypes)?{supportedMediaTypes:t.supportedMediaTypes}:void 0;function r(e){var t=g(e);i.default.registerBidAdapter(t,e.code,n)}r(t),Array.isArray(t.aliases)&&t.aliases.forEach((function(e){i.default.aliasRegistry[e]=t.code,r(v({},t,{code:e}))}))},t.newBidder=g,t.isValid=E;var r=f(n(27)),i=f(n(8)),o=n(3),y=f(n(16)),a=n(18),d=n(17),u=n(41),m=f(n(4)),b=f(n(9)),s=f(n(7)),h=n(0);function f(e){return e&&e.__esModule?e:{default:e}}var l=["requestId","cpm","ttl","creativeId","netRevenue","currency"];function g(f){return v(new r.default(f.code),{getSpec:function(){return Object.freeze(f)},registerSyncs:l,callBids:function(o,a,t,n){if(Array.isArray(o.bids)){var d={},u=[],e=o.bids.filter(g);if(0!==e.length){var s={};e.forEach((function(e){(s[e.bidId]=e).adUnitCode||(e.adUnitCode=e.placementCode)}));var r=f.buildRequests(e,o);if(r&&0!==r.length){Array.isArray(r)||(r=[r]);var c=(0,h.delayExecution)(i,r.length);r.forEach((function(i){switch(i.method){case"GET":n(""+i.url+(function(e){if(e)return"?"+("object"===(void 0===e?"undefined":p(e))?(0,h.parseQueryStringParameters)(e):e);return""})(i.data),{success:e,error:t},void 0,v({method:"GET",withCredentials:!0},i.options));break;case"POST":n(i.url,{success:e,error:t},"string"==typeof i.data?i.data:JSON.stringify(i.data),v({method:"POST",contentType:"text/plain",withCredentials:!0},i.options));break;default:(0,h.logWarn)("Skipping invalid request from "+f.code+". Request type "+i.type+" must be GET or POST"),c()}function e(e,t){try{e=JSON.parse(e)}catch(e){}e={body:e,headers:{get:t.getResponseHeader.bind(t)}},u.push(e);var n=void 0;try{n=f.interpretResponse(e,i)}catch(e){return(0,h.logError)("Bidder "+f.code+" failed to interpret the server's response. Continuing without bids",null,e),void c()}function r(e){var t,n,r=s[e.requestId];if(r){var i=v(y.default.createBid(m.default.STATUS.GOOD,r),e);t=r.adUnitCode,n=i,d[t]=!0,E(t,n,[o])&&a(t,n)}else(0,h.logWarn)("Bidder "+f.code+" made bid for unknown request ID: "+e.requestId+". Ignoring.")}n&&(n.forEach?n.forEach(r):r(n)),c(n)}function t(e){(0,h.logError)("Server call for "+f.code+" failed: "+e+". Continuing without bids."),c()}}))}else i()}else i()}function i(e){t(),b.default.emit(m.default.EVENTS.BIDDER_DONE,o),l(u,o.gdprConsent)}}});function l(e,t){if(f.getUserSyncs){var n=o.config.getConfig("userSync.filterSettings"),r=f.getUserSyncs({iframeEnabled:!!(o.config.getConfig("userSync.iframeEnabled")||n&&(n.iframe||n.all)),pixelEnabled:!!(o.config.getConfig("userSync.pixelEnabled")||n&&(n.image||n.all))},e,t);r&&(Array.isArray(r)||(r=[r]),r.forEach((function(e){a.userSync.registerSync(e.type,f.code,e.url)})))}}function g(e){return!!f.isBidRequestValid(e)||((0,h.logWarn)("Invalid bid sent to bidder "+f.code+": "+JSON.stringify(e)),!1)}}function E(e,t,n){function r(e){return"Invalid bid from "+t.bidderCode+". Ignoring bid: "+e}return e?t?(i=Object.keys(t),l.every((function(e){return(0,s.default)(i,e)&&!(0,s.default)([void 0,null],t[e])}))?"native"!==t.mediaType||(0,d.nativeBidIsValid)(t,n)?"video"!==t.mediaType||(0,u.isValidVideoBid)(t,n)?!("banner"===t.mediaType&&!(function(e,t,n){if((t.width||0===t.width)&&(t.height||0===t.height))return!0;var r=(0,h.getBidderRequest)(n,t.bidderCode,e),i=r&&r.bids&&r.bids[0]&&r.bids[0].sizes,o=(0,h.parseSizesInput)(i);if(1===o.length){var a=o[0].split("x"),d=c(a,2),u=d[0],s=d[1];return t.width=u,t.height=s,!0}return!1})(e,t,n))||((0,h.logError)(r("Banner bids require a width and height")),!1):((0,h.logError)(r("Video bid does not have required vastUrl or renderer property")),!1):((0,h.logError)(r("Native bid missing some required properties.")),!1):((0,h.logError)(r("Bidder "+t.bidderCode+" is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.")),!1)):((0,h.logWarn)("Some adapter tried to add an undefined bid for "+e+"."),!1):((0,h.logWarn)("No adUnitCode was supplied to addBidResponse."),!1);var i}},10:function(e,t,n){n(47),e.exports=n(13).Array.find},11:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(r=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&d.return&&d.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function i(e){return e?e.replace(/^\?/,"").split("&").reduce((function(e,t){var n=t.split("="),r=a(n,2),i=r[0],o=r[1];return/\[\]$/.test(i)?(e[i=i.replace("[]","")]=e[i]||[],e[i].push(o)):e[i]=o||"",e}),{}):{}}function r(e){return Object.keys(e).map((function(t){return Array.isArray(e[t])?e[t].map((function(e){return t+"[]="+e})).join("&"):t+"="+e[t]})).join("&")}t.parseQS=i,t.formatQS=r,t.parse=function(e,t){var n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var r=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:r?n.search:i(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}},t.format=function(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":"+e.port:""))+(e.pathname||"")+(e.search?"?"+r(e.search||""):"")+(e.hash?"#"+e.hash:"")}},12:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=r,t.isRendererRequired=function(e){return!(!e||!e.url)},t.executeRenderer=function(e,t){e.render(t)};var d=n(28),u=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0));function r(e){var t=this,n=e.url,r=e.config,i=e.id,o=e.callback,a=e.loaded;this.url=n,this.config=r,this.handlers={},this.id=i,this.loaded=a,this.cmd=[],this.push=function(e){"function"==typeof e?t.loaded?e.call():t.cmd.push(e):u.logError("Commands given to Renderer.push must be wrapped in a function")},this.callback=o||function(){t.loaded=!0,t.process()},(0,d.loadScript)(n,this.callback,!0)}r.install=function(e){return new r({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded})},r.prototype.getConfig=function(){return this.config},r.prototype.setRender=function(e){this.render=e},r.prototype.setEventHandlers=function(e){this.handlers=e},r.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;"function"==typeof this.handlers[n]&&this.handlers[n](),u.logMessage("Prebid Renderer event for id "+t+" type "+n)},r.prototype.process=function(){for(;0<this.cmd.length;)try{this.cmd.shift().call()}catch(e){u.logError("Error processing Renderer command: ",e)}}},121:function(e,t,n){"use strict";var r=n(14),i=n(34)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,1<arguments.length?arguments[1]:void 0)}}),n(26)(o)},13:function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},14:function(e,t,n){var v=n(19),y=n(13),m=n(32),b=n(49),h=n(56),E="prototype",S=function(e,t,n){var r,i,o,a=e&S.F,d=e&S.G,u=e&S.S,s=e&S.P,c=e&S.B,f=e&S.W,l=d?y:y[t]||(y[t]={}),g=l[E],p=d?v:u?v[t]:(v[t]||{})[E];for(r in d&&(n=t),n)(i=!a&&p&&void 0!==p[r])&&h(l,r)||(o=i?p[r]:n[r],l[r]=d&&"function"!=typeof p[r]?n[r]:c&&i?m(o,v):f&&p[r]==o?(function(r){var e=function(e,t,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,n)}return r.apply(this,arguments)};return e[E]=r[E],e})(o):s&&"function"==typeof o?m(Function.call,o):o,s&&((l.virtual||(l.virtual={}))[r]=o,e&S.R&&g&&!g[r]&&b(g,r,o)))};S.F=1,S.G=2,S.S=4,S.P=8,S.B=16,S.W=32,S.U=64,S.R=128,e.exports=S},15:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},16:function(e,t,n){"use strict";var o=n(0);function r(e,t){var n=t&&t.bidId||o.getUniqueIdentifierStr(),r=t&&t.src||"client",i=e||0;this.bidderCode=t&&t.bidder||"",this.width=0,this.height=0,this.statusMessage=(function(){switch(i){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}})(),this.adId=n,this.mediaType="banner",this.source=r,this.getStatusCode=function(){return i},this.getSize=function(){return this.width+"x"+this.height}}t.createBid=function(e,t){return new r(e,t)}},17:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonNativeBidder=t.nativeBidder=t.nativeAdUnit=t.NATIVE_TARGETING_KEYS=t.nativeAdapters=void 0;var o="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};t.processNativeAdUnitParams=function(e){if(e&&e.type&&(function(e){if(!e||!(0,d.default)(Object.keys(c),e))return(0,a.logError)(e+" nativeParam is not supported"),!1;return!0})(e.type))return c[e.type];return e},t.nativeBidIsValid=function(t,e){var n=(0,a.getBidRequest)(t.adId,e);if(!n)return!1;if(!(0,a.deepAccess)(t,"native.clickUrl"))return!1;if((0,a.deepAccess)(t,"native.image")&&(!(0,a.deepAccess)(t,"native.image.height")||!(0,a.deepAccess)(t,"native.image.width")))return!1;if((0,a.deepAccess)(t,"native.icon")&&(!(0,a.deepAccess)(t,"native.icon.height")||!(0,a.deepAccess)(t,"native.icon.width")))return!1;var r=n.nativeParams;if(!r)return!0;var i=Object.keys(r).filter((function(e){return r[e].required})),o=Object.keys(t.native).filter((function(e){return t.native[e]}));return i.every((function(e){return(0,d.default)(o,e)}))},t.fireNativeTrackers=function(e,t){var n=void 0;"click"===e.action?n=t.native&&t.native.clickTrackers:(n=t.native&&t.native.impressionTrackers,t.native&&t.native.javascriptTrackers&&(0,a.insertHtmlIntoIframe)(t.native.javascriptTrackers));(n||[]).forEach(a.triggerPixel)},t.getNativeTargeting=function(r){var i={};return Object.keys(r.native).forEach((function(e){var t=u.NATIVE_KEYS[e],n=r.native[e];"object"===(void 0===n?"undefined":o(n))&&n.url&&(n=n.url),t&&(i[t]=n)})),i};var r,a=n(0),i=n(7),d=(r=i)&&r.__esModule?r:{default:r};var u=n(4),s=t.nativeAdapters=[],c=(t.NATIVE_TARGETING_KEYS=Object.keys(u.NATIVE_KEYS).map((function(e){return u.NATIVE_KEYS[e]})),{image:{image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}});t.nativeAdUnit=function(e){var t="native"===e.mediaType,n=(0,a.deepAccess)(e,"mediaTypes.native");return t||n};var f=t.nativeBidder=function(e){return(0,d.default)(s,e.bidder)};t.hasNonNativeBidder=function(e){return e.bids.filter((function(e){return!f(e)})).length}},18:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userSync=void 0;var i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(r=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&d.return&&d.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.newUserSync=a;var r,c=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0)),f=n(3),o=n(7),l=(r=o)&&r.__esModule?r:{default:r};function a(e){var t={},o={image:[],iframe:[]},n=!1,a={},d={image:!1,iframe:!1},u=e.config;function r(){if(u.syncEnabled&&e.browserSupportsCookies&&!n){try{!(function(){if(!u.pixelEnabled&&!d.image)return;c.shuffle(o.image).forEach((function(e){var t=i(e,2),n=t[0],r=t[1];c.logMessage("Invoking image pixel user sync for bidder: "+n),c.triggerPixel(r)}))})(),(function(){if(!u.iframeEnabled&&!d.iframe)return;c.shuffle(o.iframe).forEach((function(e){var t=i(e,2),n=t[0],r=t[1];c.logMessage("Invoking iframe user sync for bidder: "+n),c.insertUserSyncIframe(r)}))})()}catch(e){return c.logError("Error firing user syncs",e)}o={image:[],iframe:[]},n=!0}}return f.config.getConfig("userSync",(function(e){u=s(u,e.userSync)})),t.registerSync=function(e,t,n){if(!u.syncEnabled||!c.isArray(o[e]))return c.logWarn('User sync type "'+e+'" not supported');if(!t)return c.logWarn("Bidder is required for registering sync");if(Number(a[t])>=u.syncsPerBidder)return c.logWarn('Number of user syncs exceeded for "'+t+'"');if(u.filterSettings){if(function(e,t){var n=u.filterSettings;if(function(e,t){if(e.all&&e[t])return c.logWarn('Detected presence of the "filterSettings.all" and "filterSettings.'+t+'" in userSync config.  You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.'),!1;var n=e.all?e.all:e[t],r=e.all?"all":t;if(!n)return!1;var i=n.filter,o=n.bidders;if(i&&"include"!==i&&"exclude"!==i)return c.logWarn('UserSync "filterSettings.'+r+".filter\" setting '"+i+"' is not a valid option; use either 'include' or 'exclude'."),!1;if("*"!==o&&!(Array.isArray(o)&&0<o.length&&o.every((function(e){return c.isStr(e)&&"*"!==e}))))return c.logWarn('Detected an invalid setup in userSync "filterSettings.'+r+".bidders\"; use either '*' (to represent all bidders) or an array of bidders."),!1;return!0}(n,e)){d[e]=!0;var r=n.all?n.all:n[e],i="*"===r.bidders?[t]:r.bidders,o=r.filter||"include",a={include:function(e,t){return!(0,l.default)(e,t)},exclude:function(e,t){return(0,l.default)(e,t)}};return a[o](i,t)}return!1}(e,t))return c.logWarn("Bidder '"+t+"' is not permitted to register their userSync "+e+" pixels as per filterSettings config.")}else if(u.enabledBidders&&u.enabledBidders.length&&u.enabledBidders.indexOf(t)<0)return c.logWarn('Bidder "'+t+'" not permitted to register their userSync pixels.');var r,i;o[e].push([t,n]),(r=a)[i=t]?r[i]+=1:r[i]=1,a=r},t.syncUsers=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(r,Number(e));r()},t.triggerUserSyncs=function(){u.enableOverride&&t.syncUsers()},t}f.config.setDefaults({userSync:{syncEnabled:!0,pixelEnabled:!0,syncsPerBidder:5,syncDelay:3e3}});var d=!c.isSafariBrowser()&&c.cookiesAreEnabled();t.userSync=a({config:f.config.getConfig("userSync"),browserSupportsCookies:d})},19:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NATIVE="native",t.VIDEO="video",t.BANNER="banner"},20:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u="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};t.createHook=function(r,i,e){var d=[{fn:i,priority:0}],o={sync:function(){for(var t=this,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];d.forEach((function(e){e.fn.apply(t,n)}))},asyncSeries:function(){for(var o=this,e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=0;return d[a].fn.apply(this,t.concat((function e(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=d[++a];if("object"===(void 0===i?"undefined":u(i))&&"function"==typeof i.fn)return i.fn.apply(o,n.concat(e))})))}};if(!o[r])throw"invalid hook type";var t={addHook:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:10;"function"==typeof e&&(d.push({fn:e,priority:t}),d.sort((function(e,t){return t.priority-e.priority})))},removeHook:function(t){d=d.filter((function(e){return e.fn===i||e.fn!==t}))},hasHook:function(t){return d.some((function(e){return e.fn===t}))}};"string"==typeof e&&(s[e]=t);return a((function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===d.length&&d[0].fn===i)return i.apply(this,t);return o[r].apply(this,t)}),t)};var s=t.hooks={}},21:function(e,t,n){n(121),e.exports=n(13).Array.findIndex},22:function(e,t,n){e.exports=!n(33)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},224:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.store=function(e,t){var n={puts:e.map(a)};(0,i.ajax)(o.config.getConfig("cache.url"),(r=t,{success:function(e){var t=void 0;try{t=JSON.parse(e).responses}catch(e){return void r(e,[])}t?r(null,t):r(new Error("The cache server didn't respond with a responses property."),[])},error:function(e,t){r(new Error("Error storing video ad in the cache: "+e+": "+JSON.stringify(t)),[])}}),JSON.stringify(n),{contentType:"text/plain",withCredentials:!0});var r},t.getCacheUrl=function(e){return o.config.getConfig("cache.url")+"?uuid="+e};var i=n(6),o=n(3);function a(e){var t,n;return{type:"xml",value:e.vastXml?e.vastXml:(t=e.vastUrl,n=e.vastImpUrl,'<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA['+t+"]]></VASTAdTagURI>\n        <Impression>"+(n?"<![CDATA["+n+"]]>":"")+"</Impression>\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>"),ttlseconds:Number(e.ttl)}}},23:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},24:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},25:function(e,t,n){var r=n(60)("wks"),i=n(62),o=n(19).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},26:function(e,t){e.exports=function(){}},27:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}},28:function(e,t,n){"use strict";var r,i=n(7),o=(r=i)&&r.__esModule?r:{default:r},a=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0));var d={},u=["criteo"];function s(e,t){var n=document.createElement("script");n.type="text/javascript",n.async=!0,t&&"function"==typeof t&&(n.readyState?n.onreadystatechange=function(){"loaded"!==n.readyState&&"complete"!==n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()}),n.src=e;var r=document.getElementsByTagName("head");(r=r.length?r:document.getElementsByTagName("body")).length&&(r=r[0]).insertBefore(n,r.firstChild)}t.loadExternalScript=function(e,t){if(t&&e)if((0,o.default)(u,t)){if(!d[e]){a.logWarn("module "+t+" is loading external JavaScript");var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=e,a.insertElement(n),d[e]=!0}}else a.logError(t+" not whitelisted for loading external JavaScript");else a.logError("cannot load external script without url and moduleCode")},t.loadScript=function(t,e,n){t?n?d[t]?e&&"function"==typeof e&&(d[t].loaded?e():d[t].callbacks.push(e)):(d[t]={loaded:!1,callbacks:[]},e&&"function"==typeof e&&d[t].callbacks.push(e),s(t,(function(){d[t].loaded=!0;try{for(var e=0;e<d[t].callbacks.length;e++)d[t].callbacks[e]()}catch(e){a.logError("Error executing callback","adloader.js:loadScript",e)}}))):s(t,e):a.logError("Error attempting to request empty URL","adloader.js:loadScript")}},29:function(kp,lp){var mp;mp=(function(){return this})();try{mp=mp||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(mp=window)}kp.exports=mp},3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=t.RANDOM=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s="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};t.newConfig=d;var r=n(31),c=o(n(10)),f=o(n(7)),i=n(20);function o(e){return e&&e.__esModule?e:{default:e}}var l=n(0),g=!1,p=3e3,v=window.location.origin,y=!0,m=!1,b=200,a=t.RANDOM="random",h={};h[a]=!0,h.fixed=!0;var E=a,S={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},A="*";function d(){var o=[],a=void 0,d=void 0;function e(){function i(t){return(0,c.default)(Object.keys(S),(function(e){return t===S[e]}))}function o(e){if(!e)return l.logError("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)i(e)||l.logWarn("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if("object"===(void 0===e?"undefined":s(e))&&!(0,r.isValidPriceConfig)(e))return l.logError("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}a={},d={_debug:g,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:p,get bidderTimeout(){return this._bidderTimeout},set bidderTimeout(e){this._bidderTimeout=e},_publisherDomain:v,get publisherDomain(){return this._publisherDomain},set publisherDomain(e){this._publisherDomain=e},_priceGranularity:S.MEDIUM,set priceGranularity(e){o(e)&&("string"==typeof e?this._priceGranularity=i(e)?e:S.MEDIUM:"object"===(void 0===e?"undefined":s(e))&&(this._customPriceBucket=e,this._priceGranularity=S.CUSTOM,l.logMessage("Using custom price granularity")))},get priceGranularity(){return this._priceGranularity},_customPriceBucket:{},get customPriceBucket(){return this._customPriceBucket},_mediaTypePriceGranularity:{},get mediaTypePriceGranularity(){return this._mediaTypePriceGranularity},set mediaTypePriceGranularity(n){var r=this;this._mediaTypePriceGranularity=Object.keys(n).reduce((function(e,t){return o(n[t])?"string"==typeof n?e[t]=i(n[t])?n[t]:r._priceGranularity:"object"===(void 0===n?"undefined":s(n))&&(e[t]=n[t],l.logMessage("Using custom price granularity for "+t)):l.logWarn("Invalid price granularity for media type: "+t),e}),{})},_sendAllBids:y,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_bidderSequence:E,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){h[e]?this._bidderSequence=e:l.logWarn("Invalid order: "+e+". Bidder Sequence was not set.")},_timoutBuffer:b,get timeoutBuffer(){return this._timoutBuffer},set timeoutBuffer(e){this._timoutBuffer=e},_disableAjaxTimeout:m,get disableAjaxTimeout(){return this._disableAjaxTimeout},set disableAjaxTimeout(e){this._disableAjaxTimeout=e}}}var t=(0,i.createHook)("asyncSeries",(function(n){if("object"===(void 0===n?"undefined":s(n))){var i,t,e=Object.keys(n),r={};e.forEach((function(e){var t=n[e];"object"===s(a[e])&&"object"===(void 0===t?"undefined":s(t))&&(t=u({},a[e],t)),r[e]=d[e]=t})),i=r,t=Object.keys(i),o.filter((function(e){return(0,f.default)(t,e.topic)})).forEach((function(e){var t,n,r;e.callback((t={},n=e.topic,r=i[e.topic],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t))})),o.filter((function(e){return e.topic===A})).forEach((function(e){return e.callback(i)}))}else l.logError("setConfig options must be an object")}));return e(),{getConfig:function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var e=arguments.length<=0?void 0:arguments[0];return e?l.deepAccess(d,e):d}return function(e,t){var n=t;if("string"!=typeof e&&(n=e,e=A),"function"==typeof n)return o.push({topic:e,callback:n}),function(){o.splice(o.indexOf(t),1)};l.logError("listener must be a function")}.apply(void 0,arguments)},setConfig:t,setDefaults:function(e){"object"===(void 0===a?"undefined":s(a))?(u(a,e),u(d,e)):l.logError("defaults must be an object")},resetConfig:e}}t.config=d()},30:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auctionManager=void 0,t.newAuctionManager=u;var r,i=n(0),s=n(44),o=n(10),a=(r=o)&&r.__esModule?r:{default:r};var d=n(4);function u(){var u=[],r={};return r.addWinningBid=function(t){var e=(0,a.default)(u,(function(e){return e.getAuctionId()===t.auctionId}));e?e.addWinningBid(t):utils.logWarn("Auction not found when adding winning bid")},r.getAllWinningBids=function(){return u.map((function(e){return e.getWinningBids()})).reduce(i.flatten,[])},r.getBidsRequested=function(){return u.map((function(e){return e.getBidRequests()})).reduce(i.flatten,[])},r.getBidsReceived=function(){return u.map((function(e){if(e.getAuctionStatus()===s.AUCTION_COMPLETED)return e.getBidsReceived()})).reduce(i.flatten,[]).filter((function(e){return e}))},r.getAdUnits=function(){return u.map((function(e){return e.getAdUnits()})).reduce(i.flatten,[])},r.getAdUnitCodes=function(){return u.map((function(e){return e.getAdUnitCodes()})).reduce(i.flatten,[]).filter(i.uniques)},r.createAuction=function(e){var t,n=e.adUnits,r=e.adUnitCodes,i=e.callback,o=e.cbTimeout,a=e.labels,d=(0,s.newAuction)({adUnits:n,adUnitCodes:r,callback:i,cbTimeout:o,labels:a});return t=d,u.push(t),d},r.findBidByAdId=function(t){return(0,a.default)(u.map((function(e){return e.getBidsReceived()})).reduce(i.flatten,[]),(function(e){return e.adId===t}))},r.getStandardBidderAdServerTargeting=function(){return(0,s.getStandardBidderSettings)()[d.JSON_MAPPING.ADSERVER_TARGETING]},r.setStatusForBids=function(e,t){var n=r.findBidByAdId(e);n&&(n.status=t)},r}t.auctionManager=u()},31:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidPriceConfig=t.getPriceBucketString=void 0;var r,i=n(10),v=(r=i)&&r.__esModule?r:{default:r};var o=n(0),y=2,a={buckets:[{min:0,max:5,increment:.5}]},d={buckets:[{min:0,max:20,increment:.1}]},u={buckets:[{min:0,max:20,increment:.01}]},s={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},c={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};function f(n,e,r){var i="";if(!m(e))return i;var t,o,a,d,u,s,c,f,l,g=e.buckets.reduce((function(e,t){return e.max>t.max?e:t}),{max:0}),p=(0,v.default)(e.buckets,(function(e){if(n>g.max*r){var t=e.precision;void 0===t&&(t=y),i=(e.max*r).toFixed(t)}else if(n<=e.max*r&&n>=e.min*r)return e}));return p&&(t=n,a=r,d=void 0!==(o=p).precision?o.precision:y,u=o.increment*a,s=o.min*a,c=Math.pow(10,d+2),f=(t*c-s*c)/(u*c),l=Math.floor(f)*u+s,i=(l=Number(l.toFixed(10))).toFixed(d)),i}function m(e){if(o.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach((function(e){void 0!==e.min&&e.max&&e.increment||(t=!1)})),t}t.getPriceBucketString=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":f(e,a,n),med:""===r?"":f(e,d,n),high:""===r?"":f(e,u,n),auto:""===r?"":f(e,c,n),dense:""===r?"":f(e,s,n),custom:""===r?"":f(e,t,n)}},t.isValidPriceConfig=m},32:function(e,t,n){var o=n(48);e.exports=function(r,i,e){if(o(r),void 0===i)return r;switch(e){case 1:return function(e){return r.call(i,e)};case 2:return function(e,t){return r.call(i,e,t)};case 3:return function(e,t,n){return r.call(i,e,t,n)}}return function(){return r.apply(i,arguments)}}},33:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},34:function(e,t,n){var h=n(32),E=n(35),S=n(57),A=n(36),r=n(58);e.exports=function(f,e){var l=1==f,g=2==f,p=3==f,v=4==f,y=6==f,m=5==f||y,b=e||r;return function(e,t,n){for(var r,i,o=S(e),a=E(o),d=h(t,n,3),u=A(a.length),s=0,c=l?b(e,u):g?b(e,0):void 0;s<u;s++)if((m||s in a)&&(i=d(r=a[s],s,o),f))if(l)c[s]=i;else if(i)switch(f){case 3:return!0;case 5:return r;case 6:return s;case 2:c.push(r)}else if(v)return!1;return y?-1:p||v?v:c}}},35:function(e,t,n){var r=n(23);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},36:function(e,t,n){var r=n(37),i=Math.min;e.exports=function(e){return 0<e?i(r(e),9007199254740991):0}},37:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:n)(e)}},38:function(e,t,n){var r=n(23);e.exports=Array.isArray||function(e){return"Array"==r(e)}},39:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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};t.setSizeConfig=d,t.getLabels=function(e,t){if(e.labelAll)return{labelAll:!0,labels:e.labelAll,activeLabels:t};return{labelAll:!1,labels:e.labelAny,activeLabels:t}},t.sizeSupported=function(e){var t=y(1<arguments.length&&void 0!==arguments[1]?arguments[1]:v);if(!t.shouldFilter)return!0;return!!t.sizesSupported[e]},t.resolveStatus=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,i=void 0!==r&&r,o=e.activeLabels,a=void 0===o?[]:o,d=arguments[1],u=arguments[2],s=y(3<arguments.length&&void 0!==arguments[3]?arguments[3]:v);d=(0,g.isPlainObject)(d)?(0,g.deepClone)(d):{};u&&(d.banner?d.banner.sizes||(d.banner.sizes=u):d.banner={sizes:u});var c=(0,g.deepAccess)(d,"banner.sizes");s.shouldFilter&&c&&(d.banner.sizes=c.filter((function(e){return s.sizesSupported[e]})));var f=Object.keys(d),l={active:1<f.length||1===f.length&&"banner"!==f[0]||"banner"===f[0]&&0<(0,g.deepAccess)(d,"banner.sizes.length")&&(0===n.length||!i&&(n.some((function(e){return s.labels[e]}))||n.some((function(e){return(0,p.default)(a,e)})))||i&&n.reduce((function(e,t){return e?s.labels[t]||(0,p.default)(a,t):e}),!0)),mediaTypes:d};c&&c.length!==d.banner.sizes.length&&(l.filterResults={before:c,after:d.banner.sizes});return l};var i,o=n(3),g=n(0),a=n(7),p=(i=a)&&i.__esModule?i:{default:i};var v=[];function d(e){v=e}function y(e){return e.reduce((function(n,e){return"object"===(void 0===e?"undefined":r(e))&&"string"==typeof e.mediaQuery?matchMedia(e.mediaQuery).matches&&(Array.isArray(e.sizesSupported)&&(n.shouldFilter=!0),["labels","sizesSupported"].forEach((function(t){return(e[t]||[]).forEach((function(e){return n[t][e]=!0}))}))):(0,g.logWarn)('sizeConfig rule missing required property "mediaQuery"'),n}),{labels:{},sizesSupported:{},shouldFilter:!1})}o.config.getConfig("sizeConfig",(function(e){return d(e.sizeConfig)}))},4:function(e,t){e.exports={JSON_MAPPING:{PL_CODE:"code",PL_SIZE:"sizes",PL_BIDS:"bids",BD_BIDDER:"bidder",BD_ID:"paramsd",BD_PL_ID:"placementId",ADSERVER_TARGETING:"adserverTargeting",BD_SETTING_STANDARD:"standard"},REPO_AND_VERSION:"prebid_prebid_1.30.0-pre",DEBUG_MODE:"lxpbjs_debug",STATUS:{GOOD:1,NO_BID:2},CB:{TYPE:{ALL_BIDS_BACK:"allRequestedBidsBack",AD_UNIT_BIDS_BACK:"adUnitBidsBack",BID_WON:"bidWon",REQUEST_BIDS:"requestBids"}},EVENTS:{AUCTION_INIT:"auctionInit",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",BID_WON:"bidWon",BIDDER_DONE:"bidderDone",SET_TARGETING:"setTargeting",REQUEST_BIDS:"requestBids",ADD_AD_UNITS:"addAdUnits",AD_RENDER_FAILED:"adRenderFailed"},AD_RENDER_FAILED_REASON:{PREVENT_WRITING_ON_MAIN_DOCUMENT:"preventWritingOnMainDocuemnt",NO_AD:"noAd",EXCEPTION:"exception",CANNOT_FIND_AD:"cannotFindAd",MISSING_DOC_OR_ADID:"missingDocOrAdid"},EVENT_ID_PATHS:{bidWon:"adUnitCode"},GRANULARITY_OPTIONS:{LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},TARGETING_KEYS:{BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",SOURCE:"hb_source",FORMAT:"hb_format"},NATIVE_KEYS:{title:"hb_native_title",body:"hb_native_body",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",cta:"hb_native_cta"},S2S:{SRC:"s2s",DEFAULT_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",SYNCED_BIDDERS_KEY:"pbjsSyncs"}}},40:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adunitCounter=void 0;var r=n(0),i={};var o={incrementCounter:function(e){return i[e]=i[e]||{},i[e].counter=(0,r.deepAccess)(i,e+".counter")+1||1,i[e].counter},getCounter:function(e){return(0,r.deepAccess)(i,e+".counter")||0}};t.adunitCounter=o},41:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonVideoBidder=t.videoBidder=t.videoAdUnit=t.OUTSTREAM=void 0,t.isValidVideoBid=function(e,t){var n=(0,o.getBidRequest)(e.adId,t),r=n&&(0,o.deepAccess)(n,"mediaTypes.video"),i=r&&(0,o.deepAccess)(r,"context");if(!n||r&&i!==s)return a.config.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,o.logError)('\n        This bid contains only vastXml and will not work when a prebid cache url is not specified.\n        Try enabling prebid cache with pbjs.setConfig({ cache: {url: "..."} });\n      '),!1);if(i===s)return!(!e.renderer&&!n.renderer);return!0};var r,i=n(8),o=n(0),a=n(3),d=n(7),u=(r=d)&&r.__esModule?r:{default:r};var s=t.OUTSTREAM="outstream",c=(t.videoAdUnit=function(e){var t="video"===e.mediaType,n=(0,o.deepAccess)(e,"mediaTypes.video");return t||n},t.videoBidder=function(e){return(0,u.default)(i.videoAdapters,e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter((function(e){return!c(e)})).length}},42:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGlobal=function(){return window.lxpbjs},window.lxpbjs=window.lxpbjs||{},window.lxpbjs.cmd=window.lxpbjs.cmd||[],window.lxpbjs.que=window.lxpbjs.que||[]},43:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.targeting=t.isBidNotExpired=t.TARGETING_KEYS=t.RENDERED=t.BID_TARGETING_SET=void 0;var h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.getHighestCpmBidsFromBidPool=N,t.newTargeting=f;var r,E=n(0),S=n(3),A=n(17),i=n(30),a=n(39),o=n(7),T=(r=o)&&r.__esModule?r:{default:r};function I(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=n(0),w=n(4),O=[],d=t.BID_TARGETING_SET="targetingSet",u=t.RENDERED="rendered",R=20,B=t.TARGETING_KEYS=Object.keys(w.TARGETING_KEYS).map((function(e){return w.TARGETING_KEYS[e]})),s=(t.isBidNotExpired=function(e){return e.responseTimestamp+1e3*e.ttl+1e3>(0,E.timestamp)()},function(e){return e&&(e.status&&!(0,T.default)([d,u],e.status)||!e.status)});function N(e,n){var r=[],i=(0,E.groupBy)(e,"adUnitCode");return Object.keys(i).forEach((function(e){var t=(0,E.groupBy)(i[e],"bidderCode");Object.keys(t).forEach((function(e){return r.push(t[e].reduce(n,c()))}))})),r}function c(e){return{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0}}function f(n){var g={};function p(e){return"string"==typeof e?[e]:C.isArray(e)?e:n.getAdUnitCodes()||[]}function v(){return N(n.getBidsReceived().filter((function(e){return"banner"!==e.mediaType||(0,a.sizeSupported)([e.width,e.height])})).filter(s).filter(t.isBidNotExpired),E.getOldestHighestCpmBid)}function y(){return n.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(B).filter(E.uniques)}function m(r,i,e,t){return Object.keys(i.adserverTargeting).filter(o()).forEach((function(e){var t,n;r.length&&r.filter((n=e,function(e){return e.adUnitCode===i.adUnitCode&&e.adserverTargeting[n]})).forEach((t=e,function(e){C.isArray(e.adserverTargeting[t])||(e.adserverTargeting[t]=[e.adserverTargeting[t]]),e.adserverTargeting[t]=e.adserverTargeting[t].concat(i.adserverTargeting[t]).filter(E.uniques),delete i.adserverTargeting[t]}))})),r.push(i),r}function o(){var t=y();return function(e){return-1===t.indexOf(e)}}function b(t){return _({},t.adUnitCode,Object.keys(t.adserverTargeting).filter(o()).map((function(e){return _({},e.substring(0,R),[t.adserverTargeting[e]])})))}return g.resetPresetTargeting=function(e){if((0,E.isGptPubadsDefined)()){var t=p(e),r=n.getAdUnits().filter((function(e){return(0,T.default)(t,e.code)}));window.googletag.pubads().getSlots().forEach((function(n){O.forEach((function(t){r.forEach((function(e){e.code!==n.getAdUnitPath()&&e.code!==n.getSlotElementId()||n.setTargeting(t,null)}))}))}))}},g.getAllTargeting=function(e){var r,t,i,n,o,a,d,u,s,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:v(),f=p(e),l=(a=f,d=c,u=g.getWinningBids(a,d),s=y(),u=u.map((function(o){return _({},o.adUnitCode,Object.keys(o.adserverTargeting).filter((function(e){return void 0===o.sendStandardTargeting||o.sendStandardTargeting||-1===s.indexOf(e)})).reduce((function(e,t){var n=[o.adserverTargeting[t]],r=_({},t.substring(0,R),n);if(t===w.TARGETING_KEYS.DEAL){var i=_({},(t+"_"+o.bidderCode).substring(0,R),n);return[].concat(I(e),[r,i])}return[].concat(I(e),[r])}),[]))}))).concat((n=f,o=c,o.filter((function(e){return(0,T.default)(n,e.adUnitCode)})).map((function(e){return h({},e)})).reduce(m,[]).map(b).filter((function(e){return e})))).concat(S.config.getConfig("enableSendAllBids")?(r=f,t=c,i=B.concat(A.NATIVE_TARGETING_KEYS),N(t,E.getHighestCpm).map((function(t){if(t.adserverTargeting&&r&&(C.isArray(r)&&(0,T.default)(r,t.adUnitCode)||"string"==typeof r&&t.adUnitCode===r))return _({},t.adUnitCode,(n=t,i.filter((function(e){return void 0!==t.adserverTargeting[e]})).map((function(e){return _({},(e+"_"+n.bidderCode).substring(0,R),[n.adserverTargeting[e]])}))));var n})).filter((function(e){return e}))):[]);return l.map((function(t){Object.keys(t).map((function(e){t[e].map((function(e){-1===O.indexOf(Object.keys(e)[0])&&(O=Object.keys(e).concat(O))}))}))})),l=l.map((function(e){return _({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return _({},Object.keys(e)[0],e[Object.keys(e)[0]].join(", "))})).reduce((function(e,t){return h(t,e)}),{}))})).reduce((function(e,t){var n=Object.keys(t)[0];return e[n]=h({},e[n],t[n]),e}),{}),f.forEach((function(e){l[e]||(l[e]={})})),l},g.setTargetingForGPT=function(i,e){window.googletag.pubads().getSlots().forEach((function(r){Object.keys(i).filter(e?e(r):(0,E.isAdUnitCodeMatchingSlot)(r)).forEach((function(n){return Object.keys(i[n]).forEach((function(t){var e=i[n][t].split(",");(e=1<e.length?[e]:e).map((function(e){return C.logMessage("Attempting to set key value for slot: "+r.getSlotElementId()+" key: "+t+" value: "+e),e})).forEach((function(e){r.setTargeting(t,e)}))}))}))}))},g.getWinningBids=function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:v(),t=p(e);return n.filter((function(e){return(0,T.default)(t,e.adUnitCode)})).filter((function(e){return 0<e.cpm})).map((function(e){return e.adUnitCode})).filter(E.uniques).map((function(t){return n.filter((function(e){return e.adUnitCode===t?e:null})).reduce(E.getHighestCpm,c(t))}))},g.setTargetingForAst=function(){var r=g.getAllTargeting();Object.keys(r).forEach((function(n){return Object.keys(r[n]).forEach((function(e){if(C.logMessage("Attempting to set targeting for targetId: "+n+" key: "+e+" value: "+r[n][e]),C.isStr(r[n][e])||C.isArray(r[n][e])){var t={};e.search(/pt[0-9]/)<0?t[e.toUpperCase()]=r[n][e]:t[e]=r[n][e],window.apntag.setKeywords(n,t)}}))}))},g.isApntagDefined=function(){if(window.apntag&&C.isFn(window.apntag.setKeywords))return!0},g}t.targeting=f(i.auctionManager)},44:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBidResponse=t.AUCTION_COMPLETED=t.AUCTION_IN_PROGRESS=t.AUCTION_STARTED=void 0;var m="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},b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.newAuction=function(e){var f=e.adUnits,t=e.adUnitCodes,n=e.callback,r=e.cbTimeout,i=e.labels,s=f,c=i,l=t,g=[],p=[],v=void 0,y=void 0,m=R.generateUUID(),b=void 0,h=n,E=void 0,S=r,o=[];function A(){return{auctionId:m,auctionStart:v,auctionEnd:y,auctionStatus:b,adUnits:s,adUnitCodes:l,labels:c,bidderRequests:g,bidsReceived:p,winningBids:o,timeout:S}}function T(e,t){if(t&&clearTimeout(E),null!=h){var n=[];e&&(R.logMessage("Auction "+m+" timedOut"),d=p,u=(a=g).filter((function(e){return!e.doneCbCallCount})).map((function(e){return e.bidderCode})).filter(_.uniques),s=d.map((function(e){return e.bidder})).filter(_.uniques),c=u.filter((function(e){return!(0,w.default)(s,e)})),(n=a.map((function(e){return(e.bids||[]).filter((function(e){return(0,w.default)(c,e.bidder)}))})).reduce(_.flatten,[]).map((function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}}))).length&&N.emit(U.EVENTS.BID_TIMEOUT,n));try{b=j,y=Date.now(),N.emit(U.EVENTS.AUCTION_END,A());var r=l,i=p.filter(_.adUnitsFilter.bind(this,r)).reduce(V,{});h.apply(lxpbjs,[i,e])}catch(e){R.logError("Error executing bidsBackHandler",null,e)}finally{n.length&&B.callTimedOutBidders(f,n,S);var o=C.config.getConfig("userSync")||{};o.enableOverride||O(o.syncDelay)}h=null}var a,d,u,s,c}function I(e){R.logInfo("Bids Received for Auction with id: "+m,p),b=j,T(!1,!0)}return{addBidReceived:function(e){p=p.concat(e)},executeCallback:T,callBids:function(){var i=this;b=x,v=Date.now();var o=B.makeBidRequests(s,v,m,S,c);R.logInfo("Bids Requested for Auction with id: "+m,o),o.forEach((function(e){var t;t=e,g=g.concat(t)}));var a={};if(o.length<1)R.logWarn("No valid bid requests returned for auction"),I();else{var e={bidRequests:o,run:function(){var e,t;e=T.bind(null,!0),t=setTimeout(e,S),E=t,b=D,N.emit(U.EVENTS.AUCTION_INIT,A());var n=W(I,i),r={auctionAddBidResponse:n.addBidResponse};B.callBids(s,o,q.bind(r),n.adapterDone,{request:function(e,t){u(k,t),u(a,e),M[e]||(M[e]={SRA:!0,origin:t}),1<a[e]&&(M[e].SRA=!1)},done:function(e){k[e]--,G[0]&&d(G[0])&&G.shift()}},S)}};d(e)||(R.logWarn("queueing auction due to limited endpoint capacity"),G.push(e))}function d(e){var r=!0,i=C.config.getConfig("maxRequestsPerOrigin")||P;return e.bidRequests.some((function(e){var t=1,n=void 0!==e.src&&e.src===U.S2S.SRC?"s2s":e.bidderCode;return M[n]&&(!1===M[n].SRA&&(t=Math.min(e.bids.length,i)),k[M[n].origin]+t>i&&(r=!1)),!r})),r&&e.run(),r}function u(e,t){void 0===e[t]?e[t]=1:e[t]++}},addWinningBid:function(e){o=o.concat(e),B.callBidWonBidder(e.bidder,e,f)},getWinningBids:function(){return o},getTimeout:function(){return S},getAuctionId:function(){return m},getAuctionStatus:function(){return b},getAdUnits:function(){return s},getAdUnitCodes:function(){return l},getBidRequests:function(){return g},getBidsReceived:function(){return p}}},t.auctionCallbacks=W,t.getStandardBidderSettings=d,t.getKeyValueTargetingPairs=F,t.adjustBids=s;var _=n(0),h=n(31),i=n(17),E=n(224),S=n(12),C=n(3),r=n(18),o=n(20),A=a(n(10)),w=a(n(7)),T=n(41);function a(e){return e&&e.__esModule?e:{default:e}}var O=r.userSync.syncUsers,R=n(0),B=n(8),N=n(9),U=n(4),x=t.AUCTION_STARTED="started",D=t.AUCTION_IN_PROGRESS="inProgress",j=t.AUCTION_COMPLETED="completed";N.on(U.EVENTS.BID_ADJUSTMENT,(function(e){s(e)}));var P=4,k={},M={},G=[];var q=t.addBidResponse=(0,o.createHook)("asyncSeries",(function(e,t){this.auctionAddBidResponse(e,t)}),"addBidResponse");function W(e,p){var v=0,t=!1,n=(0,_.delayExecution)((function(){t=!0}),p.getBidRequests().length);function y(){v--,t&&0===v&&e()}return{addBidResponse:function(e,t){v++;var n=p.getBidRequests(),r=p.getAuctionId(),i=(0,_.getBidderRequest)(n,t.bidderCode,e),o=(function(e){var t=e.adUnitCode,n=e.bid,r=e.bidRequest,i=e.auctionId,o=r.start,a=b({},n,{auctionId:i,responseTimestamp:(0,_.timestamp)(),requestTimestamp:o,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});a.timeToRespond=a.responseTimestamp-a.requestTimestamp,N.emit(U.EVENTS.BID_ADJUSTMENT,a);var d=r.bids&&(0,A.default)(r.bids,(function(e){return e.adUnitCode==t})),u=d&&d.renderer;u&&u.url&&(a.renderer=S.Renderer.install({url:u.url}),a.renderer.setRender(u.render));var s,c=C.config.getConfig("mediaTypePriceGranularity."+n.mediaType),f=(0,h.getPriceBucketString)(a.cpm,"object"===(void 0===c?"undefined":m(c))?c:C.config.getConfig("customPriceBucket"),C.config.getConfig("currency.granularityMultiplier"));return a.pbLg=f.low,a.pbMg=f.med,a.pbHg=f.high,a.pbAg=f.auto,a.pbDg=f.dense,a.pbCg=f.custom,a.bidderCode&&(0<a.cpm||a.dealId)&&(s=F(a.bidderCode,a)),a.adserverTargeting=b(a.adserverTargeting||{},s),a})({adUnitCode:e,bid:t,bidRequest:i,auctionId:r});"video"===o.mediaType?(a=p,d=o,u=i,s=y,c=!0,f=(0,_.getBidRequest)(d.adId,[u]),l=f&&(0,_.deepAccess)(f,"mediaTypes.video"),g=l&&(0,_.deepAccess)(l,"context"),C.config.getConfig("cache.url")&&g!==T.OUTSTREAM&&(d.videoCacheKey?d.vastUrl||(R.logError("videoCacheKey specified but not required vastUrl for video bid"),c=!1):(c=!1,(0,E.store)([d],(function(e,t){e?(R.logWarn("Failed to save to the video cache: "+e+". Video bid must be discarded."),I(a,d)):(d.videoCacheKey=t[0].uuid,d.vastUrl||(d.vastUrl=(0,E.getCacheUrl)(d.videoCacheKey)),z(a,d),s())})))),c&&(z(a,d),s())):(z(p,o),y());var a,d,u,s,c,f,l,g},adapterDone:function(){n(),t&&0===v&&e()}}}function I(e,t){t.timeToRespond>e.getTimeout()+C.config.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function z(e,t){N.emit(U.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),I(e,t)}function d(e){var t=C.config.getConfig("mediaTypePriceGranularity."+e),n="string"==typeof e&&t?"string"==typeof t?t:"custom":C.config.getConfig("priceGranularity"),r=lxpbjs.bidderSettings;return r[U.JSON_MAPPING.BD_SETTING_STANDARD]||(r[U.JSON_MAPPING.BD_SETTING_STANDARD]={}),r[U.JSON_MAPPING.BD_SETTING_STANDARD][U.JSON_MAPPING.ADSERVER_TARGETING]||(r[U.JSON_MAPPING.BD_SETTING_STANDARD][U.JSON_MAPPING.ADSERVER_TARGETING]=[{key:U.TARGETING_KEYS.BIDDER,val:function(e){return e.bidderCode}},{key:U.TARGETING_KEYS.AD_ID,val:function(e){return e.adId}},{key:U.TARGETING_KEYS.PRICE_BUCKET,val:function(e){return n===U.GRANULARITY_OPTIONS.AUTO?e.pbAg:n===U.GRANULARITY_OPTIONS.DENSE?e.pbDg:n===U.GRANULARITY_OPTIONS.LOW?e.pbLg:n===U.GRANULARITY_OPTIONS.MEDIUM?e.pbMg:n===U.GRANULARITY_OPTIONS.HIGH?e.pbHg:n===U.GRANULARITY_OPTIONS.CUSTOM?e.pbCg:void 0}},{key:U.TARGETING_KEYS.SIZE,val:function(e){return e.size}},{key:U.TARGETING_KEYS.DEAL,val:function(e){return e.dealId}},{key:U.TARGETING_KEYS.SOURCE,val:function(e){return e.source}},{key:U.TARGETING_KEYS.FORMAT,val:function(e){return e.mediaType}}]),r[U.JSON_MAPPING.BD_SETTING_STANDARD]}function F(e,t){if(!t)return{};var n={},r=lxpbjs.bidderSettings;r&&(u(n,d(t.mediaType),t),e&&r[e]&&r[e][U.JSON_MAPPING.ADSERVER_TARGETING]&&(u(n,r[e],t),t.sendStandardTargeting=r[e].sendStandardTargeting));return t.native&&(n=b({},n,(0,i.getNativeTargeting)(t))),n}function u(r,i,o){var e=i[U.JSON_MAPPING.ADSERVER_TARGETING];return o.size=o.getSize(),R._each(e,(function(e){var t=e.key,n=e.val;if(r[t]&&R.logWarn("The key: "+t+" is getting ovewritten"),R.isFn(n))try{n=n(o)}catch(e){R.logError("bidmanager","ERROR",e)}(void 0===i.suppressEmptyKeys||!0!==i.suppressEmptyKeys)&&t!==U.TARGETING_KEYS.DEAL||!R.isEmptyStr(n)&&null!=n?r[t]=n:R.logInfo("suppressing empty key '"+t+"' from adserver targeting")})),r}function s(e){var t=e.bidderCode,n=e.cpm,r=void 0;if(lxpbjs.bidderSettings&&(t&&lxpbjs.bidderSettings[t]&&"function"==typeof lxpbjs.bidderSettings[t].bidCpmAdjustment?r=lxpbjs.bidderSettings[t].bidCpmAdjustment:lxpbjs.bidderSettings[U.JSON_MAPPING.BD_SETTING_STANDARD]&&"function"==typeof lxpbjs.bidderSettings[U.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(r=lxpbjs.bidderSettings[U.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),r))try{n=r(e.cpm,b({},e))}catch(e){R.logError("Error during bid adjustment","bidmanager.js",e)}0<=n&&(e.cpm=n)}function V(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}},47:function(e,t,n){"use strict";var r=n(14),i=n(34)(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return i(this,e,1<arguments.length?arguments[1]:void 0)}}),n(26)(o)},48:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},49:function(e,t,n){var r=n(50),i=n(55);e.exports=n(22)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},50:function(e,t,n){var r=n(51),i=n(52),o=n(54),a=Object.defineProperty;t.f=n(22)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},51:function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},52:function(e,t,n){e.exports=!n(22)&&!n(33)((function(){return 7!=Object.defineProperty(n(53)("div"),"a",{get:function(){return 7}}).a}))},53:function(e,t,n){var r=n(15),i=n(19).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},54:function(e,t,n){var i=n(15);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},55:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},56:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},57:function(e,t,n){var r=n(24);e.exports=function(e){return Object(r(e))}},58:function(e,t,n){var r=n(59);e.exports=function(e,t){return new(r(e))(t)}},59:function(e,t,n){var r=n(15),i=n(38),o=n(25)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ajax=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g="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};t.ajaxBuilder=r;var p=n(11),v=n(3),y=n(0),m=4;t.ajax=r();function r(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:3e3,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},c=e.request,f=e.done;return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{var i=void 0,o=r.method||(n?"POST":"GET"),a=document.createElement("a");a.href=e;var d="object"===(void 0===t?"undefined":g(t))&&null!==t?t:{success:function(){y.logMessage("xhr success")},error:function(e){y.logError("xhr error",null,e)}};if("function"==typeof t&&(d.success=t),(i=new window.XMLHttpRequest).onreadystatechange=function(){if(i.readyState===m){"function"==typeof f&&f(a.origin);var e=i.status;200<=e&&e<300||304===e?d.success(i.responseText,i):d.error(i.statusText,i)}},v.config.getConfig("disableAjaxTimeout")||(i.ontimeout=function(){y.logError("  xhr timeout after ",i.timeout,"ms")}),"GET"===o&&n){var u=(0,p.parse)(e,r);l(u.search,n),e=(0,p.format)(u)}i.open(o,e,!0),v.config.getConfig("disableAjaxTimeout")||(i.timeout=s),r.withCredentials&&(i.withCredentials=!0),y._each(r.customHeaders,(function(e,t){i.setRequestHeader(t,e)})),r.preflight&&i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.setRequestHeader("Content-Type",r.contentType||"text/plain"),"function"==typeof c&&c(a.origin),"POST"===o&&n?i.send(n):i.send()}catch(e){y.logError("xhr construction",e)}}}},60:function(e,t,n){var r=n(13),i=n(19),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(61)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},605:function(e,t,n){e.exports=n(606)},606:function(e,t,n){"use strict";var r,i="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},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(42),d=n(0),u=n(607),s=n(18),c=n(28),f=n(3),l=n(30),g=n(43),p=n(20),v=n(608),y=n(7),m=(r=y)&&r.__esModule?r:{default:r},b=n(40),h=n(12);var E=(0,a.getGlobal)(),S=n(4),A=n(0),T=n(8),I=n(16),_=n(9),C=s.userSync.triggerUserSyncs,w=S.EVENTS,O=w.ADD_AD_UNITS,R=w.BID_WON,B=w.REQUEST_BIDS,N=w.SET_TARGETING,U=w.AD_RENDER_FAILED,x=S.AD_RENDER_FAILED_REASON,D=x.PREVENT_WRITING_ON_MAIN_DOCUMENT,j=x.NO_AD,P=x.EXCEPTION,k=x.CANNOT_FIND_AD,M=x.MISSING_DOC_OR_ADID,G={bidWon:function(e){var t=l.auctionManager.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(d.flatten).filter(d.uniques);if(!A.contains(t,e))return void A.logError('The "'+e+'" placement is not defined.');return!0}};function q(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function W(e,t,n){var r={};r.reason=e,r.message=t,n&&(r.bid=n),A.logError(t),_.emit(U,r)}function z(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){A.logError("Error processing command :","prebid.js",e)}}))}(0,v.sessionLoader)(),E.bidderSettings=E.bidderSettings||{},E.libLoaded=!0,E.version="v1.30.0-pre",A.logInfo("Prebid.js v1.30.0-pre loaded"),E.adUnits=E.adUnits||[],E.triggerUserSyncs=C,E.getAdserverTargetingForAdUnitCodeStr=function(e){if(A.logInfo("Invoking lxpbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=E.getAdserverTargetingForAdUnitCode(e);return A.transformAdServerTargetingObj(t)}A.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},E.getAdserverTargetingForAdUnitCode=function(e){return E.getAdserverTargeting(e)[e]},E.getAdserverTargeting=function(e){return A.logInfo("Invoking lxpbjs.getAdserverTargeting",arguments),g.targeting.getAllTargeting(e)},E.getBidResponses=function(){A.logInfo("Invoking lxpbjs.getBidResponses",arguments);var e=l.auctionManager.getBidsReceived().filter(d.adUnitsFilter.bind(this,l.auctionManager.getAdUnitCodes())),n=e&&e.length&&e[e.length-1].auctionId;return e.map((function(e){return e.adUnitCode})).filter(d.uniques).map((function(t){return e.filter((function(e){return e.auctionId===n&&e.adUnitCode===t}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return t={},n=e[0].adUnitCode,r={bids:e.map(d.removeRequestId)},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t;var t,n,r})).reduce((function(e,t){return o(e,t)}),{})},E.getBidResponsesForAdUnitCode=function(t){return{bids:l.auctionManager.getBidsReceived().filter((function(e){return e.adUnitCode===t})).map(d.removeRequestId)}},E.setTargetingForGPTAsync=function(e,t){if(A.logInfo("Invoking lxpbjs.setTargetingForGPTAsync",arguments),(0,d.isGptPubadsDefined)()){var n=g.targeting.getAllTargeting(e);g.targeting.resetPresetTargeting(e),g.targeting.setTargetingForGPT(n,t),Object.keys(n).forEach((function(t){Object.keys(n[t]).forEach((function(e){"hb_adid"===e&&l.auctionManager.setStatusForBids(n[t][e],g.BID_TARGETING_SET)}))})),_.emit(N,n)}else A.logError("window.googletag is not defined on the page")},E.setTargetingForAst=function(){A.logInfo("Invoking lxpbjs.setTargetingForAn",arguments),g.targeting.isApntagDefined()?(g.targeting.setTargetingForAst(),_.emit(N,g.targeting.getAllTargeting())):A.logError("window.apntag is not defined on the page")},E.renderAd=function(e,t){if(A.logInfo("Invoking lxpbjs.renderAd",arguments),A.logMessage("Calling renderAd with adId :"+t),e&&t)try{var n=l.auctionManager.findBidByAdId(t);if(n){n.status=g.RENDERED,n.ad=A.replaceAuctionPrice(n.ad,n.cpm),n.adUrl=A.replaceAuctionPrice(n.adUrl,n.cpm),l.auctionManager.addWinningBid(n),_.emit(R,n);var r=n.height,i=n.width,o=n.ad,a=n.mediaType,d=n.adUrl,u=n.renderer,s=document.createComment("Creative "+n.creativeId+" served by "+n.bidder+" Prebid.js Header Bidding");if(A.insertElement(s,e,"body"),(0,h.isRendererRequired)(u))(0,h.executeRenderer)(u,n);else if(e===document&&!A.inIframe()||"video"===a){W(D,"Error trying to write ad. Ad render call ad id "+t+" was prevented from writing to the main document.",n)}else if(o)e.write(o),e.close(),q(e,i,r),A.callBurl(n);else if(d){var c=A.createInvisibleIframe();c.height=r,c.width=i,c.style.display="inline",c.style.overflow="hidden",c.src=d,A.insertElement(c,e,"body"),q(e,i,r),A.callBurl(n)}else{W(j,"Error trying to write ad. No ad for bid response id: "+t,n)}}else{W(k,"Error trying to write ad. Cannot find ad by given id : "+t)}}catch(e){var f="Error trying to write ad Id :"+t+" to the page:"+e.message;W(P,f)}else W(M,"Error trying to write ad Id :"+t+" to the page. Missing document or adId")},E.removeAdUnit=function(e){if(A.logInfo("Invoking lxpbjs.removeAdUnit",arguments),e)for(var t=0;t<E.adUnits.length;t++)E.adUnits[t].code===e&&E.adUnits.splice(t,1)},E.requestBids=(0,p.createHook)("asyncSeries",(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels;_.emit(B);var a=n||f.config.getConfig("bidderTimeout");if(r=r||E.adUnits,A.logInfo("Invoking lxpbjs.requestBids",arguments),i&&i.length?r=r.filter((function(e){return(0,m.default)(i,e.code)})):i=r&&r.map((function(e){return e.code})),r.forEach((function(i){var o=Object.keys(i.mediaTypes||{banner:"banner"}),e=i.bids.map((function(e){return e.bidder})),a=T.bidderRegistry,t=f.config.getConfig("s2sConfig"),n=t&&t.bidders,r=n?e.filter((function(e){return!(0,m.default)(n,e)})):e;i.transactionId||(i.transactionId=A.generateUUID()),r.forEach((function(t){var e=a[t],n=e&&e.getSpec&&e.getSpec(),r=n&&n.supportedMediaTypes||["banner"];o.some((function(e){return(0,m.default)(r,e)}))||(A.logWarn(A.unsupportedBidderMessage(i,t)),i.bids=i.bids.filter((function(e){return e.bidder!==t})))})),b.adunitCounter.incrementCounter(i.code)})),r&&0!==r.length){var d=l.auctionManager.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:a,labels:o});return d.callBids(),d}if(A.logMessage("No adUnits configured. No bids requested."),"function"==typeof t)try{t()}catch(e){A.logError("Error executing bidsBackHandler",null,e)}})),E.addAdUnits=function(e){A.logInfo("Invoking lxpbjs.addAdUnits",arguments),A.isArray(e)?E.adUnits.push.apply(E.adUnits,e):"object"===(void 0===e?"undefined":i(e))&&E.adUnits.push(e),_.emit(O)},E.onEvent=function(e,t,n){A.logInfo("Invoking lxpbjs.onEvent",arguments),A.isFn(t)?!n||G[e].call(null,n)?_.on(e,t,n):A.logError('The id provided is not valid for event "'+e+'" and no handler was set.'):A.logError('The event handler provided is not a function and was not set on event "'+e+'".')},E.offEvent=function(e,t,n){A.logInfo("Invoking lxpbjs.offEvent",arguments),n&&!G[e].call(null,n)||_.off(e,t,n)},E.registerBidAdapter=function(e,t){A.logInfo("Invoking lxpbjs.registerBidAdapter",arguments);try{T.registerBidAdapter(e(),t)}catch(e){A.logError("Error registering bidder adapter : "+e.message)}},E.registerAnalyticsAdapter=function(e){A.logInfo("Invoking lxpbjs.registerAnalyticsAdapter",arguments);try{T.registerAnalyticsAdapter(e)}catch(e){A.logError("Error registering analytics adapter : "+e.message)}},E.createBid=function(e){return A.logInfo("Invoking lxpbjs.createBid",arguments),I.createBid(e)},E.loadScript=function(e,t,n){A.logInfo("Invoking lxpbjs.loadScript",arguments),(0,c.loadScript)(e,t,n)},E.enableAnalytics=function(e){e&&!A.isEmpty(e)?(A.logInfo("Invoking lxpbjs.enableAnalytics for: ",e),T.enableAnalytics(e)):A.logError("lxpbjs.enableAnalytics should be called with option {}")},E.aliasBidder=function(e,t){A.logInfo("Invoking lxpbjs.aliasBidder",arguments),e&&t?T.aliasBidAdapter(e,t):A.logError("bidderCode and alias must be passed as arguments","lxpbjs.aliasBidder")},E.getAllWinningBids=function(){return l.auctionManager.getAllWinningBids().map(d.removeRequestId)},E.getAllPrebidWinningBids=function(){return l.auctionManager.getBidsReceived().filter((function(e){return e.status===g.BID_TARGETING_SET})).map(d.removeRequestId)},E.getHighestCpmBids=function(e){var t=(0,g.getHighestCpmBidsFromBidPool)(l.auctionManager.getBidsReceived(),d.getLatestHighestCpmBid);return g.targeting.getWinningBids(e,t).map(d.removeRequestId)},E.markWinningBidAsUsed=function(t){var e=[];t.adUnitCode&&t.adId?e=l.auctionManager.getBidsReceived().filter((function(e){return e.adId===t.adId&&e.adUnitCode===t.adUnitCode})):t.adUnitCode?e=g.targeting.getWinningBids(t.adUnitCode):t.adId?e=l.auctionManager.getBidsReceived().filter((function(e){return e.adId===t.adId})):A.logWarn("Inproper usage of markWinningBidAsUsed. It'll need an adUnitCode and/or adId to function."),0<e.length&&(e[0].status=g.RENDERED)},E.getConfig=f.config.getConfig,E.setConfig=f.config.setConfig,E.que.push((function(){return(0,u.listenMessagesFromCreative)()})),E.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){A.logError("Error processing command :",e.message,e.stack)}else A.logError("Commands written into lxpbjs.cmd.push must be wrapped in a function")},E.que.push=E.cmd.push,E.processQueue=function(){z(E.que),z(E.cmd)}},607:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listenMessagesFromCreative=function(){addEventListener("message",o,!1)};var m=i(n(9)),b=n(17),r=n(4),h=n(0),E=n(30),S=i(n(10)),A=n(12);function i(e){return e&&e.__esModule?e:{default:e}}var T=r.EVENTS.BID_WON;function o(e){var t,n,r,i,o,a,d,u,s,c,f,l,g,p=e.message?"message":"data",v={};try{v=JSON.parse(e[p])}catch(e){return}if(v&&v.adId){var y=(0,S.default)(E.auctionManager.getBidsReceived(),(function(e){return e.adId===v.adId}));"Prebid Request"===v.message&&(t=y,n=v.adServerDomain,r=e.source,i=t.adId,o=t.ad,a=t.adUrl,d=t.width,u=t.height,s=t.renderer,(0,A.isRendererRequired)(s)?(0,A.executeRenderer)(s,t):i&&(f=(c=t).adUnitCode,l=c.width,g=c.height,["div","iframe"].forEach((function(e){var t,n=(t=e,document.getElementById((0,S.default)(window.googletag.pubads().getSlots().filter((0,h.isSlotMatchingAdUnitCode)(f)),(function(e){return e})).getSlotElementId()).querySelector(t)).style;n.width=l+"px",n.height=g+"px"})),r.postMessage(JSON.stringify({message:"Prebid Response",ad:o,adUrl:a,adId:i,width:d,height:u}),n)),E.auctionManager.addWinningBid(y),m.default.emit(T,y)),"Prebid Native"===v.message&&((0,b.fireNativeTrackers)(v,y),E.auctionManager.addWinningBid(y),m.default.emit(T,y))}}},608:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.boundHook=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.disableOverrides=f,n.addBidResponseHook=l,n.getConfig=g,n.sessionLoader=function(e){var t=void 0;try{e=e||window.sessionStorage,t=JSON.parse(e.getItem(d))}catch(e){}t&&c(t,!0)};var r=t(3),a=t(0),i=t(44),d="lxpbjs:debugging",u=n.boundHook=void 0;function s(e){(0,a.logMessage)("DEBUG: "+e)}function c(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];r.config.setConfig({debug:!0}),s("bidder overrides enabled"+(t?" from session":"")),u&&i.addBidResponse.removeHook(u),n.boundHook=u=l.bind(null,e),i.addBidResponse.addHook(u,5)}function f(){u&&(i.addBidResponse.removeHook(u),s("bidder overrides disabled"))}function l(e,r,i,t){if(Array.isArray(e.bidders)&&-1===e.bidders.indexOf(i.bidderCode))return n="bidder '"+i.bidderCode+"' excluded from auction by bidder overrides",void(0,a.logWarn)("DEBUG: "+n);var n;Array.isArray(e.bids)&&e.bids.forEach((function(n){n.bidder&&n.bidder!==i.bidderCode||n.adUnitCode&&n.adUnitCode!==r||(i=o({},i),Object.keys(n).filter((function(e){return-1===["bidder","adUnitCode"].indexOf(e)})).forEach((function(e){var t=n[e];s("bidder overrides changed '"+r+"/"+i.bidderCode+"' bid."+e+" from '"+i[e]+"' to '"+t+"'"),i[e]=t})))})),t(r,i)}function g(e){if(e.enabled){try{window.sessionStorage.setItem(d,JSON.stringify(e))}catch(e){}c(e)}else{f();try{window.sessionStorage.removeItem(d)}catch(e){}}}r.config.getConfig("debugging",(function(e){return g(e.debugging)}))},61:function(e,t){e.exports=!0},62:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},63:function(e,t,n){"use strict";var r=n(14),i=n(64)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,1<arguments.length?arguments[1]:void 0)}}),n(26)("includes")},64:function(e,t,n){var u=n(65),s=n(36),c=n(66);e.exports=function(d){return function(e,t,n){var r,i=u(e),o=s(i.length),a=c(n,o);if(d&&t!=t){for(;a<o;)if((r=i[a++])!=r)return!0}else for(;a<o;a++)if((d||a in i)&&i[a]===t)return d||a||0;return!d&&-1}}},65:function(e,t,n){var r=n(35),i=n(24);e.exports=function(e){return r(i(e))}},66:function(e,t,n){var r=n(37),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},67:function(e,t){e.exports=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t){var i=t[r];n[r]=i&&"object"==typeof i?e(i):i}return n}},68:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRefererInfo=void 0,t.detectReferer=r;var a=n(0);function r(i){function o(){var e=(function(){var t=[],n=void 0;do{try{n=n?n.parent:i;try{t.push({referrer:n.document.referrer||null,location:n.location.href||null,isTop:n==i.top})}catch(e){t.push({referrer:null,location:null,isTop:n==i.top}),(0,a.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location")}}catch(e){return t.push({referrer:null,location:null,isTop:!1}),t}}while(n!=i.top);return t})(),t=(function(){try{if(!i.location.ancestorOrigins)return;return i.location.ancestorOrigins}catch(e){}})();if(t)for(var n=0,r=t.length;n<r;n++)e[n].ancestor=t[n];return e}return function(){try{var e=o(),t=e.length-1,n=null!==e[t].location||0<t&&null!==e[t-1].referrer,r=(function(e){var t=[],n=null,r=null,i=null,o=null,a=null,d=void 0;for(d=e.length-1;0<=d;d--){try{n=e[d].location}catch(e){}if(n)t.push(n),a||(a=n);else if(0!==d){r=e[d-1];try{i=r.referrer,o=r.ancestor}catch(e){}i?(t.push(i),a||(a=i)):o?(t.push(o),a||(a=o)):t.push(null)}else t.push(null)}return{stack:t,detectedRefererUrl:a}})(e);return{referer:r.detectedRefererUrl,reachedTop:n,numIframes:t,stack:r.stack}}catch(e){}}}t.getRefererInfo=r(window)},7:function(e,t,n){n(63),e.exports=n(13).Array.includes},8:function(e,h,t){"use strict";var b=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(r=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&d.return&&d.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E=t(0),p=t(39),v=t(17),c=t(1),S=t(6),A=t(3),T=n(t(7)),I=n(t(10)),y=t(40),_=t(68);function n(e){return e&&e.__esModule?e:{default:e}}var C=t(0),w=t(4),O=t(9),R=void 0,B={};h.bidderRegistry=B,h.aliasRegistry={};var N={};A.config.getConfig("s2sConfig",(function(e){N=e.s2sConfig}));var r={};function U(e){var i=e.bidderCode,s=e.auctionId,c=e.bidderRequestId,t=e.adUnits,f=e.labels,l=e.src;return t.reduce((function(e,d){var t=(0,p.resolveStatus)((0,p.getLabels)(d,f),d.mediaTypes,d.sizes),n=t.active,u=t.mediaTypes,r=t.filterResults;return n?r&&C.logInfo('Size mapping filtered adUnit "'+d.code+'" banner sizes from ',r.before,"to ",r.after):C.logInfo('Size mapping disabled adUnit "'+d.code+'"'),n&&e.push(d.bids.filter((function(e){return e.bidder===i})).reduce((function(e,t){var n=d.nativeParams||C.deepAccess(d,"mediaTypes.native");n&&(t=g({},t,{nativeParams:(0,v.processNativeAdUnitParams)(n)})),t=g({},t,(0,E.getDefinedParams)(d,["mediaType","renderer"]));var r=(0,p.resolveStatus)((0,p.getLabels)(t,f),u),i=r.active,o=r.mediaTypes,a=r.filterResults;return i?a&&C.logInfo('Size mapping filtered adUnit "'+d.code+'" bidder "'+t.bidder+'" banner sizes from ',a.before,"to ",a.after):C.logInfo('Size mapping deactivated adUnit "'+d.code+'" bidder "'+t.bidder+'"'),C.isValidMediaTypes(o)?t=g({},t,{mediaTypes:o}):C.logError("mediaTypes is not correctly configured for adunit "+d.code),i&&e.push(g({},t,{adUnitCode:d.code,transactionId:d.transactionId,sizes:C.deepAccess(o,"banner.sizes")||[],bidId:t.bid_id||C.getUniqueIdentifierStr(),bidderRequestId:c,auctionId:s,src:l,bidRequestsCount:y.adunitCounter.getCounter(d.code)})),e}),[])),e}),[]).reduce(E.flatten,[]).filter((function(e){return""!==e}))}function x(){return N&&N.enabled&&N.testing&&R}function i(t,n,e){try{var r=B[t].getSpec();r&&r[n]&&"function"==typeof r[n]&&(C.logInfo("Invoking "+t+"."+n),r[n](e))}catch(e){C.logWarn("Error calling "+n+" of "+t)}}h.gdprDataHandler={consentData:null,setConsentData:function(e){this.consentData=e},getConsentData:function(){return this.consentData}},h.makeBidRequests=function(e,i,o,a,d){var u=[];e=h.checkBidRequestSizes(e);var t=(0,E.getBidderCodes)(e);A.config.getConfig("bidderSequence")===A.RANDOM&&(t=(0,E.shuffle)(t));var n,r,s,c=(0,_.getRefererInfo)(),f=t,l=[];if(N.enabled){x()&&(l=R.getSourceBidderMap(e)[R.CLIENT]);var g=N.bidders;f=t.filter((function(e){return!(0,T.default)(g,e)||(0,T.default)(l,e)}));var p=(n=e,r=N.bidders,(s=C.deepClone(n)).forEach((function(e){e.bids=e.bids.filter((function(e){return(0,T.default)(r,e.bidder)&&(!x()||e.finalSource!==R.CLIENT)})).map((function(e){return e.bid_id=C.getUniqueIdentifierStr(),e}))})),s=s.filter((function(e){return 0!==e.bids.length}))),v=C.generateUUID();g.forEach((function(e){var t=C.getUniqueIdentifierStr(),n={bidderCode:e,auctionId:o,bidderRequestId:t,tid:v,bids:U({bidderCode:e,auctionId:o,bidderRequestId:t,adUnits:C.deepClone(p),labels:d,src:w.S2S.SRC}),auctionStart:i,timeout:N.timeout,src:w.S2S.SRC,refererInfo:c};0!==n.bids.length&&u.push(n)})),p.forEach((function(e){var t=e.bids.filter((function(t){return(0,I.default)(u,(function(e){return(0,I.default)(e.bids,(function(e){return e.bidId===t.bid_id}))}))}));e.bids=t})),u.forEach((function(e){e.adUnitsS2SCopy=p.filter((function(e){return 0<e.bids.length}))}))}var y,m,b=(y=e,(m=C.deepClone(y)).forEach((function(e){e.bids=e.bids.filter((function(e){return!x()||e.finalSource!==R.SERVER}))})),m=m.filter((function(e){return 0!==e.bids.length})));return f.forEach((function(e){var t=C.getUniqueIdentifierStr(),n={bidderCode:e,auctionId:o,bidderRequestId:t,bids:U({bidderCode:e,auctionId:o,bidderRequestId:t,adUnits:C.deepClone(b),labels:d,src:"client"}),auctionStart:i,timeout:a,refererInfo:c},r=B[e];r||C.logError("Trying to make a request for bidder that does not exist: "+e),r&&n.bids&&0!==n.bids.length&&u.push(n)})),h.gdprDataHandler.getConsentData()&&u.forEach((function(e){e.gdprConsent=h.gdprDataHandler.getConsentData()})),u},h.checkBidRequestSizes=function(e){function d(e){return Array.isArray(e)&&2===e.length&&C.isInteger(e[0])&&C.isInteger(e[1])}return e.forEach((function(e){var t=e.mediaTypes,n=C.getAdUnitSizes(e);if(t&&t.banner){var r=t.banner;r.sizes?(r.sizes=n,e.sizes=n):(C.logError("Detected a mediaTypes.banner object did not include sizes.  This is a required field for the mediaTypes.banner object.  Removing invalid mediaTypes.banner object from request."),delete e.mediaTypes.banner)}else e.sizes&&(C.logWarn("Usage of adUnits.sizes will eventually be deprecated.  Please define size dimensions within the corresponding area of the mediaTypes.<object> (eg mediaTypes.banner.sizes)."),e.sizes=n);if(t&&t.video){var i=t.video;if(i.playerSize)if(Array.isArray(i.playerSize)&&1===i.playerSize.length&&i.playerSize.every(d))e.sizes=i.playerSize;else if(d(i.playerSize)){var o=[];o.push(i.playerSize),C.logInfo("Transforming video.playerSize from "+i.playerSize+" to "+o+" so it's in the proper format."),e.sizes=i.playerSize=o}else C.logError("Detected incorrect configuration of mediaTypes.video.playerSize.  Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete e.mediaTypes.video.playerSize}if(t&&t.native){var a=t.native;a.image&&a.image.sizes&&!Array.isArray(a.image.sizes)&&(C.logError("Please use an array of sizes for native.image.sizes field.  Removing invalid mediaTypes.native.image.sizes property from request."),delete e.mediaTypes.native.image.sizes),a.image&&a.image.aspect_ratios&&!Array.isArray(a.image.aspect_ratios)&&(C.logError("Please use an array of sizes for native.image.aspect_ratios field.  Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete e.mediaTypes.native.image.aspect_ratios),a.icon&&a.icon.sizes&&!Array.isArray(a.icon.sizes)&&(C.logError("Please use an array of sizes for native.icon.sizes field.  Removing invalid mediaTypes.native.icon.sizes property from request."),delete e.mediaTypes.native.icon.sizes)}})),e},h.callBids=function(e,t,r,i,o,a){if(t.length){var n=t.reduce((function(e,t){return e[Number(void 0!==t.src&&t.src===w.S2S.SRC)].push(t),e}),[[],[]]),d=b(n,2),u=d[0],s=d[1];if(s.length){var c=(0,S.ajaxBuilder)(a,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0),f=N.bidders,l=B[N.adapter],g=s[0].tid,p=s[0].adUnitsS2SCopy;if(l){var v={tid:g,ad_units:p};if(v.ad_units.length){var y=s.map((function(e){return e.start=(0,E.timestamp)(),i})),m=v.ad_units.reduce((function(e,t){return e.concat((t.bids||[]).reduce((function(e,t){return e.concat(t.bidder)}),[]))}),[]);C.logMessage("CALLING S2S HEADER BIDDERS ==== "+f.filter((function(e){return(0,T.default)(m,e)})).join(",")),s.forEach((function(e){O.emit(w.EVENTS.BID_REQUESTED,e)})),l.callBids(v,s,r,(function(){return y.forEach((function(e){return e()}))}),c)}}}t.forEach((function(n){n.bids.forEach((function(t){e.forEach((function(e){if(e.code==t.adUnitCode)return e.bids.forEach((function(e){if(e.bidder==n.bidderCode&&void 0!==e.__sds_id__&&JSON.stringify(e.params)==JSON.stringify(t.params)&&JSON.stringify(e.__sds_id__)==JSON.stringify(t.__sds_id__))return e.bidId=t.bidId,!1})),!1}))}))})),u.forEach((function(e){e.start=(0,E.timestamp)();var t=B[e.bidderCode];C.logMessage("CALLING BIDDER ======= "+e.bidderCode),O.emit(w.EVENTS.BID_REQUESTED,e);var n=(e.doneCbCallCount=0,S.ajaxBuilder)(a,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0);t.callBids(e,r,i,n)}))}else C.logWarn("callBids executed with no bidRequests.  Were they filtered by labels or sizing?")},h.videoAdapters=[],h.registerBidAdapter=function(e,t){var n=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,r=void 0===n?[]:n;e&&t?"function"==typeof e.callBids?(B[t]=e,(0,T.default)(r,"video")&&h.videoAdapters.push(t),(0,T.default)(r,"native")&&v.nativeAdapters.push(t)):C.logError("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):C.logError("bidAdaptor or bidderCode not specified")},h.aliasBidAdapter=function(t,e){var n,r;if(void 0===B[e]){var i=B[t];if(void 0===i){var o=A.config.getConfig("s2sConfig"),a=o&&o.bidders;a&&(0,T.default)(a,e)?h.aliasRegistry[e]=t:C.logError('bidderCode "'+t+'" is not an existing bidder.',"adaptermanager.aliasBidAdapter")}else try{var d=void 0,u=(n=t,r=[],(0,T.default)(h.videoAdapters,n)&&r.push("video"),(0,T.default)(v.nativeAdapters,n)&&r.push("native"),r);if(i.constructor.prototype!=Object.prototype)(d=new i.constructor).setBidderCode(e);else{var s=i.getSpec();d=(0,c.newBidder)(g({},s,{code:e})),h.aliasRegistry[e]=t}this.registerBidAdapter(d,e,{supportedMediaTypes:u})}catch(e){C.logError(t+" bidder does not currently support aliasing.","adaptermanager.aliasBidAdapter")}}else C.logMessage('alias name "'+e+'" has been already specified.')},h.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,r[n]=t):C.logError('Prebid Error: Analytics adaptor error for analytics "'+n+'"\n        analytics adapter must implement an enableAnalytics() function'):C.logError("Prebid Error: analyticsAdapter or analyticsCode not specified")},h.enableAnalytics=function(e){C.isArray(e)||(e=[e]),C._each(e,(function(e){var t=r[e.provider];t?t.enableAnalytics(e):C.logError("Prebid Error: no analytics adapter found in registry for\n        "+e.provider+".")}))},h.getBidAdapter=function(e){return B[e]},h.setS2STestingModule=function(e){R=e},h.callTimedOutBidders=function(t,n,r){n=n.map((function(e){return e.params=C.getUserConfiguredParams(t,e.adUnitCode,e.bidder),e.timeout=r,e})),n=C.groupBy(n,"bidder"),Object.keys(n).forEach((function(e){i(e,"onTimeout",n[e])}))},h.callBidWonBidder=function(e,t,n){t.params=C.getUserConfiguredParams(n,t.adUnitCode,t.bidder),i(e,"onBidWon",t)}},9:function(e,t,n){"use strict";var d,r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(0),o=n(4),a=Array.prototype.slice,s=Array.prototype.push,c=u._map(o.EVENTS,(function(e){return e})),f=o.EVENT_ID_PATHS,l=[];e.exports=(d={},(r={}).on=function(e,t,n){if(i=e,u.contains(c,i)){var r=d[e]||{que:[]};n?(r[n]=r[n]||{que:[]},r[n].que.push(t)):r.que.push(t),d[e]=r}else u.logError("Wrong event name : "+e+" Valid event names :"+c);var i},r.emit=function(e){!(function(e,t){u.logMessage("Emitting event for: "+e);var n=t[0]||{},r=n[f[e]],i=d[e]||{que:[]},o=u._map(i,(function(e,t){return t})),a=[];l.push({eventType:e,args:n,id:r}),r&&u.contains(o,r)&&s.apply(a,i[r].que),s.apply(a,i.que),u._each(a,(function(e){if(e)try{e.apply(null,t)}catch(e){u.logError("Error executing handler:","events.js",e)}}))})(e,a.call(arguments,1))},r.off=function(e,n,r){var i=d[e];u.isEmpty(i)||u.isEmpty(i.que)&&u.isEmpty(i[r])||r&&(u.isEmpty(i[r])||u.isEmpty(i[r].que))||(r?u._each(i[r].que,(function(e){var t=i[r].que;e===n&&t.splice(u.indexOf.call(t,e),1)})):u._each(i.que,(function(e){var t=i.que;e===n&&t.splice(u.indexOf.call(t,e),1)})),d[e]=i)},r.get=function(){return d},r.getEvents=function(){var n=[];return u._each(l,(function(e){var t=i({},e);n.push(t)})),n},r)}});
lxpbjsChunk([166],{82:function(e,n,r){r(83),e.exports=r(84)},83:function(e,n){},84:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.spec=void 0;var t=r(1),g=r(2),v="adform",d=n.spec={code:v,supportedMediaTypes:[g.BANNER,g.VIDEO],isBidRequestValid:function(e){return!!e.params.mid},buildRequests:function(e,n){var r,t,d,s,i,p,o,a,u,c,g=[],l=[["adxDomain","adx.adform.net"],["fd",1],["url",null],["tid",null]],h=JSON.parse(JSON.stringify(e)),f=h[0]&&h[0].bidder||v;for(r=0,t=h.length;r<t;r++){for("net"!==(i=h[r]).params.priceType&&"net"!==i.params.pt||(u="net"),d=0,s=l.length;d<s;d++)(o=i[p=l[d][0]]||i.params[p])&&(i[p]=i.params[p]=null,l[d][1]=o);(a=i.params).transactionId=i.transactionId,g.push(b(a))}for(g.unshift("//"+l[0][1]+"/adx/?rp=4"),u=u||"gross",g.push("pt="+u),g.push("stid="+e[0].auctionId),n&&n.gdprConsent&&n.gdprConsent.gdprApplies&&(c={gdpr:n.gdprConsent.gdprApplies,gdpr_consent:n.gdprConsent.consentString},g.push("gdpr="+c.gdpr),g.push("gdpr_consent="+c.gdpr_consent)),r=1,t=l.length;r<t;r++)p=l[r][0],(o=l[r][1])&&g.push(p+"="+encodeURIComponent(o));return{method:"GET",url:g.join("&"),bids:e,netRevenue:u,bidder:f,gdpr:c};function b(e){var n,r=[];for(n in e)e.hasOwnProperty(n)&&e[n]&&r.push(n,"=",e[n],"&");return encodeURIComponent(btoa(r.join("").slice(0,-1)))}},interpretResponse:function(e,n){for(var r,t,d,s,i={banner:1,vast_content:1,vast_url:1},p=[],o=n.bids,a=e.body,u=0;u<a.length;u++)s="banner"===(t=a[u]).response?g.BANNER:g.VIDEO,d=o[u],i[t.response]&&(c(t,d.sizes)||s===g.VIDEO)&&(r={requestId:d.bidId,cpm:t.win_bid,width:t.width,height:t.height,creativeId:d.bidId,dealId:t.deal_id,currency:t.win_cur,netRevenue:"gross"!==n.netRevenue,ttl:360,ad:t.banner,bidderCode:n.bidder,transactionId:d.transactionId,vastUrl:t.vast_url,vastXml:t.vast_content,mediaType:s},n.gdpr&&(r.gdpr=n.gdpr.gdpr,r.gdpr_consent=n.gdpr.gdpr_consent),p.push(r));return p;function c(e,n){for(var r=0,t=n.length;r<t;r++)if(e.width==n[r][0]&&e.height==n[r][1])return!0;return!1}}};(0,t.registerBidder)(d)}},[82]);
lxpbjsChunk([1],{91:function(n,t,e){n.exports=e(92)},92:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticConsentData=t.allowAuction=t.consentTimeout=t.userCMP=void 0,t.requestBidsHook=w,t.resetConsentData=function(){v=void 0,a.gdprDataHandler.setConsentData(null)},t.setConfig=y;var l=(function(n){{if(n&&n.__esModule)return n;var t={};if(null!=n)for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t.default=n,t}})(e(0)),o=e(3),a=e(8),i=s(e(7)),u=s(e(93));function s(n){return n&&n.__esModule?n:{default:n}}var r="iab",c=1e4,d=!0,f=t.userCMP=void 0,g=t.consentTimeout=void 0,p=t.allowAuction=void 0,m=t.staticConsentData=void 0,v=void 0,C={iab:function(n,t,s){var e=(function(){var t={};function e(){t.getConsentData&&t.getVendorConsents&&n(t,s)}return{consentDataCallback:function(n){t.getConsentData=n,e()},vendorConsentsCallback:function(n){t.getVendorConsents=n,e()}}})(),r={},o=void 0;try{o=window.__cmp||l.getWindowTop().__cmp}catch(n){}if(l.isFn(o))o("getConsentData",null,e.consentDataCallback),o("getVendorConsents",null,e.vendorConsentsCallback);else if(window.$sf&&window.$sf.ext&&"function"==typeof window.$sf.ext.cmp)c("getConsentData",e.consentDataCallback),c("getVendorConsents",e.vendorConsentsCallback);else{for(var a=window,i=void 0;!i;){try{a.frames.__cmpLocator&&(i=a)}catch(n){}if(a===window.top)break;a=a.parent}if(!i)return t("CMP not found.",s);d("getConsentData",i,e.consentDataCallback),d("getVendorConsents",i,e.vendorConsentsCallback)}function c(o,a){var n=s.adUnits,t=1,e=1;if(Array.isArray(n)&&0<n.length){var i=l.getAdUnitSizes(n[0]);t=i[0][0],e=i[0][1]}window.$sf.ext.register(t,e,(function(n,t){if("cmpReturn"===n){var e="getConsentData"===o?t.vendorConsentData:t.vendorConsents;a(e)}})),window.$sf.ext.cmp(o)}function d(n,i,t){function e(n){var t="string"==typeof n.data&&(0,u.default)(n.data,"cmpReturn")?JSON.parse(n.data):n.data;if(t.__cmpReturn&&t.__cmpReturn.callId){var e=t.__cmpReturn;void 0!==r[e.callId]&&(r[e.callId](e.returnValue,e.success),delete r[e.callId])}}window.__cmp=function(n,t,e){var o=Math.random()+"",a={__cmpCall:{command:n,parameter:t,callId:o}};r[o]=e,i.postMessage(a,"*")},window.addEventListener("message",e,!1),window.__cmp(n,null,(function(n){window.removeEventListener("message",e,!1),t(n)}))}},static:function(n,t,e){n(m,e)}};function w(n,t){var e={context:this,args:arguments,nextFn:t,adUnits:n.adUnits||lxpbjs.adUnits,bidsBackHandler:n.bidsBackHandler,haveExited:!1,timer:null};return v?x(null,e):(0,i.default)(Object.keys(C),f)?(C[f].call(this,b,D,e),void(e.haveExited||(0===g?b(void 0,e):e.timer=setTimeout(function(n){D("CMP workflow exceeded timeout threshold.",n)}.bind(null,e),g)))):(l.logWarn("CMP framework ("+f+") is not a supported framework.  Aborting consentManagement module and resuming auction."),e.nextFn.apply(e.context,e.args))}function b(n,t){var e=n&&n.getConsentData&&n.getConsentData.gdprApplies;"boolean"==typeof e&&(!0!==e||l.isStr(n.getConsentData.consentData)&&l.isPlainObject(n.getVendorConsents)&&1<Object.keys(n.getVendorConsents).length)?(clearTimeout(t.timer),h(n),x(null,t)):D("CMP returned unexpected value during lookup process.",t,n)}function D(n,t,e){clearTimeout(t.timer),p&&h(void 0),x(n,t,e)}function h(n){v={consentString:n?n.getConsentData.consentData:void 0,vendorData:n?n.getVendorConsents:void 0,gdprApplies:n?n.getConsentData.gdprApplies:void 0},a.gdprDataHandler.setConsentData(v)}function x(n,t,e){if(!1===t.haveExited){t.haveExited=!0;var o=t.context,a=t.args,i=t.nextFn;n?p?(l.logWarn(n+" Resuming auction without consent data as per consentManagement config.",e),i.apply(o,a)):(l.logError(n+" Canceling auction as per consentManagement config.",e),"function"==typeof t.bidsBackHandler?t.bidsBackHandler():l.logError("Error executing bidsBackHandler")):i.apply(o,a)}}function y(n){l.isStr(n.cmpApi)?t.userCMP=f=n.cmpApi:(t.userCMP=f=r,l.logInfo("consentManagement config did not specify cmp.  Using system default setting ("+r+").")),l.isNumber(n.timeout)?t.consentTimeout=g=n.timeout:(t.consentTimeout=g=c,l.logInfo("consentManagement config did not specify timeout.  Using system default setting ("+c+").")),"boolean"==typeof n.allowAuctionWithoutConsent?t.allowAuction=p=n.allowAuctionWithoutConsent:(t.allowAuction=p=d,l.logInfo("consentManagement config did not specify allowAuctionWithoutConsent.  Using system default setting ("+d+").")),l.logInfo("consentManagement module has been activated..."),"static"===f&&(l.isPlainObject(n.consentData)?(t.staticConsentData=m=n.consentData,t.consentTimeout=g=0):l.logError("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),lxpbjs.requestBids.addHook(w,50)}o.config.getConfig("consentManagement",(function(n){return y(n.consentManagement)}))},93:function(n,t,e){e(94),n.exports=e(13).String.includes},94:function(n,t,e){"use strict";var o=e(14),a=e(95),i="includes";o(o.P+o.F*e(97)(i),"String",{includes:function(n){return!!~a(this,n,i).indexOf(n,1<arguments.length?arguments[1]:void 0)}})},95:function(n,t,e){var o=e(96),a=e(24);n.exports=function(n,t,e){if(o(t))throw TypeError("String#"+e+" doesn't accept regex!");return String(a(n))}},96:function(n,t,e){var o=e(15),a=e(23),i=e(25)("match");n.exports=function(n){var t;return o(n)&&(void 0!==(t=n[i])?!!t:"RegExp"==a(n))}},97:function(n,t,e){var o=e(25)("match");n.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[o]=!1,!"/./"[t](e)}catch(n){}}return!0}}},[91]);
lxpbjsChunk([37],{137:function(e,t,r){r(138),e.exports=r(139)},138:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var a=r(1),o=r(0),p=12,u=11,c=0,I=22,d=t.spec={code:"teads",supportedMediaTypes:["video","banner"],isBidRequestValid:function(e){var t=!1;if(void 0!==e.params){var r=n(o.getValue(e.params,"placementId")),a=n(o.getValue(e.params,"pageId"));t=r&&a}return t||o.logError("Teads placementId and pageId parameters are required. Bid aborted."),t},buildRequests:function(e,t){var r=e.map(g),a={referrer:o.getTopWindowUrl(),data:r,deviceWidth:screen.width},d=t.gdprConsent;if(t&&d){var n="boolean"==typeof d.gdprApplies,i="string"==typeof d.consentString,s=n?(function(e,t){var r=p;e?(t.hasGlobalScope||t.hasGlobalConsent)&&(r=u):r=c;return r})(d.gdprApplies,d.vendorData):I;a.gdpr_iab={consent:i?d.consentString:"",status:s}}return{method:"POST",url:"//a.teads.tv/hb/bid-request",data:JSON.stringify(a)}},interpretResponse:function(e,t){var r=[];return(e=e.body).responses&&e.responses.forEach((function(e){var t={cpm:e.cpm,width:e.width,height:e.height,currency:e.currency,netRevenue:!0,ttl:e.ttl,ad:e.ad,requestId:e.bidId,creativeId:e.creativeId};r.push(t)})),r},getUserSyncs:function(e,t,r){if(e.iframeEnabled)return[{type:"iframe",url:"//sync.teads.tv/iframe"}]}};function g(e){var t={},r=o.getValue(e.params,"placementId"),a=o.getValue(e.params,"pageId");return t.sizes=o.parseSizesInput(e.sizes),t.bidId=o.getBidIdParameter("bidId",e),t.bidderRequestId=o.getBidIdParameter("bidderRequestId",e),t.placementId=parseInt(r,10),t.pageId=parseInt(a,10),t.adUnitCode=o.getBidIdParameter("__parentDivId",e)||o.getBidIdParameter("adUnitCode",e),t.auctionId=o.getBidIdParameter("auctionId",e),t.transactionId=o.getBidIdParameter("transactionId",e),t}function n(e){return 0<parseInt(e)}(0,a.registerBidder)(d)},139:function(e,t){}},[137]);
lxpbjsChunk([149],{140:function(e,r,t){t(141),e.exports=t(142)},141:function(e,r){},142:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},i=u(["//","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=",";misc=",";",""],["//","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=",";misc=",";",""]),a=u(["//","/bidRequest?"],["//","/bidRequest?"]),o=u(["dcn=","&pos=","&cmd=bid",""],["dcn=","&pos=","&cmd=bid",""]),s=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),d=t(1),c=t(2);function u(e,r){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var p={AOL:"aol",ONEMOBILE:"onemobile",ONEDISPLAY:"onedisplay"},l={GET:"display-get"},m={GET:"mobile-get",POST:"mobile-post"},f={TAG:"iframe",TYPE:"iframe"},b={TAG:"img",TYPE:"image"},v=E(i,"host","network","placement","pageid","sizeid","alias","misc","dynamicParams"),h=E(a,"host"),g=E(o,"dcn","pos","dynamicParams"),O={us:"adserver-us.adtech.advertising.com",eu:"adserver-eu.adtech.advertising.com",as:"adserver-as.adtech.advertising.com"},y=1;function E(o){for(var e=arguments.length,t=Array(1<e?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return function(){for(var e=arguments.length,i=Array(e),r=0;r<e;r++)i[r]=arguments[r];var n=i[i.length-1]||{},a=[o[0]];return t.forEach((function(e,r){var t=s.isInteger(e)?i[e]:n[e];a.push(t,o[r+1])})),a.join("")}}function P(e){return e===p.AOL||e===p.ONEMOBILE}function T(e){if(P(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var r=e.params.imp[0];return r.id&&r.tagid&&(r.banner&&r.banner.w&&r.banner.h||r.video&&r.video.mimes&&r.video.minduration&&r.video.maxduration)}}function I(e){return P(e.bidder)&&e.params.dcn&&e.params.pos}function R(e){return((r=e.bidder)===p.AOL||r===p.ONEDISPLAY)&&e.params.placement&&e.params.network;var r}var S=r.spec={code:p.AOL,aliases:[p.ONEMOBILE,p.ONEDISPLAY],supportedMediaTypes:[c.BANNER],isBidRequestValid:function(e){return R(e)||(I(r=e)||T(r));var r},buildRequests:function(e,r){var i=this,n=r?r.gdprConsent:null;return e.map((function(e){var r,t=I(r=e)?m.GET:T(r)?m.POST:R(r)?l.GET:void 0;if(t)return i.formatBidRequest(t,e,n)}))},interpretResponse:function(e,r){var t=e.body;if(t){var i=this._parseBidResponse(t,r);if(i)return i}else s.logError("Empty bid response",r.bidderCode,t)},getUserSyncs:function(e,r){var t=!s.isEmpty(r)&&r[0].body;return t&&t.ext&&t.ext.pixels?this.parsePixelItems(t.ext.pixels):[]},formatBidRequest:function(e,r,t){var i=void 0;switch(e){case l.GET:i={url:this.buildMarketplaceUrl(r,t),method:"GET",ttl:60};break;case m.GET:i={url:this.buildOneMobileGetUrl(r,t),method:"GET",ttl:3600};break;case m.POST:i={url:this.buildOneMobileBaseUrl(r),method:"POST",ttl:3600,data:this.buildOpenRtbRequestData(r,t),options:{contentType:"application/json",customHeaders:{"x-openrtb-version":"2.2"}}}}return i.bidderCode=r.bidder,i.bidId=r.bidId,i.userSyncOn=r.params.userSyncOn,i},buildMarketplaceUrl:function(e,r){var t=e.params,i=t.server,n=t.region||"us",a=void 0;return O.hasOwnProperty(n)||(s.logWarn("Unknown region '"+n+"' for AOL bidder."),n="us"),a=i||O[n],t.region=n,v({host:a,network:t.network,placement:parseInt(t.placement),pageid:t.pageId||0,sizeid:t.sizeId||0,alias:t.alias||s.getUniqueIdentifierStr(),misc:(new Date).getTime(),dynamicParams:this.formatMarketplaceDynamicParams(t,r)})},buildOneMobileGetUrl:function(e,r){var t=e.params,i=t.dcn,n=t.pos,a=t.ext,o=this.buildOneMobileBaseUrl(e);if(i&&n){var s=this.formatOneMobileDynamicParams(a,r);o+=g({dcn:i,pos:n,dynamicParams:s})}return o},buildOneMobileBaseUrl:function(e){return h({host:e.params.host||"hb.nexage.com"})},formatMarketplaceDynamicParams:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1],t={};e.bidFloor&&(t.bidfloor=e.bidFloor),n(t,this.formatKeyValues(e.keyValues)),n(t,this.formatConsentData(r));var i="";return s._each(t,(function(e,r){i+=r+"="+encodeURIComponent(e)+";"})),i},formatOneMobileDynamicParams:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1];this.isSecureProtocol()&&(e.secure=y),n(e,this.formatConsentData(r));var t="";return s._each(e,(function(e,r){t+="&"+r+"="+encodeURIComponent(e)})),t},buildOpenRtbRequestData:function(e,r){var t={id:e.params.id,imp:e.params.imp};return this.isConsentRequired(r)&&(t.regs={ext:{gdpr:y}},r.consentString&&(t.user={ext:{consent:r.consentString}})),t},isConsentRequired:function(e){return!(!e||!e.gdprApplies)},formatKeyValues:function(e){var t={};return s._each(e,(function(e,r){t["kv"+r]=e})),t},formatConsentData:function(e){var r={};return this.isConsentRequired(e)&&(r.gdpr=y,e.consentString&&(r.euconsent=e.consentString)),r},parsePixelItems:function(e){var i=/\w*(?=\s)/,n=/src=("|')(.*?)\1/,a=[];if(e){var r=e.match(/(img|iframe)[\s\S]*?src\s*=\s*("|')(.*?)\2/gi);r&&r.forEach((function(e){var r=e.match(i)[0],t=e.match(n)[2];r&&r&&a.push({type:r===b.TAG?b.TYPE:f.TYPE,url:t})}))}return a},_parseBidResponse:function(e,r){var t=void 0;try{t=e.seatbid[0].bid[0]}catch(e){return}var i=void 0;if(t.ext&&t.ext.encp)i=t.ext.encp;else if(null===(i=t.price)||isNaN(i))return void s.logError("Invalid price in bid response",p.AOL,bid);return{bidderCode:r.bidderCode,requestId:r.bidId,ad:t.adm,cpm:i,width:t.w,height:t.h,creativeId:t.crid||0,pubapiId:e.id,currency:e.cur||"USD",dealId:t.dealid,netRevenue:!0,ttl:r.ttl}},isOneMobileBidder:P,isSecureProtocol:function(){return"https:"===document.location.protocol}};(0,d.registerBidder)(S)}},[140]);
lxpbjsChunk([147],{148:function(e,r,a){a(149),e.exports=a(150)},149:function(e,r){},150:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var n="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},o=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e},p=a(12),u=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),t=a(1),m=a(2),l=s(a(10)),f=s(a(7));function s(e){return e&&e.__esModule?e:{default:e}}var c=["id","mimes","minduration","maxduration","startdelay","skippable","playback_method","frameworks"],y=["age","external_uid","segments","gender","dnt","language"],v=["geo","device_id"],b={body:"description",cta:"ctatext",image:{serverName:"main_image",requiredParams:{required:!0},minimumParams:{sizes:[{}]}},icon:{serverName:"icon",requiredParams:{required:!0},minimumParams:{sizes:[{}]}},sponsoredBy:"sponsored_by"},i=r.spec={code:"appnexus",aliases:["appnexusAst","brealtime","emxdigital","pagescience","defymedia","gourmetads","matomy","featureforward","oftmedia","districtm"],supportedMediaTypes:[m.BANNER,m.VIDEO,m.NATIVE],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.member&&e.params.invCode)},buildRequests:function(e,r){var a=e.map(g),t=(0,l.default)(e,h),s=void 0;t&&(s={},Object.keys(t.params.user).filter((function(e){return(0,f.default)(y,e)})).forEach((function(e){return s[e]=t.params.user[e]})));var n=(0,l.default)(e,E),i=void 0;n&&n.params&&n.params.app&&(i={},Object.keys(n.params.app).filter((function(e){return(0,f.default)(v,e)})).forEach((function(e){return i[e]=n.params.app[e]})));var d=(0,l.default)(e,k),o=void 0;d&&d.params&&n.params.app&&n.params.app.id&&(o={appid:d.params.app.id});var p=(0,l.default)(e,I),u=p?parseInt(p.params.member,10):0,m={tags:[].concat(function(e){if(Array.isArray(e)){for(var r=0,a=Array(e.length);r<e.length;r++)a[r]=e[r];return a}return Array.from(e)}(a)),user:s,sdk:{source:"pbjs",version:"1.30.0-pre"}};if(0<u&&(m.member_id=u),n&&(m.device=i),d&&(m.app=o),r&&r.gdprConsent&&(m.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies}),r&&r.refererInfo){var c={rd_ref:encodeURIComponent(r.refererInfo.referer),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")};m.referrer_detection=c}return{method:"POST",url:"//ib.adnxs.com/ut/v3/prebid",data:JSON.stringify(m),bidderRequest:r}},interpretResponse:function(e,r){var n=this,i=r.bidderRequest;e=e.body;var d=[];if(!e||e.error){var a="in response for "+i.bidderCode+" adapter";return e&&e.error&&(a+=": "+e.error),u.logError(a),d}return e.tags&&e.tags.forEach((function(e){var r,a,t=(r=e)&&r.ads&&r.ads.length&&(0,l.default)(r.ads,(function(e){return e.rtb}));if(t&&0!==t.cpm&&(0,f.default)(n.supportedMediaTypes,t.ad_type)){var s=(function(e,r,a){var t={requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300,appnexus:{buyerMemberId:r.buyer_member_id}};if(r.rtb.video){if(o(t,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastUrl:r.rtb.video.asset_url,vastImpUrl:r.notify_url,ttl:3600}),r.renderer_url){var s=u.deepAccess(a.bids[0],"renderer.options");o(t,{adResponse:e,renderer:(function(e,r){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},t=p.Renderer.install({id:r.renderer_id,url:r.renderer_url,config:a,loaded:!1});try{t.setRender(T)}catch(e){u.logWarn("Prebid Error calling setRender on renderer",e)}return t.setEventHandlers({impression:function(){return u.logMessage("AppNexus outstream video impression event")},loaded:function(){return u.logMessage("AppNexus outstream video loaded event")},ended:function(){u.logMessage("AppNexus outstream renderer video event"),document.querySelector("#"+e).style.display="none"}}),t})(t.adUnitCode,r,s)}),t.adResponse.ad=t.adResponse.ads[0],t.adResponse.ad.video=t.adResponse.ad.rtb.video}}else if(r.rtb[m.NATIVE]){var n=r.rtb[m.NATIVE];t[m.NATIVE]={title:n.title,body:n.desc,cta:n.ctatext,sponsoredBy:n.sponsored,clickUrl:n.link.url,clickTrackers:n.link.click_trackers,impressionTrackers:n.impression_trackers,javascriptTrackers:n.javascript_trackers},n.main_img&&(t.native.image={url:n.main_img.url,height:n.main_img.height,width:n.main_img.width}),n.icon&&(t.native.icon={url:n.icon.url,height:n.icon.height,width:n.icon.width})}else{o(t,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{var i=r.rtb.trackers[0].impression_urls[0],d=u.createTrackPixelHtml(i);t.ad+=d}catch(e){u.logError("Error appending tracking pixel",e)}}return t})(e,t,i);s.mediaType=(a=t.ad_type)===m.VIDEO?m.VIDEO:a===m.NATIVE?m.NATIVE:m.BANNER,d.push(s)}})),d},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"//acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html"}]},transformBidParams:function(a,e){return a=u.convertTypes({member:"string",invCode:"string",placementId:"number",keywords:u.transformBidderParamKeywords},a),e&&(a.use_pmt_rule="boolean"==typeof a.usePaymentRule&&a.usePaymentRule,a.usePaymentRule&&delete a.usePaymentRule,Object.keys(a).forEach((function(e){var r=u.convertCamelToUnderscore(e);r!==e&&(a[r]=a[e],delete a[e])}))),a}};function g(r){var i,d,a={};if(a.sizes=_(r.sizes),a.primary_size=a.sizes[0],a.ad_types=[],a.uuid=r.bidId,r.params.placementId?a.id=parseInt(r.params.placementId,10):a.code=r.params.invCode,a.allow_smaller_sizes=r.params.allowSmallerSizes||!1,a.use_pmt_rule=r.params.usePaymentRule||!1,a.prebid=!0,a.disable_psa=!0,r.params.reserve&&(a.reserve=r.params.reserve),r.params.position&&(a.position={above:1,below:2}[r.params.position]||0),r.params.trafficSourceCode&&(a.traffic_source_code=r.params.trafficSourceCode),r.params.privateSizes&&(a.private_sizes=_(r.params.privateSizes)),r.params.supplyType&&(a.supply_type=r.params.supplyType),r.params.pubClick&&(a.pubclick=r.params.pubClick),r.params.extInvCode&&(a.ext_inv_code=r.params.extInvCode),r.params.externalImpId&&(a.external_imp_id=r.params.externalImpId),u.isEmpty(r.params.keywords)||(a.keywords=u.transformBidderParamKeywords(r.params.keywords)),(r.mediaType===m.NATIVE||u.deepAccess(r,"mediaTypes."+m.NATIVE))&&(a.ad_types.push(m.NATIVE),r.nativeParams)){var e=(i=r.nativeParams,d={},Object.keys(i).forEach((function(e){var r=b[e]&&b[e].serverName||b[e]||e,a=b[e]&&b[e].requiredParams;d[r]=o({},a,i[e]);var t=b[e]&&b[e].minimumParams;if(a&&t){var s=Object.keys(i[e]),n=Object.keys(a);0===s.filter((function(e){return!(0,f.default)(n,e)})).length&&(d[r]=o({},d[r],t))}})),d);a[m.NATIVE]={layouts:[e]}}var t=u.deepAccess(r,"mediaTypes."+m.VIDEO),s=u.deepAccess(r,"mediaTypes.video.context");return(r.mediaType===m.VIDEO||t)&&a.ad_types.push(m.VIDEO),(r.mediaType===m.VIDEO||t&&"outstream"!==s)&&(a.require_asset_url=!0),r.params.video&&(a.video={},Object.keys(r.params.video).filter((function(e){return(0,f.default)(c,e)})).forEach((function(e){return a.video[e]=r.params.video[e]}))),(u.isEmpty(r.mediaType)&&u.isEmpty(r.mediaTypes)||r.mediaType===m.BANNER||r.mediaTypes&&r.mediaTypes[m.BANNER])&&a.ad_types.push(m.BANNER),a}function _(e){var r=[],a={};if(u.isArray(e)&&2===e.length&&!u.isArray(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===(void 0===e?"undefined":n(e)))for(var t=0;t<e.length;t++){var s=e[t];(a={}).width=parseInt(s[0],10),a.height=parseInt(s[1],10),r.push(a)}return r}function h(e){return!!e.params.user}function I(e){return!!parseInt(e.params.member,10)}function E(e){if(e.params)return!!e.params.app}function k(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function T(e){e.renderer.push((function(){window.ANOutstreamVideo.renderAd({tagId:e.adResponse.tag_id,sizes:[e.getSize().split("x")],targetId:e.adUnitCode,uuid:e.adResponse.uuid,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},function(e,r,a){e.renderer.handleVideoEvent({id:r,eventName:a})}.bind(null,e))}))}(0,t.registerBidder)(i)}},[148]);
lxpbjsChunk([2],{212:function(t,e,i){i(213),t.exports=i(214)},213:function(t,e){},214:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.spec=exports.FAST_BID_PUBKEY=void 0,exports.cryptoVerify=cryptoVerify;var _adloader=__webpack_require__(28),_bidderFactory=__webpack_require__(1),_url=__webpack_require__(11),_utils=__webpack_require__(0),utils=_interopRequireWildcard(_utils),_find=__webpack_require__(10),_find2=_interopRequireDefault(_find),_jsencrypt=__webpack_require__(215),_jsencrypt2=_interopRequireDefault(_jsencrypt),_sha=__webpack_require__(216),_sha2=_interopRequireDefault(_sha);function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e}var ADAPTER_VERSION=14,BIDDER_CODE="criteo",CDB_ENDPOINT="//bidder.criteo.com/cdb",CRITEO_VENDOR_ID=91,INTEGRATION_MODES={amp:1},PROFILE_ID_INLINE=207,PROFILE_ID_PUBLISHERTAG=185,PUBLISHER_TAG_URL="//static.criteo.net/js/ld/publishertag.prebid.js",FAST_BID_PUBKEY=exports.FAST_BID_PUBKEY="-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDO1BjAITkFTtP0IMzmF7qsqhpu\ny1dGaTPHnjMU9mRZsrnfR3C0sEN5pYEzEcFRPnkJjJuhH8Rnh5+CE+LcKg0Z8ZZ7\nOmOSj0/qnYTAYCu0cR5LiyWG79KlIgUyMbp92ulGg24gAyGrVn4+v/4c53WlOEUp\n4YWvb82G0CD5NcDNpQIDAQAB\n-----END PUBLIC KEY-----",spec=exports.spec={code:BIDDER_CODE,isBidRequestValid:function(t){return!(!t||!t.params||!t.params.zoneId&&!t.params.networkId)},buildRequests:function(t,e){var i=void 0,r=void 0;if(publisherTagAvailable()||(window.Criteo=window.Criteo||{},window.Criteo.usePrebidEvents=!1,tryGetCriteoFastBid(),setTimeout((function(){(0,_adloader.loadExternalScript)(PUBLISHER_TAG_URL,BIDDER_CODE)}),e.timeout)),publisherTagAvailable()){var n=new Criteo.PubTag.Adapters.Prebid(PROFILE_ID_PUBLISHERTAG,ADAPTER_VERSION,t,e,"1.30.0-pre");i=n.buildCdbUrl(),r=n.buildCdbRequest()}else{var s=buildContext(t);i=buildCdbUrl(s),r=buildCdbRequest(s,t,e)}if(r)return{method:"POST",url:i,data:r,bidRequests:t}},interpretResponse:function(t,n){var e=t.body||t;if(publisherTagAvailable()){var i=Criteo.PubTag.Adapters.Prebid.GetAdapter(n);if(i)return i.interpretResponse(e,n)}var s=[];return e&&e.slots&&utils.isArray(e.slots)&&e.slots.forEach((function(e){var t=(0,_find2.default)(n.bidRequests,(function(t){return t.adUnitCode===e.impid&&(!t.params.zoneId||parseInt(t.params.zoneId)===e.zoneid)})),i=t.bidId,r={requestId:i,cpm:e.cpm,currency:e.currency,netRevenue:!0,ttl:e.ttl||60,creativeId:i,width:e.width,height:e.height};e.native?r.ad=createNativeAd(i,e.native,t.params.nativeCallback):r.ad=e.creative,s.push(r)})),s},onTimeout:function(t){publisherTagAvailable()&&Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleBidTimeout()}};function publisherTagAvailable(){return"undefined"!=typeof Criteo&&Criteo.PubTag&&Criteo.PubTag.Adapters&&Criteo.PubTag.Adapters.Prebid}function buildContext(t){var e=utils.getTopWindowUrl(),i=(0,_url.parse)(e).search,r={url:e,debug:"1"===i.pbt_debug,noLog:"1"===i.pbt_nolog,integrationMode:void 0};return t.forEach((function(t){t.params.integrationMode&&(r.integrationMode=t.params.integrationMode)})),r}function buildCdbUrl(t){var e=CDB_ENDPOINT;return e+="?profileId="+PROFILE_ID_INLINE,e+="&av="+String(ADAPTER_VERSION),e+="&wv="+encodeURIComponent("1.30.0-pre"),e+="&cb="+String(Math.floor(99999999999*Math.random())),t.integrationMode in INTEGRATION_MODES&&(e+="&im="+INTEGRATION_MODES[t.integrationMode]),t.debug&&(e+="&debug=1"),t.noLog&&(e+="&nolog=1"),e}function buildCdbRequest(t,e,i){var r=void 0,n={publisher:{url:t.url},slots:e.map((function(t){r=t.params.networkId||r;var e={impid:t.adUnitCode,transactionid:t.transactionId,auctionId:t.auctionId,sizes:t.sizes.map((function(t){return t[0]+"x"+t[1]}))};return t.params.zoneId&&(e.zoneid=t.params.zoneId),t.params.publisherSubId&&(e.publishersubid=t.params.publisherSubId),t.params.nativeCallback&&(e.native=!0),e}))};return r&&(n.publisher.networkid=r),i&&i.gdprConsent&&(n.gdprConsent={},void 0!==i.gdprConsent.gdprApplies&&(n.gdprConsent.gdprApplies=!!i.gdprConsent.gdprApplies),i.gdprConsent.vendorData&&i.gdprConsent.vendorData.vendorConsents&&void 0!==i.gdprConsent.vendorData.vendorConsents[CRITEO_VENDOR_ID.toString(10)]&&(n.gdprConsent.consentGiven=!!i.gdprConsent.vendorData.vendorConsents[CRITEO_VENDOR_ID.toString(10)]),void 0!==i.gdprConsent.consentString&&(n.gdprConsent.consentData=i.gdprConsent.consentString)),n}function createNativeAd(t,e,i){return window.criteo_prebid_native_slots=window.criteo_prebid_native_slots||{},window.criteo_prebid_native_slots[t]={callback:i,payload:e},'<script type="text/javascript">\n    var win = window;\n    for (var i = 0; i < 10; ++i) {\n      win = win.parent;\n      if (win.criteo_prebid_native_slots) {\n        var responseSlot = win.criteo_prebid_native_slots["'+t+'"];\n        responseSlot.callback(responseSlot.payload);\n        break;\n      }\n    }\n  <\/script>'}function cryptoVerify(t,e,i){var r=new _jsencrypt2.default;return r.setPublicKey(t),r.verify(i,e,_sha2.default)}function validateFastBid(t){var e=t.indexOf("\n"),i=t.substr(0,e).trim();if("// Hash: "!==i.substr(0,9))return utils.logWarn("No hash found in FastBid"),!1;var r=i.substr(9),n=t.substr(e+1);try{return cryptoVerify(FAST_BID_PUBKEY,r,n)}catch(t){return void utils.logWarn("Failed to verify Criteo FastBid")}}function tryGetCriteoFastBid(){try{var fastBid=localStorage.getItem("criteo_fast_bid");null!==fastBid&&(!1===validateFastBid(fastBid)?(utils.logWarn("Invalid Criteo FastBid found"),localStorage.removeItem("criteo_fast_bid")):(utils.logInfo("Using Criteo FastBid"),eval(fastBid)))}catch(t){}}(0,_bidderFactory.registerBidder)(spec)},215:function(t,e,i){(function(t){"use strict";var e="0123456789abcdefghijklmnopqrstuvwxyz";function h(t){return e.charAt(t)}function i(t,e){return t&e}function u(t,e){return t|e}function r(t,e){return t^e}function n(t,e){return t&~e}function s(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function o(t){for(var e=0;0!=t;)t&=t-1,++e;return e}var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function c(t){var e,i,r="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),r+=a.charAt(i>>6)+a.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),r+=a.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),r+=a.charAt(i>>2)+a.charAt((3&i)<<4));0<(3&r.length);)r+="=";return r}function f(t){var e,i="",r=0,n=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e){var s=a.indexOf(t.charAt(e));s<0||(0==r?(i+=h(s>>2),n=3&s,r=1):1==r?(i+=h(n<<2|s>>4),n=15&s,r=2):2==r?(i+=h(n),i+=h(s>>2),n=3&s,r=3):(i+=h(n<<2|s>>4),i+=h(15&s),r=0))}return 1==r&&(i+=h(n<<2)),i}var l,p=function(t,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};var d,g=function(t){var e;if(void 0===l){var i="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(l={},e=0;e<16;++e)l[i.charAt(e)]=e;for(i=i.toLowerCase(),e=10;e<16;++e)l[i.charAt(e)]=e;for(e=0;e<r.length;++e)l[r.charAt(e)]=-1}var n=[],s=0,o=0;for(e=0;e<t.length;++e){var a=t.charAt(e);if("="==a)break;if(-1!=(a=l[a])){if(void 0===a)throw new Error("Illegal character at offset "+e);s|=a,2<=++o?(n[n.length]=s,o=s=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return n},v={decode:function(t){var e;if(void 0===d){var i="= \f\n\r\t \u2028\u2029";for(d=Object.create(null),e=0;e<64;++e)d["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)]=e;for(e=0;e<i.length;++e)d[i.charAt(e)]=-1}var r=[],n=0,s=0;for(e=0;e<t.length;++e){var o=t.charAt(e);if("="==o)break;if(-1!=(o=d[o])){if(void 0===o)throw new Error("Illegal character at offset "+e);n|=o,4<=++s?(r[r.length]=n>>16,r[r.length]=n>>8&255,r[r.length]=255&n,s=n=0):n<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=n>>10;break;case 3:r[r.length]=n>>16,r[r.length]=n>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=v.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return v.decode(t)}},m=1e13,y=(function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var i,r,n=this.buf,s=n.length;for(i=0;i<s;++i)(r=n[i]*t+e)<m?e=0:r-=(e=0|r/m)*m,n[i]=r;0<e&&(n[i]=e)},t.prototype.sub=function(t){var e,i,r=this.buf,n=r.length;for(e=0;e<n;++e)(i=r[e]-t)<0?(i+=m,t=1):t=0,r[e]=i;for(;0===r[r.length-1];)r.pop()},t.prototype.toString=function(t){if(10!=(t||10))throw new Error("only base 10 is supported");for(var e=this.buf,i=e[e.length-1].toString(),r=e.length-2;0<=r;--r)i+=(m+e[r]).toString().substring(1);return i},t.prototype.valueOf=function(){for(var t=this.buf,e=0,i=t.length-1;0<=i;--i)e=e*m+t[i];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t})(),b="…",T=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,S=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function E(t,e){return t.length>e&&(t=t.substring(0,e)+b),t}var w,D=(function(){function i(t,e){this.hexDigits="0123456789ABCDEF",t instanceof i?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=e)}return i.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset "+t+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},i.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},i.prototype.hexDump=function(t,e,i){for(var r="",n=t;n<e;++n)if(r+=this.hexByte(this.get(n)),!0!==i)switch(15&n){case 7:r+="  ";break;case 15:r+="\n";break;default:r+=" "}return r},i.prototype.isASCII=function(t,e){for(var i=t;i<e;++i){var r=this.get(i);if(r<32||176<r)return!1}return!0},i.prototype.parseStringISO=function(t,e){for(var i="",r=t;r<e;++r)i+=String.fromCharCode(this.get(r));return i},i.prototype.parseStringUTF=function(t,e){for(var i="",r=t;r<e;){var n=this.get(r++);i+=n<128?String.fromCharCode(n):191<n&&n<224?String.fromCharCode((31&n)<<6|63&this.get(r++)):String.fromCharCode((15&n)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return i},i.prototype.parseStringBMP=function(t,e){for(var i,r,n="",s=t;s<e;)i=this.get(s++),r=this.get(s++),n+=String.fromCharCode(i<<8|r);return n},i.prototype.parseTime=function(t,e,i){var r=this.parseStringISO(t,e),n=(i?T:S).exec(r);return n?(i&&(n[1]=+n[1],n[1]+=+n[1]<70?2e3:1900),r=n[1]+"-"+n[2]+"-"+n[3]+" "+n[4],n[5]&&(r+=":"+n[5],n[6]&&(r+=":"+n[6],n[7]&&(r+="."+n[7]))),n[8]&&(r+=" UTC","Z"!=n[8]&&(r+=n[8],n[9]&&(r+=":"+n[9]))),r):"Unrecognized time: "+r},i.prototype.parseInteger=function(t,e){for(var i,r=this.get(t),n=127<r,s=n?255:0,o="";r==s&&++t<e;)r=this.get(t);if(0===(i=e-t))return n?-1:0;if(4<i){for(o=r,i<<=3;0==(128&(+o^s));)o=+o<<1,--i;o="("+i+" bit)\n"}n&&(r-=256);for(var a=new y(r),h=t+1;h<e;++h)a.mulAdd(256,this.get(h));return o+a.toString()},i.prototype.parseBitString=function(t,e,i){for(var r=this.get(t),n="("+((e-t-1<<3)-r)+" bit)\n",s="",o=t+1;o<e;++o){for(var a=this.get(o),h=o==e-1?r:0,u=7;h<=u;--u)s+=a>>u&1?"1":"0";if(s.length>i)return n+E(s,i)}return n+s},i.prototype.parseOctetString=function(t,e,i){if(this.isASCII(t,e))return E(this.parseStringISO(t,e),i);var r=e-t,n="("+r+" byte)\n";(i/=2)<r&&(e=t+i);for(var s=t;s<e;++s)n+=this.hexByte(this.get(s));return i<r&&(n+=b),n},i.prototype.parseOID=function(t,e,i){for(var r="",n=new y,s=0,o=t;o<e;++o){var a=this.get(o);if(n.mulAdd(128,127&a),s+=7,!(128&a)){if(""===r)if((n=n.simplify())instanceof y)n.sub(80),r="2."+n.toString();else{var h=n<80?n<40?0:1:2;r=h+"."+(n-40*h)}else r+="."+n.toString();if(r.length>i)return E(r,i);n=new y,s=0}}return 0<s&&(r+=".incomplete"),r},i})(),B=(function(){function c(t,e,i,r,n){if(!(r instanceof R))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=i,this.tag=r,this.sub=n}return c.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},c.prototype.content=function(t){if(void 0===this.tag)return null;void 0===t&&(t=1/0);var e=this.posContent(),i=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+i,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+i);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+i,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+i,t);case 6:return this.stream.parseOID(e,e+i,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return E(this.stream.parseStringUTF(e,e+i),t);case 18:case 19:case 20:case 21:case 22:case 26:return E(this.stream.parseStringISO(e,e+i),t);case 30:return E(this.stream.parseStringBMP(e,e+i),t);case 23:case 24:return this.stream.parseTime(e,e+i,23==this.tag.tagNumber)}return null},c.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},c.prototype.toPrettyString=function(t){void 0===t&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(0<=this.length&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+="  ";for(var i=0,r=this.sub.length;i<r;++i)e+=this.sub[i].toPrettyString(t)}return e},c.prototype.posStart=function(){return this.stream.pos},c.prototype.posContent=function(){return this.stream.pos+this.header},c.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},c.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},c.decodeLength=function(t){var e=t.get(),i=127&e;if(i==e)return i;if(6<i)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0===i)return null;for(var r=e=0;r<i;++r)e=256*e+t.get();return e},c.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,i=2*this.length;return t.substr(e,i)},c.decode=function(t){var r;r=t instanceof D?t:new D(t,0);var e=new D(r),i=new R(r),n=c.decodeLength(r),s=r.pos,o=s-e.pos,a=null,h=function(){var t=[];if(null!==n){for(var e=s+n;r.pos<e;)t[t.length]=c.decode(r);if(r.pos!=e)throw new Error("Content size is not correct for container starting at offset "+s)}else try{for(;;){var i=c.decode(r);if(i.tag.isEOC())break;t[t.length]=i}n=s-r.pos}catch(t){throw new Error("Exception while decoding undefined length content: "+t)}return t};if(i.tagConstructed)a=h();else if(i.isUniversal()&&(3==i.tagNumber||4==i.tagNumber))try{if(3==i.tagNumber&&0!=r.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");a=h();for(var u=0;u<a.length;++u)if(a[u].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(t){a=null}if(null===a){if(null===n)throw new Error("We can't skip over an invalid tag with undefined length at offset "+s);r.pos=s+Math.abs(n)}return new c(e,o,n,i,a)},c})(),R=(function(){function t(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=0!=(32&e),this.tagNumber=31&e,31==this.tagNumber){for(var i=new y;e=t.get(),i.mulAdd(128,127&e),128&e;);this.tagNumber=i.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t})(),x=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],I=(1<<26)/x[x.length-1],A=(function(){function b(t,e,i){null!=t&&("number"==typeof t?this.fromNumber(t,e,i):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}return b.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var i,r=(1<<e)-1,n=!1,s="",o=this.t,a=this.DB-o*this.DB%e;if(0<o--)for(a<this.DB&&0<(i=this[o]>>a)&&(n=!0,s=h(i));0<=o;)a<e?(i=(this[o]&(1<<a)-1)<<e-a,i|=this[--o]>>(a+=this.DB-e)):(i=this[o]>>(a-=e)&r,a<=0&&(a+=this.DB,--o)),0<i&&(n=!0),n&&(s+=h(i));return n?s:"0"},b.prototype.negate=function(){var t=P();return b.ZERO.subTo(this,t),t},b.prototype.abs=function(){return this.s<0?this.negate():this},b.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(0!=(e=i-t.t))return this.s<0?-e:e;for(;0<=--i;)if(0!=(e=this[i]-t[i]))return e;return 0},b.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+U(this[this.t-1]^this.s&this.DM)},b.prototype.mod=function(t){var e=P();return this.abs().divRemTo(t,null,e),this.s<0&&0<e.compareTo(b.ZERO)&&t.subTo(e,e),e},b.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new O(e):new V(e),this.exp(t,i)},b.prototype.clone=function(){var t=P();return this.copyTo(t),t},b.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},b.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},b.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},b.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},b.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var i,r=this.DB-t*this.DB%8,n=0;if(0<t--)for(r<this.DB&&(i=this[t]>>r)!=(this.s&this.DM)>>r&&(e[n++]=i|this.s<<this.DB-r);0<=t;)r<8?(i=(this[t]&(1<<r)-1)<<8-r,i|=this[--t]>>(r+=this.DB-8)):(i=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==n&&(128&this.s)!=(128&i)&&++n,(0<n||i!=this.s)&&(e[n++]=i);return e},b.prototype.equals=function(t){return 0==this.compareTo(t)},b.prototype.min=function(t){return this.compareTo(t)<0?this:t},b.prototype.max=function(t){return 0<this.compareTo(t)?this:t},b.prototype.and=function(t){var e=P();return this.bitwiseTo(t,i,e),e},b.prototype.or=function(t){var e=P();return this.bitwiseTo(t,u,e),e},b.prototype.xor=function(t){var e=P();return this.bitwiseTo(t,r,e),e},b.prototype.andNot=function(t){var e=P();return this.bitwiseTo(t,n,e),e},b.prototype.not=function(){for(var t=P(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},b.prototype.shiftLeft=function(t){var e=P();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},b.prototype.shiftRight=function(t){var e=P();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},b.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+s(this[t]);return this.s<0?this.t*this.DB:-1},b.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,i=0;i<this.t;++i)t+=o(this[i]^e);return t},b.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},b.prototype.setBit=function(t){return this.changeBit(t,u)},b.prototype.clearBit=function(t){return this.changeBit(t,n)},b.prototype.flipBit=function(t){return this.changeBit(t,r)},b.prototype.add=function(t){var e=P();return this.addTo(t,e),e},b.prototype.subtract=function(t){var e=P();return this.subTo(t,e),e},b.prototype.multiply=function(t){var e=P();return this.multiplyTo(t,e),e},b.prototype.divide=function(t){var e=P();return this.divRemTo(t,e,null),e},b.prototype.remainder=function(t){var e=P();return this.divRemTo(t,null,e),e},b.prototype.divideAndRemainder=function(t){var e=P(),i=P();return this.divRemTo(t,e,i),[e,i]},b.prototype.modPow=function(t,e){var i,r,n=t.bitLength(),s=j(1);if(n<=0)return s;i=n<18?1:n<48?3:n<144?4:n<768?5:6,r=n<8?new O(e):e.isEven()?new N(e):new V(e);var o=[],a=3,h=i-1,u=(1<<i)-1;if(o[1]=r.convert(this),1<i){var c=P();for(r.sqrTo(o[1],c);a<=u;)o[a]=P(),r.mulTo(c,o[a-2],o[a]),a+=2}var f,l,p=t.t-1,d=!0,g=P();for(n=U(t[p])-1;0<=p;){for(h<=n?f=t[p]>>n-h&u:(f=(t[p]&(1<<n+1)-1)<<h-n,0<p&&(f|=t[p-1]>>this.DB+n-h)),a=i;0==(1&f);)f>>=1,--a;if((n-=a)<0&&(n+=this.DB,--p),d)o[f].copyTo(s),d=!1;else{for(;1<a;)r.sqrTo(s,g),r.sqrTo(g,s),a-=2;0<a?r.sqrTo(s,g):(l=s,s=g,g=l),r.mulTo(g,o[f],s)}for(;0<=p&&0==(t[p]&1<<n);)r.sqrTo(s,g),l=s,s=g,g=l,--n<0&&(n=this.DB-1,--p)}return r.revert(s)},b.prototype.modInverse=function(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return b.ZERO;for(var i=t.clone(),r=this.clone(),n=j(1),s=j(0),o=j(0),a=j(1);0!=i.signum();){for(;i.isEven();)i.rShiftTo(1,i),e?(n.isEven()&&s.isEven()||(n.addTo(this,n),s.subTo(t,s)),n.rShiftTo(1,n)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);for(;r.isEven();)r.rShiftTo(1,r),e?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);0<=i.compareTo(r)?(i.subTo(r,i),e&&n.subTo(o,n),s.subTo(a,s)):(r.subTo(i,r),e&&o.subTo(n,o),a.subTo(s,a))}return 0!=r.compareTo(b.ONE)?b.ZERO:0<=a.compareTo(t)?a.subtract(t):a.signum()<0?(a.addTo(t,a),a.signum()<0?a.add(t):a):a},b.prototype.pow=function(t){return this.exp(t,new _)},b.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(e.compareTo(i)<0){var r=e;e=i,i=r}var n=e.getLowestSetBit(),s=i.getLowestSetBit();if(s<0)return e;for(n<s&&(s=n),0<s&&(e.rShiftTo(s,e),i.rShiftTo(s,i));0<e.signum();)0<(n=e.getLowestSetBit())&&e.rShiftTo(n,e),0<(n=i.getLowestSetBit())&&i.rShiftTo(n,i),0<=e.compareTo(i)?(e.subTo(i,e),e.rShiftTo(1,e)):(i.subTo(e,i),i.rShiftTo(1,i));return 0<s&&i.lShiftTo(s,i),i},b.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=x[x.length-1]){for(e=0;e<x.length;++e)if(i[0]==x[e])return!0;return!1}if(i.isEven())return!1;for(e=1;e<x.length;){for(var r=x[e],n=e+1;n<x.length&&r<I;)r*=x[n++];for(r=i.modInt(r);e<n;)if(r%x[e++]==0)return!1}return i.millerRabin(t)},b.prototype.copyTo=function(t){for(var e=this.t-1;0<=e;--e)t[e]=this[e];t.t=this.t,t.s=this.s},b.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,0<t?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},b.prototype.fromString=function(t,e){var i;if(16==e)i=4;else if(8==e)i=3;else if(256==e)i=8;else if(2==e)i=1;else if(32==e)i=5;else{if(4!=e)return void this.fromRadix(t,e);i=2}this.t=0,this.s=0;for(var r=t.length,n=!1,s=0;0<=--r;){var o=8==i?255&+t[r]:L(t,r);o<0?"-"==t.charAt(r)&&(n=!0):(n=!1,0==s?this[this.t++]=o:s+i>this.DB?(this[this.t-1]|=(o&(1<<this.DB-s)-1)<<s,this[this.t++]=o>>this.DB-s):this[this.t-1]|=o<<s,(s+=i)>=this.DB&&(s-=this.DB))}8==i&&0!=(128&+t[0])&&(this.s=-1,0<s&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),n&&b.ZERO.subTo(this,this)},b.prototype.clamp=function(){for(var t=this.s&this.DM;0<this.t&&this[this.t-1]==t;)--this.t},b.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;0<=i;--i)e[i+t]=this[i];for(i=t-1;0<=i;--i)e[i]=0;e.t=this.t+t,e.s=this.s},b.prototype.drShiftTo=function(t,e){for(var i=t;i<this.t;++i)e[i-t]=this[i];e.t=Math.max(this.t-t,0),e.s=this.s},b.prototype.lShiftTo=function(t,e){for(var i=t%this.DB,r=this.DB-i,n=(1<<r)-1,s=Math.floor(t/this.DB),o=this.s<<i&this.DM,a=this.t-1;0<=a;--a)e[a+s+1]=this[a]>>r|o,o=(this[a]&n)<<i;for(a=s-1;0<=a;--a)e[a]=0;e[s]=o,e.t=this.t+s+1,e.s=this.s,e.clamp()},b.prototype.rShiftTo=function(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)e.t=0;else{var r=t%this.DB,n=this.DB-r,s=(1<<r)-1;e[0]=this[i]>>r;for(var o=i+1;o<this.t;++o)e[o-i-1]|=(this[o]&s)<<n,e[o-i]=this[o]>>r;0<r&&(e[this.t-i-1]|=(this.s&s)<<n),e.t=this.t-i,e.clamp()}},b.prototype.subTo=function(t,e){for(var i=0,r=0,n=Math.min(t.t,this.t);i<n;)r+=this[i]-t[i],e[i++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r-=t.s;i<this.t;)r+=this[i],e[i++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;i<t.t;)r-=t[i],e[i++]=r&this.DM,r>>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[i++]=this.DV+r:0<r&&(e[i++]=r),e.t=i,e.clamp()},b.prototype.multiplyTo=function(t,e){var i=this.abs(),r=t.abs(),n=i.t;for(e.t=n+r.t;0<=--n;)e[n]=0;for(n=0;n<r.t;++n)e[n+i.t]=i.am(0,r[n],e,n,0,i.t);e.s=0,e.clamp(),this.s!=t.s&&b.ZERO.subTo(e,e)},b.prototype.squareTo=function(t){for(var e=this.abs(),i=t.t=2*e.t;0<=--i;)t[i]=0;for(i=0;i<e.t-1;++i){var r=e.am(i,e[i],t,2*i,0,1);(t[i+e.t]+=e.am(i+1,2*e[i],t,2*i+1,r,e.t-i-1))>=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}0<t.t&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},b.prototype.divRemTo=function(t,e,i){var r=t.abs();if(!(r.t<=0)){var n=this.abs();if(n.t<r.t)return null!=e&&e.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=P());var s=P(),o=this.s,a=t.s,h=this.DB-U(r[r.t-1]);0<h?(r.lShiftTo(h,s),n.lShiftTo(h,i)):(r.copyTo(s),n.copyTo(i));var u=s.t,c=s[u-1];if(0!=c){var f=c*(1<<this.F1)+(1<u?s[u-2]>>this.F2:0),l=this.FV/f,p=(1<<this.F1)/f,d=1<<this.F2,g=i.t,v=g-u,m=null==e?P():e;for(s.dlShiftTo(v,m),0<=i.compareTo(m)&&(i[i.t++]=1,i.subTo(m,i)),b.ONE.dlShiftTo(u,m),m.subTo(s,s);s.t<u;)s[s.t++]=0;for(;0<=--v;){var y=i[--g]==c?this.DM:Math.floor(i[g]*l+(i[g-1]+d)*p);if((i[g]+=s.am(0,y,i,v,0,u))<y)for(s.dlShiftTo(v,m),i.subTo(m,i);i[g]<--y;)i.subTo(m,i)}null!=e&&(i.drShiftTo(u,e),o!=a&&b.ZERO.subTo(e,e)),i.t=u,i.clamp(),0<h&&i.rShiftTo(h,i),o<0&&b.ZERO.subTo(i,i)}}},b.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return 0<(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)?this.DV-e:-e},b.prototype.isEven=function(){return 0==(0<this.t?1&this[0]:this.s)},b.prototype.exp=function(t,e){if(4294967295<t||t<1)return b.ONE;var i=P(),r=P(),n=e.convert(this),s=U(t)-1;for(n.copyTo(i);0<=--s;)if(e.sqrTo(i,r),0<(t&1<<s))e.mulTo(r,n,i);else{var o=i;i=r,r=o}return e.revert(i)},b.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},b.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||36<t)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),r=j(i),n=P(),s=P(),o="";for(this.divRemTo(r,n,s);0<n.signum();)o=(i+s.intValue()).toString(t).substr(1)+o,n.divRemTo(r,n,s);return s.intValue().toString(t)+o},b.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var i=this.chunkSize(e),r=Math.pow(e,i),n=!1,s=0,o=0,a=0;a<t.length;++a){var h=L(t,a);h<0?"-"==t.charAt(a)&&0==this.signum()&&(n=!0):(o=e*o+h,++s>=i&&(this.dMultiply(r),this.dAddOffset(o,0),o=s=0))}0<s&&(this.dMultiply(Math.pow(e,s)),this.dAddOffset(o,0)),n&&b.ZERO.subTo(this,this)},b.prototype.fromNumber=function(t,e,i){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(b.ONE.shiftLeft(t-1),u,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(b.ONE.shiftLeft(t-1),this);else{var r=[],n=7&t;r.length=1+(t>>3),e.nextBytes(r),0<n?r[0]&=(1<<n)-1:r[0]=0,this.fromString(r,256)}},b.prototype.bitwiseTo=function(t,e,i){var r,n,s=Math.min(t.t,this.t);for(r=0;r<s;++r)i[r]=e(this[r],t[r]);if(t.t<this.t){for(n=t.s&this.DM,r=s;r<this.t;++r)i[r]=e(this[r],n);i.t=this.t}else{for(n=this.s&this.DM,r=s;r<t.t;++r)i[r]=e(n,t[r]);i.t=t.t}i.s=e(this.s,t.s),i.clamp()},b.prototype.changeBit=function(t,e){var i=b.ONE.shiftLeft(t);return this.bitwiseTo(i,e,i),i},b.prototype.addTo=function(t,e){for(var i=0,r=0,n=Math.min(t.t,this.t);i<n;)r+=this[i]+t[i],e[i++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r+=t.s;i<this.t;)r+=this[i],e[i++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;i<t.t;)r+=t[i],e[i++]=r&this.DM,r>>=this.DB;r+=t.s}e.s=r<0?-1:0,0<r?e[i++]=r:r<-1&&(e[i++]=this.DV+r),e.t=i,e.clamp()},b.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},b.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},b.prototype.multiplyLowerTo=function(t,e,i){var r=Math.min(this.t+t.t,e);for(i.s=0,i.t=r;0<r;)i[--r]=0;for(var n=i.t-this.t;r<n;++r)i[r+this.t]=this.am(0,t[r],i,r,0,this.t);for(n=Math.min(t.t,e);r<n;++r)this.am(0,t[r],i,r,0,e-r);i.clamp()},b.prototype.multiplyUpperTo=function(t,e,i){--e;var r=i.t=this.t+t.t-e;for(i.s=0;0<=--r;)i[r]=0;for(r=Math.max(e-this.t,0);r<t.t;++r)i[this.t+r-e]=this.am(e-r,t[r],i,0,0,this.t+r-e);i.clamp(),i.drShiftTo(1,i)},b.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,i=this.s<0?t-1:0;if(0<this.t)if(0==e)i=this[0]%t;else for(var r=this.t-1;0<=r;--r)i=(e*i+this[r])%t;return i},b.prototype.millerRabin=function(t){var e=this.subtract(b.ONE),i=e.getLowestSetBit();if(i<=0)return!1;var r=e.shiftRight(i);x.length<(t=t+1>>1)&&(t=x.length);for(var n=P(),s=0;s<t;++s){n.fromInt(x[Math.floor(Math.random()*x.length)]);var o=n.modPow(r,this);if(0!=o.compareTo(b.ONE)&&0!=o.compareTo(e)){for(var a=1;a++<i&&0!=o.compareTo(e);)if(0==(o=o.modPowInt(2,this)).compareTo(b.ONE))return!1;if(0!=o.compareTo(e))return!1}}return!0},b.prototype.square=function(){var t=P();return this.squareTo(t),t},b.prototype.gcda=function(t,e){var i=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(i.compareTo(r)<0){var n=i;i=r,r=n}var s=i.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)e(i);else{s<o&&(o=s),0<o&&(i.rShiftTo(o,i),r.rShiftTo(o,r));var a=function(){0<(s=i.getLowestSetBit())&&i.rShiftTo(s,i),0<(s=r.getLowestSetBit())&&r.rShiftTo(s,r),0<=i.compareTo(r)?(i.subTo(r,i),i.rShiftTo(1,i)):(r.subTo(i,r),r.rShiftTo(1,r)),0<i.signum()?setTimeout(a,0):(0<o&&r.lShiftTo(o,r),setTimeout((function(){e(r)}),0))};setTimeout(a,10)}},b.prototype.fromNumberAsync=function(t,e,i,r){if("number"==typeof e)if(t<2)this.fromInt(1);else{this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(b.ONE.shiftLeft(t-1),u,this),this.isEven()&&this.dAddOffset(1,0);var n=this,s=function(){n.dAddOffset(2,0),n.bitLength()>t&&n.subTo(b.ONE.shiftLeft(t-1),n),n.isProbablePrime(e)?setTimeout((function(){r()}),0):setTimeout(s,0)};setTimeout(s,0)}else{var o=[],a=7&t;o.length=1+(t>>3),e.nextBytes(o),0<a?o[0]&=(1<<a)-1:o[0]=0,this.fromString(o,256)}},b})(),_=(function(){function t(){}return t.prototype.convert=function(t){return t},t.prototype.revert=function(t){return t},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i)},t.prototype.sqrTo=function(t,e){t.squareTo(e)},t})(),O=(function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||0<=t.compareTo(this.m)?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t})(),V=(function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=P();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&0<e.compareTo(A.ZERO)&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=P();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var i=32767&t[e],r=i*this.mpl+((i*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),0<=t.compareTo(this.m)&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t})(),N=(function(){function t(t){this.m=t,this.r2=P(),this.q3=P(),A.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=P();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);0<=t.compareTo(this.m);)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t})();function P(){return new A(null)}function C(t,e){return new A(t,e)}"Microsoft Internet Explorer"==navigator.appName?(A.prototype.am=function(t,e,i,r,n,s){for(var o=32767&e,a=e>>15;0<=--s;){var h=32767&this[t],u=this[t++]>>15,c=a*h+u*o;n=((h=o*h+((32767&c)<<15)+i[r]+(1073741823&n))>>>30)+(c>>>15)+a*u+(n>>>30),i[r++]=1073741823&h}return n},w=30):"Netscape"!=navigator.appName?(A.prototype.am=function(t,e,i,r,n,s){for(;0<=--s;){var o=e*this[t++]+i[r]+n;n=Math.floor(o/67108864),i[r++]=67108863&o}return n},w=26):(A.prototype.am=function(t,e,i,r,n,s){for(var o=16383&e,a=e>>14;0<=--s;){var h=16383&this[t],u=this[t++]>>14,c=a*h+u*o;n=((h=o*h+((16383&c)<<14)+i[r]+n)>>28)+(c>>14)+a*u,i[r++]=268435455&h}return n},w=28),A.prototype.DB=w,A.prototype.DM=(1<<w)-1,A.prototype.DV=1<<w;A.prototype.FV=Math.pow(2,52),A.prototype.F1=52-w,A.prototype.F2=2*w-52;var M,q,H=[];for(M="0".charCodeAt(0),q=0;q<=9;++q)H[M++]=q;for(M="a".charCodeAt(0),q=10;q<36;++q)H[M++]=q;for(M="A".charCodeAt(0),q=10;q<36;++q)H[M++]=q;function L(t,e){var i=H[t.charCodeAt(e)];return null==i?-1:i}function j(t){var e=P();return e.fromInt(t),e}function U(t){var e,i=1;return 0!=(e=t>>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}A.ZERO=j(0),A.ONE=j(1);var F=(function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,i,r;for(e=0;e<256;++e)this.S[e]=e;for(e=i=0;e<256;++e)i=i+this.S[e]+t[e%t.length]&255,r=this.S[e],this.S[e]=this.S[i],this.S[i]=r;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t})();var k,K,z=256,G=null;if(null==G){G=[];var Z=void(K=0);if(window.crypto&&window.crypto.getRandomValues){var Y=new Uint32Array(256);for(window.crypto.getRandomValues(Y),Z=0;Z<Y.length;++Z)G[K++]=255&Y[Z]}var W=function(t){if(this.count=this.count||0,256<=this.count||z<=K)window.removeEventListener?window.removeEventListener("mousemove",W,!1):window.detachEvent&&window.detachEvent("onmousemove",W);else try{var e=t.x+t.y;G[K++]=255&e,this.count+=1}catch(t){}};window.addEventListener?window.addEventListener("mousemove",W,!1):window.attachEvent&&window.attachEvent("onmousemove",W)}function $(){if(null==k){for(k=new F;K<z;){var t=Math.floor(65536*Math.random());G[K++]=255&t}for(k.init(G),K=0;K<G.length;++K)G[K]=0;K=0}return k.next()}var Q=(function(){function t(){}return t.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=$()},t})();var J=(function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),i=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(i)<0;)e=e.add(this.p);return e.subtract(i).multiply(this.coeff).mod(this.p).multiply(this.q).add(i)},t.prototype.setPublic=function(t,e){null!=t&&null!=e&&0<t.length&&0<e.length?(this.n=C(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(t){var e=(function(t,e){if(e<t.length+11)return console.error("Message too long for RSA"),null;for(var i=[],r=t.length-1;0<=r&&0<e;){var n=t.charCodeAt(r--);n<128?i[--e]=n:127<n&&n<2048?(i[--e]=63&n|128,i[--e]=n>>6|192):(i[--e]=63&n|128,i[--e]=n>>6&63|128,i[--e]=n>>12|224)}i[--e]=0;for(var s=new Q,o=[];2<e;){for(o[0]=0;0==o[0];)s.nextBytes(o);i[--e]=o[0]}return i[--e]=2,i[--e]=0,new A(i)})(t,this.n.bitLength()+7>>3);if(null==e)return null;var i=this.doPublic(e);if(null==i)return null;var r=i.toString(16);return 0==(1&r.length)?r:"0"+r},t.prototype.setPrivate=function(t,e,i){null!=t&&null!=e&&0<t.length&&0<e.length?(this.n=C(t,16),this.e=parseInt(e,16),this.d=C(i,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(t,e,i,r,n,s,o,a){null!=t&&null!=e&&0<t.length&&0<e.length?(this.n=C(t,16),this.e=parseInt(e,16),this.d=C(i,16),this.p=C(r,16),this.q=C(n,16),this.dmp1=C(s,16),this.dmq1=C(o,16),this.coeff=C(a,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(t,e){var i=new Q,r=t>>1;this.e=parseInt(e,16);for(var n=new A(e,16);;){for(;this.p=new A(t-r,1,i),0!=this.p.subtract(A.ONE).gcd(n).compareTo(A.ONE)||!this.p.isProbablePrime(10););for(;this.q=new A(r,1,i),0!=this.q.subtract(A.ONE).gcd(n).compareTo(A.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var o=this.p.subtract(A.ONE),a=this.q.subtract(A.ONE),h=o.multiply(a);if(0==h.gcd(n).compareTo(A.ONE)){this.n=this.p.multiply(this.q),this.d=n.modInverse(h),this.dmp1=this.d.mod(o),this.dmq1=this.d.mod(a),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=C(t,16),i=this.doPrivate(e);return null==i?null:(function(t,e){var i=t.toByteArray(),r=0;for(;r<i.length&&0==i[r];)++r;if(i.length-r!=e-1||2!=i[r])return null;++r;for(;0!=i[r];)if(++r>=i.length)return null;var n="";for(;++r<i.length;){var s=255&i[r];s<128?n+=String.fromCharCode(s):191<s&&s<224?(n+=String.fromCharCode((31&s)<<6|63&i[r+1]),++r):(n+=String.fromCharCode((15&s)<<12|(63&i[r+1])<<6|63&i[r+2]),r+=2)}return n})(i,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(t,e,n){var s=new Q,o=t>>1;this.e=parseInt(e,16);var a=new A(e,16),h=this,u=function(){var e=function(){if(h.p.compareTo(h.q)<=0){var t=h.p;h.p=h.q,h.q=t}var e=h.p.subtract(A.ONE),i=h.q.subtract(A.ONE),r=e.multiply(i);0==r.gcd(a).compareTo(A.ONE)?(h.n=h.p.multiply(h.q),h.d=a.modInverse(r),h.dmp1=h.d.mod(e),h.dmq1=h.d.mod(i),h.coeff=h.q.modInverse(h.p),setTimeout((function(){n()}),0)):setTimeout(u,0)},i=function(){h.q=P(),h.q.fromNumberAsync(o,1,s,(function(){h.q.subtract(A.ONE).gcda(a,(function(t){0==t.compareTo(A.ONE)&&h.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(i,0)}))}))},r=function(){h.p=P(),h.p.fromNumberAsync(t-o,1,s,(function(){h.p.subtract(A.ONE).gcda(a,(function(t){0==t.compareTo(A.ONE)&&h.p.isProbablePrime(10)?setTimeout(i,0):setTimeout(r,0)}))}))};setTimeout(r,0)};setTimeout(u,0)},t.prototype.sign=function(t,e,i){var r=(function(t,e){if(e<t.length+22)return console.error("Message too long for RSA"),null;for(var i=e-t.length-6,r="",n=0;n<i;n+=2)r+="ff";return C("0001"+r+"00"+t,16)})((X[i]||"")+e(t).toString(),this.n.bitLength()/4);if(null==r)return null;var n=this.doPrivate(r);if(null==n)return null;var s=n.toString(16);return 0==(1&s.length)?s:"0"+s},t.prototype.verify=function(t,e,i){var r=C(e,16),n=this.doPublic(r);return null==n?null:(function(t){for(var e in X)if(X.hasOwnProperty(e)){var i=X[e],r=i.length;if(t.substr(0,r)==i)return t.substr(r)}return t})(n.toString(16).replace(/^1f+00/,""))==i(t).toString()},t})();var X={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};var tt={};tt.lang={extend:function(t,e,i){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=e.prototype,t.prototype=new r,(t.prototype.constructor=t).superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),i){var n;for(n in i)t.prototype[n]=i[n];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(s=function(t,e){for(n=0;n<o.length;n+=1){var i=o[n],r=e[i];"function"==typeof r&&r!=Object.prototype[i]&&(t[i]=r)}})}catch(t){}s(t.prototype,i)}}};var et={};void 0!==et.asn1&&et.asn1||(et.asn1={}),et.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var i=e.substr(1).length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var r="",n=0;n<i;n++)r+="f";e=new A(r,16).xor(t).add(A.ONE).toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=et.asn1,i=e.DERBoolean,r=e.DERInteger,n=e.DERBitString,s=e.DEROctetString,o=e.DERNull,a=e.DERObjectIdentifier,h=e.DEREnumerated,u=e.DERUTF8String,c=e.DERNumericString,f=e.DERPrintableString,l=e.DERTeletexString,p=e.DERIA5String,d=e.DERUTCTime,g=e.DERGeneralizedTime,v=e.DERSequence,m=e.DERSet,y=e.DERTaggedObject,b=e.ASN1Util.newObject,T=Object.keys(t);if(1!=T.length)throw"key of param shall be only one.";var S=T[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+S+":"))throw"undefined key: "+S;if("bool"==S)return new i(t[S]);if("int"==S)return new r(t[S]);if("bitstr"==S)return new n(t[S]);if("octstr"==S)return new s(t[S]);if("null"==S)return new o(t[S]);if("oid"==S)return new a(t[S]);if("enum"==S)return new h(t[S]);if("utf8str"==S)return new u(t[S]);if("numstr"==S)return new c(t[S]);if("prnstr"==S)return new f(t[S]);if("telstr"==S)return new l(t[S]);if("ia5str"==S)return new p(t[S]);if("utctime"==S)return new d(t[S]);if("gentime"==S)return new g(t[S]);if("seq"==S){for(var E=t[S],w=[],D=0;D<E.length;D++){var B=b(E[D]);w.push(B)}return new v({array:w})}if("set"==S){for(E=t[S],w=[],D=0;D<E.length;D++){B=b(E[D]);w.push(B)}return new m({array:w})}if("tag"==S){var R=t[S];if("[object Array]"===Object.prototype.toString.call(R)&&3==R.length){var x=b(R[2]);return new y({tag:R[0],explicit:R[1],obj:x})}var I={};if(void 0!==R.explicit&&(I.explicit=R.explicit),void 0!==R.tag&&(I.tag=R.tag),void 0===R.obj)throw"obj shall be specified for 'tag'.";return I.obj=b(R.obj),new y(I)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},et.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",i=parseInt(t.substr(0,2),16),r=(e=Math.floor(i/40)+"."+i%40,""),n=2;n<t.length;n+=2){var s=("00000000"+parseInt(t.substr(n,2),16).toString(2)).slice(-8);if(r+=s.substr(1,7),"0"==s.substr(0,1))e=e+"."+new A(r,2).toString(10),r=""}return e},et.asn1.ASN1Util.oidIntToHex=function(t){var a=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},e=function(t){var e="",i=new A(t,10).toString(2),r=7-i.length%7;7==r&&(r=0);for(var n="",s=0;s<r;s++)n+="0";i=n+i;for(s=0;s<i.length-1;s+=7){var o=i.substr(s,7);s!=i.length-7&&(o="1"+o),e+=a(parseInt(o,2))}return e};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var i="",r=t.split("."),n=40*parseInt(r[0])+parseInt(r[1]);i+=a(n),r.splice(0,2);for(var s=0;s<r.length;s++)i+=e(r[s]);return i},et.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var t=this.hV.length/2,e=t.toString(16);if(e.length%2==1&&(e="0"+e),t<128)return e;var i=e.length/2;if(15<i)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+i).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},et.asn1.DERAbstractString=function(t){et.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},tt.lang.extend(et.asn1.DERAbstractString,et.asn1.ASN1Object),et.asn1.DERAbstractTime=function(t){et.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,i){var r=this.zeroPadding,n=this.localDateToUTC(t),s=String(n.getFullYear());"utc"==e&&(s=s.substr(2,2));var o=s+r(String(n.getMonth()+1),2)+r(String(n.getDate()),2)+r(String(n.getHours()),2)+r(String(n.getMinutes()),2)+r(String(n.getSeconds()),2);if(!0===i){var a=n.getMilliseconds();if(0!=a){var h=r(String(a),3);o=o+"."+(h=h.replace(/[0]+$/,""))}}return o+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,i,r,n,s){var o=new Date(Date.UTC(t,e-1,i,r,n,s,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},tt.lang.extend(et.asn1.DERAbstractTime,et.asn1.ASN1Object),et.asn1.DERAbstractStructured=function(t){et.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},tt.lang.extend(et.asn1.DERAbstractStructured,et.asn1.ASN1Object),et.asn1.DERBoolean=function(){et.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},tt.lang.extend(et.asn1.DERBoolean,et.asn1.ASN1Object),et.asn1.DERInteger=function(t){et.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=et.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new A(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},tt.lang.extend(et.asn1.DERInteger,et.asn1.ASN1Object),et.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=et.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}et.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var i="0"+t;this.hTLV=null,this.isModified=!0,this.hV=i+e},this.setByBinaryString=function(t){var e=8-(t=t.replace(/0+$/,"")).length%8;8==e&&(e=0);for(var i=0;i<=e;i++)t+="0";var r="";for(i=0;i<t.length-1;i+=8){var n=t.substr(i,8),s=parseInt(n,2).toString(16);1==s.length&&(s="0"+s),r+=s}this.hTLV=null,this.isModified=!0,this.hV="0"+e+r},this.setByBooleanArray=function(t){for(var e="",i=0;i<t.length;i++)1==t[i]?e+="1":e+="0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=!1;return e},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):void 0!==t.hex?this.setHexValueIncludingUnusedBits(t.hex):void 0!==t.bin?this.setByBinaryString(t.bin):void 0!==t.array&&this.setByBooleanArray(t.array))},tt.lang.extend(et.asn1.DERBitString,et.asn1.ASN1Object),et.asn1.DEROctetString=function(t){if(void 0!==t&&void 0!==t.obj){var e=et.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}et.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},tt.lang.extend(et.asn1.DEROctetString,et.asn1.DERAbstractString),et.asn1.DERNull=function(){et.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},tt.lang.extend(et.asn1.DERNull,et.asn1.ASN1Object),et.asn1.DERObjectIdentifier=function(t){var a=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},s=function(t){var e="",i=new A(t,10).toString(2),r=7-i.length%7;7==r&&(r=0);for(var n="",s=0;s<r;s++)n+="0";i=n+i;for(s=0;s<i.length-1;s+=7){var o=i.substr(s,7);s!=i.length-7&&(o="1"+o),e+=a(parseInt(o,2))}return e};et.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var e="",i=t.split("."),r=40*parseInt(i[0])+parseInt(i[1]);e+=a(r),i.splice(0,2);for(var n=0;n<i.length;n++)e+=s(i[n]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueName=function(t){var e=et.asn1.x509.OID.name2oid(t);if(""===e)throw"DERObjectIdentifier oidName undefined: "+t;this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):void 0!==t.oid?this.setValueOidString(t.oid):void 0!==t.hex?this.setValueHex(t.hex):void 0!==t.name&&this.setValueName(t.name))},tt.lang.extend(et.asn1.DERObjectIdentifier,et.asn1.ASN1Object),et.asn1.DEREnumerated=function(t){et.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=et.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new A(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},tt.lang.extend(et.asn1.DEREnumerated,et.asn1.ASN1Object),et.asn1.DERUTF8String=function(t){et.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},tt.lang.extend(et.asn1.DERUTF8String,et.asn1.DERAbstractString),et.asn1.DERNumericString=function(t){et.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},tt.lang.extend(et.asn1.DERNumericString,et.asn1.DERAbstractString),et.asn1.DERPrintableString=function(t){et.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},tt.lang.extend(et.asn1.DERPrintableString,et.asn1.DERAbstractString),et.asn1.DERTeletexString=function(t){et.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},tt.lang.extend(et.asn1.DERTeletexString,et.asn1.DERAbstractString),et.asn1.DERIA5String=function(t){et.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},tt.lang.extend(et.asn1.DERIA5String,et.asn1.DERAbstractString),et.asn1.DERUTCTime=function(t){et.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},tt.lang.extend(et.asn1.DERUTCTime,et.asn1.DERAbstractTime),et.asn1.DERGeneralizedTime=function(t){et.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis&&(this.withMillis=!0))},tt.lang.extend(et.asn1.DERGeneralizedTime,et.asn1.DERAbstractTime),et.asn1.DERSequence=function(t){et.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++){t+=this.asn1Array[e].getEncodedHex()}return this.hV=t,this.hV}},tt.lang.extend(et.asn1.DERSequence,et.asn1.DERAbstractStructured),et.asn1.DERSet=function(t){et.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var i=this.asn1Array[e];t.push(i.getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},void 0!==t&&void 0!==t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},tt.lang.extend(et.asn1.DERSet,et.asn1.DERAbstractStructured),et.asn1.DERTaggedObject=function(t){et.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,i){this.hT=e,this.isExplicit=t,this.asn1Object=i,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=i.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.tag&&(this.hT=t.tag),void 0!==t.explicit&&(this.isExplicit=t.explicit),void 0!==t.obj&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},tt.lang.extend(et.asn1.DERTaggedObject,et.asn1.ASN1Object);var it=(function(i){function r(t){var e=i.call(this)||this;return t&&("string"==typeof t?e.parseKey(t):(r.hasPrivateKeyProperty(t)||r.hasPublicKeyProperty(t))&&e.parsePropertiesFrom(t)),e}return (function(t,e){function i(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)})(r,i),r.prototype.parseKey=function(t){try{var e=0,i=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(t)?g(t):v.unarmor(t),n=B.decode(r);if(3===n.sub.length&&(n=n.sub[2].sub[0]),9===n.sub.length){e=n.sub[1].getHexStringValue(),this.n=C(e,16),i=n.sub[2].getHexStringValue(),this.e=parseInt(i,16);var s=n.sub[3].getHexStringValue();this.d=C(s,16);var o=n.sub[4].getHexStringValue();this.p=C(o,16);var a=n.sub[5].getHexStringValue();this.q=C(a,16);var h=n.sub[6].getHexStringValue();this.dmp1=C(h,16);var u=n.sub[7].getHexStringValue();this.dmq1=C(u,16);var c=n.sub[8].getHexStringValue();this.coeff=C(c,16)}else{if(2!==n.sub.length)return!1;var f=n.sub[1].sub[0];e=f.sub[0].getHexStringValue(),this.n=C(e,16),i=f.sub[1].getHexStringValue(),this.e=parseInt(i,16)}return!0}catch(t){return!1}},r.prototype.getPrivateBaseKey=function(){var t={array:[new et.asn1.DERInteger({int:0}),new et.asn1.DERInteger({bigint:this.n}),new et.asn1.DERInteger({int:this.e}),new et.asn1.DERInteger({bigint:this.d}),new et.asn1.DERInteger({bigint:this.p}),new et.asn1.DERInteger({bigint:this.q}),new et.asn1.DERInteger({bigint:this.dmp1}),new et.asn1.DERInteger({bigint:this.dmq1}),new et.asn1.DERInteger({bigint:this.coeff})]};return new et.asn1.DERSequence(t).getEncodedHex()},r.prototype.getPrivateBaseKeyB64=function(){return c(this.getPrivateBaseKey())},r.prototype.getPublicBaseKey=function(){var t=new et.asn1.DERSequence({array:[new et.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new et.asn1.DERNull]}),e=new et.asn1.DERSequence({array:[new et.asn1.DERInteger({bigint:this.n}),new et.asn1.DERInteger({int:this.e})]}),i=new et.asn1.DERBitString({hex:"00"+e.getEncodedHex()});return new et.asn1.DERSequence({array:[t,i]}).getEncodedHex()},r.prototype.getPublicBaseKeyB64=function(){return c(this.getPublicBaseKey())},r.wordwrap=function(t,e){if(!t)return t;var i="(.{1,"+(e=e||64)+"})( +|$\n?)|(.{1,"+e+"})";return t.match(RegExp(i,"g")).join("\n")},r.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return t+=r.wordwrap(this.getPrivateBaseKeyB64())+"\n",t+="-----END RSA PRIVATE KEY-----"},r.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return t+=r.wordwrap(this.getPublicBaseKeyB64())+"\n",t+="-----END PUBLIC KEY-----"},r.hasPublicKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")},r.hasPrivateKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},r.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},r})(J),rt=(function(){function t(t){t=t||{},this.default_key_size=parseInt(t.default_key_size,10)||1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return t.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new it(t)},t.prototype.setPrivateKey=function(t){this.setKey(t)},t.prototype.setPublicKey=function(t){this.setKey(t)},t.prototype.decrypt=function(t){try{return this.getKey().decrypt(f(t))}catch(t){return!1}},t.prototype.encrypt=function(t){try{return c(this.getKey().encrypt(t))}catch(t){return!1}},t.prototype.sign=function(t,e,i){try{return c(this.getKey().sign(t,e,i))}catch(t){return!1}},t.prototype.verify=function(t,e,i){try{return this.getKey().verify(t,f(e),i)}catch(t){return!1}},t.prototype.getKey=function(t){if(!this.key){if(this.key=new it,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version="3.0.0-rc.1",t})();window.JSEncrypt=rt,t.JSEncrypt=rt,t.default=rt,Object.defineProperty(t,"__esModule",{value:!0})})(e)},216:function(t,e,i){var r;r=function(h){return (function(n){var t=h,e=t.lib,i=e.WordArray,r=e.Hasher,s=t.algo,o=[],b=[];!(function(){function t(t){for(var e=n.sqrt(t),i=2;i<=e;i++)if(!(t%i))return!1;return!0}function e(t){return 4294967296*(t-(0|t))|0}for(var i=2,r=0;r<64;)t(i)&&(r<8&&(o[r]=e(n.pow(i,.5))),b[r]=e(n.pow(i,1/3)),r++),i++})();var T=[],a=s.SHA256=r.extend({_doReset:function(){this._hash=new i.init(o.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,r=i[0],n=i[1],s=i[2],o=i[3],a=i[4],h=i[5],u=i[6],c=i[7],f=0;f<64;f++){if(f<16)T[f]=0|t[e+f];else{var l=T[f-15],p=(l<<25|l>>>7)^(l<<14|l>>>18)^l>>>3,d=T[f-2],g=(d<<15|d>>>17)^(d<<13|d>>>19)^d>>>10;T[f]=p+T[f-7]+g+T[f-16]}var v=r&n^r&s^n&s,m=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),y=c+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&h^~a&u)+b[f]+T[f];c=u,u=h,h=a,a=o+y|0,o=s,s=n,n=r,r=y+(m+v)|0}i[0]=i[0]+r|0,i[1]=i[1]+n|0,i[2]=i[2]+s|0,i[3]=i[3]+o|0,i[4]=i[4]+a|0,i[5]=i[5]+h|0,i[6]=i[6]+u|0,i[7]=i[7]+c|0},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return e[r>>>5]|=128<<24-r%32,e[14+(r+64>>>9<<4)]=n.floor(i/4294967296),e[15+(r+64>>>9<<4)]=i,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});t.SHA256=r._createHelper(a),t.HmacSHA256=r._createHmacHelper(a)})(Math),h.SHA256},t.exports=r(i(217))},217:function(t,e,i){var r;r=function(){var c,i,t,e,r,f,n,s,o,a,h,u,l=l||(c=Math,i=Object.create||(function(){function i(){}return function(t){var e;return i.prototype=t,e=new i,i.prototype=null,e}})(),e=(t={}).lib={},r=e.Base={extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),(e.init.prototype=e).$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},f=e.WordArray=r.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||s).stringify(this)},concat:function(t){var e=this.words,i=t.words,r=this.sigBytes,n=t.sigBytes;if(this.clamp(),r%4)for(var s=0;s<n;s++){var o=i[s>>>2]>>>24-s%4*8&255;e[r+s>>>2]|=o<<24-(r+s)%4*8}else for(s=0;s<n;s+=4)e[r+s>>>2]=i[s>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=c.ceil(e/4)},clone:function(){var t=r.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e,i=[],r=function(e){e=e;var i=987654321,r=4294967295;return function(){var t=((i=36969*(65535&i)+(i>>16)&r)<<16)+(e=18e3*(65535&e)+(e>>16)&r)&r;return t/=4294967296,(t+=.5)*(.5<c.random()?1:-1)}},n=0;n<t;n+=4){var s=r(4294967296*(e||c.random()));e=987654071*s(),i.push(4294967296*s()|0)}return new f.init(i,t)}}),n=t.enc={},s=n.Hex={stringify:function(t){for(var e=t.words,i=t.sigBytes,r=[],n=0;n<i;n++){var s=e[n>>>2]>>>24-n%4*8&255;r.push((s>>>4).toString(16)),r.push((15&s).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,i=[],r=0;r<e;r+=2)i[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new f.init(i,e/2)}},o=n.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,r=[],n=0;n<i;n++){var s=e[n>>>2]>>>24-n%4*8&255;r.push(String.fromCharCode(s))}return r.join("")},parse:function(t){for(var e=t.length,i=[],r=0;r<e;r++)i[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new f.init(i,e)}},a=n.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},h=e.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=a.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,i=e.words,r=e.sigBytes,n=this.blockSize,s=r/(4*n),o=(s=t?c.ceil(s):c.max((0|s)-this._minBufferSize,0))*n,a=c.min(4*o,r);if(o){for(var h=0;h<o;h+=n)this._doProcessBlock(i,h);var u=i.splice(0,o);e.sigBytes-=a}return new f.init(u,a)},clone:function(){var t=r.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),e.Hasher=h.extend({cfg:r.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(i){return function(t,e){return new i.init(e).finalize(t)}},_createHmacHelper:function(i){return function(t,e){return new u.HMAC.init(i,e).finalize(t)}}}),u=t.algo={},t);return l},t.exports=r()}},[212]);
lxpbjsChunk([62],{387:function(e,t,n){n(388),e.exports=n(389)},388:function(e,t){},389:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0)),r=n(1);var u={TITLE_LEN:100,DESCR_LEN:200,SPONSORED_BY_LEN:50,IMG_MIN:150,ICON_MIN:50},a=t.spec={code:"pulsepoint",aliases:["pulseLite","pulsepointLite"],supportedMediaTypes:["banner","native"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.cp&&e.params.ct)},buildRequests:function(e,t){var n,r,a={id:e[0].bidderRequestId,imp:e.map((function(e){return{id:(t=e).bidId,banner:(n=t,r=(function(e){if(e.params.cf){var t=e.params.cf.toUpperCase().split("X"),n=parseInt(e.params.cw||t[0],10),r=parseInt(e.params.ch||t[1],10);return[n,r]}return[1,1]})(n),n.nativeParams?null:{w:r[0],h:r[1]}),native:(function(e){if(e.nativeParams){var t=[];return o(t,(n=t.length+1,r=e.nativeParams.title,a=u.TITLE_LEN,r?{id:n,required:r.required?1:0,title:{len:r.len||a}}:null)),o(t,c(t.length+1,e.nativeParams.body,2,u.DESCR_LEN)),o(t,c(t.length+1,e.nativeParams.sponsoredBy,1,u.SPONSORED_BY_LEN)),o(t,s(t.length+1,e.nativeParams.icon,1,u.ICON_MIN,u.ICON_MIN)),o(t,s(t.length+1,e.nativeParams.image,3,u.IMG_MIN,u.IMG_MIN)),{request:JSON.stringify({assets:t}),ver:"1.1"}}var n,r,a;return null})(t),tagid:t.params.ct.toString()};var t,n,r})),site:(function(e){var t=e&&0<e.length?e[0].params.cp:"0";if(!e[0].params.app)return{publisher:{id:t.toString()},ref:(function(){try{return window.top.document.referrer}catch(e){return document.referrer}})(),page:i.getTopWindowLocation().href};return null})(e),app:(function(e){var t=e&&0<e.length?e[0].params.cp:"0",n=e[0].params.app;if(n)return{publisher:{id:t.toString()},bundle:n.bundle,storeurl:n.storeUrl,domain:n.domain};return null})(e),device:{ua:navigator.userAgent,language:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage}};return r=a,(n=t)&&n.gdprConsent&&(r.regs={ext:{gdpr:n.gdprConsent.gdprApplies?1:0}},r.user={ext:{consent:n.gdprConsent.consentString}}),{method:"POST",url:"//bid.contextweb.com/header/ortb",data:JSON.stringify(a)}},interpretResponse:function(e,t){return (function(e,t){var a={},i={};t=t.body,p(e.data).imp.forEach((function(e){a[e.id]=e})),t&&t.seatbid.forEach((function(e){return e.bid.forEach((function(e){i[e.impid]=e}))}));var u=[];return Object.keys(a).forEach((function(e){if(i[e]){var t={requestId:e,cpm:i[e].price,creative_id:e,creativeId:e,adId:e,ttl:20,netRevenue:!0,currency:"USD"};a[e].native?(t.native=(function(e,t){if(e.native){var n=p(t.adm),r={};if(n&&n.native&&n.native.assets)return n.native.assets.forEach((function(e){r.title=e.title?e.title.text:r.title,r.body=e.data&&2===e.data.type?e.data.value:r.body,r.sponsoredBy=e.data&&1===e.data.type?e.data.value:r.sponsoredBy,r.image=e.img&&3===e.img.type?e.img.url:r.image,r.icon=e.img&&1===e.img.type?e.img.url:r.icon})),n.native.link&&(r.clickUrl=encodeURIComponent(n.native.link.url)),r.impressionTrackers=n.native.imptrackers,r}return null})(a[e],i[e]),t.mediaType="native"):(t.ad=i[e].adm,t.width=a[e].banner.w,t.height=a[e].banner.h),n=t,(r=i[e])&&r.ext&&(n.ttl=r.ext.ttl||n.ttl,n.currency=r.ext.currency||n.currency,n.netRevenue=null!=r.ext.netRevenue?r.ext.netRevenue:n.netRevenue),u.push(t)}var n,r})),u})(t,e)},getUserSyncs:function(e){return e.iframeEnabled?[{type:"iframe",url:"//bh.contextweb.com/visitormatch"}]:e.pixelEnabled?[{type:"image",url:"//bh.contextweb.com/visitormatch/prebid"}]:void 0},transformBidParams:function(e,t){return i.convertTypes({cf:"string",cp:"number",ct:"number"},e)}};function o(e,t){t&&e.push(t)}function s(e,t,n,r,a){return t?{id:e,required:t.required?1:0,img:{type:n,wmin:t.wmin||r,hmin:t.hmin||a}}:null}function c(e,t,n,r){return t?{id:e,required:t.required?1:0,data:{type:n,len:t.len||r}}:null}function p(e){try{if(e)return JSON.parse(e)}catch(e){i.logError("pulsepointLite.safeParse","ERROR",e)}return null}(0,r.registerBidder)(a)}},[387]);
lxpbjsChunk([49],{425:function(e,r,t){t(426),e.exports=t(427)},426:function(e,r){},427:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=r.SYNC_ENDPOINT=r.VIDEO_ENDPOINT=r.FASTLANE_ENDPOINT=void 0;var u=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,r){var t=[],i=!0,n=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(t.push(s.value),!r||t.length!==r);i=!0);}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}return t})(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")},p="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};r.hasVideoMediaType=c,r.masSizeOrdering=h,r.resetUserSync=function(){A=!1};var l=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),i=t(1),f=t(3),v=t(2);var y="pbjs_lite_v1.30.0-pre";var s=r.FASTLANE_ENDPOINT="//fastlane.rubiconproject.com/a/api/fastlane.json",a=r.VIDEO_ENDPOINT="//fastlane-adv.rubiconproject.com/v1/auction/video",n=r.SYNC_ENDPOINT="https://eus.rubiconproject.com/usync.html",g={1:"468x60",2:"728x90",5:"120x90",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",39:"750x100",40:"750x200",41:"750x300",43:"320x50",44:"300x50",48:"300x300",53:"1024x768",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",64:"580x500",65:"640x480",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",94:"970x310",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",108:"320x240",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",144:"980x600",159:"320x250",195:"600x300",199:"640x200",213:"1030x590",214:"980x360",229:"320x180",232:"580x400",257:"400x600"};l._each(g,(function(e,r){return g[e]=r}));var d=r.spec={code:"rubicon",aliases:["rubiconLite"],supportedMediaTypes:[v.BANNER,v.VIDEO],isBidRequestValid:function(e){return"object"===p(e.params)&&(!!/^\d+$/.test(e.params.accountId)&&!!_(e,!0))},buildRequests:function(e,o){var r=[],t=e.filter((function(e){return"video"===_(e)})).map((function(e){e.startTime=(new Date).getTime();var r=e.params,t=x(e,"video"),i={page_url:b(e,o),resolution:m(),account_id:r.accountId,integration:y,"x_source.tid":e.transactionId,timeout:o.timeout-(Date.now()-o.auctionStart+500),stash_creatives:!0,slots:[]},n={site_id:r.siteId,zone_id:r.zoneId,position:"atf"===r.position||"btf"===r.position?r.position:"unknown",floor:.01<parseFloat(r.floor)?r.floor:.01,element_id:e.adUnitCode,name:e.adUnitCode,width:t[0],height:t[1],size_id:"outstream"===l.deepAccess(e,"mediaTypes."+v.VIDEO+".context")?203:r.video.size_id};return r.video&&(i.ae_pass_through_parameters=r.video.aeParams,n.language=r.video.language),r.inventory&&"object"===p(r.inventory)&&(n.inventory=r.inventory),r.keywords&&Array.isArray(r.keywords)&&(n.keywords=r.keywords),r.visitor&&"object"===p(r.visitor)&&(n.visitor=r.visitor),i.slots.push(n),o.gdprConsent&&("boolean"==typeof o.gdprConsent.gdprApplies&&(i.gdpr=Number(o.gdprConsent.gdprApplies)),i.gdpr_consent=o.gdprConsent.consentString),{method:"POST",url:a,data:i,bidRequest:e}}));if(!0!==f.config.getConfig("rubicon.singleRequest"))r=t.concat(e.filter((function(e){return"banner"===_(e)})).map((function(e){var i=d.createSlotParams(e,o);return{method:"GET",url:s,data:d.getOrderedParams(i).reduce((function(e,r){var t=i[r];return l.isStr(t)&&""!==t||l.isNumber(t)?""+e+r+"="+encodeURIComponent(t)+"&":e}),"")+"slots=1&rand="+Math.random(),bidRequest:e}})));else{var n=e.filter((function(e){return"banner"===_(e)})).reduce((function(e,r){return(e[r.params.siteId]=e[r.params.siteId]||[]).push(r),e}),{});r=t.concat(Object.keys(n).map((function(e){var r=n[e];10<r.length&&(l.logWarn("Rubicon bid adapter Warning: single request mode has a limit of 10 bids: "+(r.length-10)+" bids were not sent"),r=r.slice(0,10));var i=d.combineSlotUrlParams(r.map((function(e){return d.createSlotParams(e,o)})));return{method:"GET",url:s,data:d.getOrderedParams(i).reduce((function(e,r){var t=i[r];return l.isStr(t)&&""!==t||l.isNumber(t)?""+e+r+"="+encodeURIComponent(t)+"&":e}),"")+"slots="+r.length+"&rand="+Math.random(),bidRequest:r}})))}return r},getOrderedParams:function(e){var r=/^tg_v/,t=/^tg_i/,i=["account_id","site_id","zone_id","size_id","alt_size_ids","p_pos","gdpr","gdpr_consent","rf","dt.id","dt.keyv","dt.pref","p_geo.latitude","p_geo.longitude","kw"].concat(Object.keys(e).filter((function(e){return r.test(e)}))).concat(Object.keys(e).filter((function(e){return t.test(e)}))).concat(["tk_flint","x_source.tid","p_screen_res","rp_floor","rp_secure","tk_user_key"]);return i.concat(Object.keys(e).filter((function(e){return-1===i.indexOf(e)})))},combineSlotUrlParams:function(n){if(1===n.length)return n[0];var i=n.reduce((function(r,t,i){return Object.keys(t).forEach((function(e){r.hasOwnProperty(e)||(r[e]=new Array(n.length)),r[e].splice(i,1,t[e])})),r}),{}),o=new RegExp("^([^;]*)(;\\1)+$");return Object.keys(i).forEach((function(e){var r=i[e].join(";"),t=r.match(o);i[e]=t?t[1]:r})),i},createSlotParams:function(e,r){e.startTime=(new Date).getTime();var t=e.params,i=x(e,"banner"),n=t.latLong||[],o=u(n,2),s=o[0],a=o[1],d={account_id:t.accountId,site_id:t.siteId,zone_id:t.zoneId,size_id:i[0],alt_size_ids:i.slice(1).join(",")||void 0,p_pos:"atf"===t.position||"btf"===t.position?t.position:"unknown",rp_floor:.01<(t.floor=parseFloat(t.floor))?t.floor:.01,rp_secure:"https:"===location.protocol?"1":"0",tk_flint:y,"x_source.tid":e.transactionId,p_screen_res:m(),kw:Array.isArray(t.keywords)?t.keywords.join(","):"",tk_user_key:t.userId,"p_geo.latitude":isNaN(parseFloat(s))?void 0:parseFloat(s).toFixed(4),"p_geo.longitude":isNaN(parseFloat(a))?void 0:parseFloat(a).toFixed(4),"tg_fl.eid":e.code,rf:b(e,r)};r.gdprConsent&&("boolean"==typeof r.gdprConsent.gdprApplies&&(d.gdpr=Number(r.gdprConsent.gdprApplies)),d.gdpr_consent=r.gdprConsent.consentString),null!==t.visitor&&"object"===p(t.visitor)&&Object.keys(t.visitor).forEach((function(e){null!=t.visitor[e]&&(d["tg_v."+e]=t.visitor[e].toString())})),null!==t.inventory&&"object"===p(t.inventory)&&Object.keys(t.inventory).forEach((function(e){null!=t.inventory[e]&&(d["tg_i."+e]=t.inventory[e].toString())}));var c=(function(){var e=(r=window.DigiTrust&&(f.config.getConfig("digiTrustId")||window.DigiTrust.getUser({member:"T9QSFKPDN9"})),r&&r.success&&r.identity||null);var r;if(!e||e.privacy&&e.privacy.optout)return[];return{"dt.id":e.id,"dt.keyv":e.keyv,"dt.pref":0}})();return Object.keys(c).forEach((function(e){d[e]=c[e]})),d},interpretResponse:function(d,e){var c=e.bidRequest;if(!(d=d.body)||"object"!==(void 0===d?"undefined":p(d)))return[];var r=d.ads;return"object"!==(void 0===c?"undefined":p(c))||Array.isArray(c)||"video"!==_(c)||"object"!==(void 0===r?"undefined":p(r))||(r=r[c.adUnitCode]),!Array.isArray(r)||r.length<1?[]:r.reduce((function(e,r,t){if("ok"!==r.status)return e;var i,n=Array.isArray(c)?c[t]:c;if(n&&"object"===(void 0===n?"undefined":p(n))){var o={requestId:n.bidId,currency:"USD",creativeId:r.creative_id||(r.network||"")+"-"+(r.advertiser||""),cpm:r.cpm||0,dealId:r.deal,ttl:300,netRevenue:f.config.getConfig("rubicon.netRevenue")||!1,rubicon:{advertiserId:r.advertiser,networkId:r.network}};if(r.creative_type&&(o.mediaType=r.creative_type),r.creative_type===v.VIDEO)o.width=n.params.video.playerWidth,o.height=n.params.video.playerHeight,o.vastUrl=r.creative_depot_url,o.impression_id=r.impression_id,o.videoCacheKey=r.impression_id;else{o.ad=(i=r.script,"<html>\n<head><script type='text/javascript'>inDapIF=true;<\/script></head>\n<body style='margin : 0; padding: 0;'>\n\x3c!-- Rubicon Project Ad Tag --\x3e\n<div data-rp-impression-id='"+r.impression_id+"'>\n<script type='text/javascript'>"+i+"<\/script>\n</div>\n</body>\n</html>");var s=g[r.size_id].split("x").map((function(e){return Number(e)})),a=u(s,2);o.width=a[0],o.height=a[1]}o.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:n.adUnitCode}),e.push(o)}else l.logError("Rubicon bid adapter Error: bidRequest undefined at index position:"+t,c,d);return e}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t){if(!A&&e.iframeEnabled){var i="";return t&&"string"==typeof t.consentString&&("boolean"==typeof t.gdprApplies?i+="?gdpr="+Number(t.gdprApplies)+"&gdpr_consent="+t.consentString:i+="?gdpr_consent="+t.consentString),A=!0,{type:"iframe",url:n+i}}},transformBidParams:function(e,r){return l.convertTypes({accountId:"number",siteId:"number",zoneId:"number"},e)}};function m(){return[window.screen.width,window.screen.height].join("x")}function b(e,r){var t=f.config.getConfig("pageUrl");return e.params.referrer?t=e.params.referrer:t||(t=r.refererInfo.referer),e.params.secure?t.replace(/^http:/i,"https:"):t}function x(e,r){var t=e.params;if("video"===r){var i=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?i=[t.video.playerWidth,t.video.playerHeight]:Array.isArray(l.deepAccess(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?i=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&0<e.sizes.length&&Array.isArray(e.sizes[0])&&1<e.sizes[0].length&&(i=e.sizes[0]),i}var n=[];return Array.isArray(t.sizes)?n=t.sizes:void 0!==l.deepAccess(e,"mediaTypes.banner.sizes")?n=o(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&0<e.sizes.length?n=o(e.sizes):l.logWarn("Warning: no sizes are setup or found"),h(n)}function o(e){return l.parseSizesInput(e).reduce((function(e,r){var t=parseInt(g[r],10);return t&&e.push(t),e}),[])}function c(e){return(void 0!==l.deepAccess(e,"params.video")||!Array.isArray(l.deepAccess(e,"params.sizes")))&&(e.mediaType===v.VIDEO||void 0!==l.deepAccess(e,"mediaTypes."+v.VIDEO))}function _(e){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=void 0;if(c(e)){if(t=!0,"instream"===l.deepAccess(e,"mediaTypes."+v.VIDEO+".context")||e.mediaType===v.VIDEO?void 0===l.deepAccess(e,"params.video.size_id")&&(r&&l.logError("Rubicon bid adapter Error: size id is missing for instream video request."),t=!1):"outstream"===l.deepAccess(e,"mediaTypes."+v.VIDEO+".context")?203!==l.deepAccess(e,"params.video.size_id")&&r&&l.logWarn("Rubicon bid adapter Warning: outstream video is sending invalid size id, converting size id to 203."):(r&&l.logError("Rubicon bid adapter Error: no instream or outstream context defined in mediaTypes."),t=!1),t)return void 0!==l.deepAccess(e,"mediaTypes."+v.BANNER)&&r&&l.logWarn("Rubicon bid adapter Warning: video and banner requested for same adUnit, continuing with video request, multi-format request is not supported by rubicon yet."),"video";if(void 0===l.deepAccess(e,"mediaTypes."+v.BANNER))return}if(0<x(e,"banner").length)return r&&!1===t&&l.logWarn("Rubicon bid adapter Warning: invalid video requested for adUnit, continuing with banner request."),"banner"}function h(e){var n=[15,2,9];return e.sort((function(e,r){var t=n.indexOf(e),i=n.indexOf(r);return-1<t||-1<i?-1===t?1:-1===i?-1:t-i:e-r}))}var A=!1;(0,i.registerBidder)(d)}},[425]);
lxpbjsChunk([43],{449:function(r,e,a){a(450),r.exports=a(451)},450:function(r,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spec=void 0;var i=(function(r){{if(r&&r.__esModule)return r;var e={};if(null!=r)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e.default=r,e}})(a(0)),d=a(3),t=a(1);var n=e.spec={code:"smartadserver",aliases:["smart"],isBidRequestValid:function(r){return!!(r.params&&r.params.siteId&&r.params.pageId&&r.params.formatId&&r.params.domain)},buildRequests:function(r,t){return r.map((function(r){var e={siteid:r.params.siteId,pageid:r.params.pageId,formatid:r.params.formatId,currencyCode:d.config.getConfig("currency.adServerCurrency"),bidfloor:r.params.bidfloor||0,targeting:r.params.target&&""!=r.params.target?r.params.target:void 0,buid:r.params.buId&&""!=r.params.buId?r.params.buId:void 0,appname:r.params.appName&&""!=r.params.appName?r.params.appName:void 0,ckid:r.params.ckId||0,tagId:r.adUnitCode,sizes:r.sizes.map((function(r){return{w:r[0],h:r[1]}})),pageDomain:i.getTopWindowUrl(),transactionId:r.transactionId,timeout:d.config.getConfig("bidderTimeout"),bidId:r.bidId,prebidVersion:"1.30.0-pre"};t&&t.gdprConsent&&(e.gdpr_consent=t.gdprConsent.consentString,e.gdpr=t.gdprConsent.gdprApplies);var a=JSON.stringify(e);return{method:"POST",url:r.params.domain+"/prebid/v1",data:a}}))},interpretResponse:function(r,e){var a=[],t=r.body;try{if(t){var d={requestId:JSON.parse(e.data).bidId,cpm:t.cpm,width:t.width,height:t.height,creativeId:t.creativeId,dealId:t.dealId,currency:t.currency,netRevenue:t.isNetCpm,ttl:t.ttl,referrer:i.getTopWindowUrl(),adUrl:t.adUrl,ad:t.ad};a.push(d)}}catch(r){i.logError("Error while parsing smart server response",r)}return a},getUserSyncs:function(r,e){var a=[];return r.iframeEnabled&&0<e.length&&a.push({type:"iframe",url:e[0].body.cSyncUrl}),a}};(0,t.registerBidder)(n)},451:function(r,e){}},[449]);
lxpbjsChunk([142],{464:function(a,e,t){t(465),a.exports=t(466)},465:function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spec=void 0;var i="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},r=t(1),o=e.spec={code:"between",aliases:["btw"],supportedMediaTypes:["banner"],isBidRequestValid:function(a){return!!(a.params.w&&a.params.h&&a.params.s)},buildRequests:function(a){var r=[];return a.forEach((function(a){var e={jst:"hb",ord:1e16*Math.random(),tz:(new Date).getTimezoneOffset(),fl:(function(){if(void 0!==navigator.plugins&&null!==navigator.plugins&&void 0!==navigator.plugins["Shockwave Flash"]&&null!==navigator.plugins["Shockwave Flash"]&&"object"===i(navigator.plugins["Shockwave Flash"])){var a=navigator.plugins["Shockwave Flash"].description;if(a&&(void 0===navigator.mimeTypes||!navigator.mimeTypes["application/x-shockwave-flash"]||navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin))return a=a.replace(/^.*\s+(\S+\s+\S+$)/,"$1").replace(/^(.*)\..*$/,"$1"),parseInt(a,10)}return 0})(),rr:(function(){try{var a=top.document,e=a.referrer}catch(a){return!1}{if(void 0!==e&&0<e.length)return encodeURIComponent(e);if(void 0!==e&&""==e)return"direct"}})(),w:a.params.w,h:a.params.h,s:a.params.s,bidid:a.bidId,transactionid:a.transactionId,auctionid:a.auctionId};if(void 0!==a.params.itu&&(e.itu=a.params.itu),void 0!==a.params.cur&&(e.cur=a.params.cur),void 0!==a.params.subid&&(e.subid=a.params.subid),void 0!==a.params.click3rd&&(e.click3rd=a.params.click3rd),void 0!==a.params.pubdata)for(var t in a.params.pubdata)e["pubside_macro["+t+"]"]=encodeURIComponent(a.params.pubdata[t]);r.push({method:"GET",url:"https://ads.betweendigital.com/adjson",data:e})})),r},interpretResponse:function(a,e){for(var t=[],r=0;r<a.body.length;r++){var i={requestId:a.body[r].bidid,cpm:a.body[r].cpm||0,width:a.body[r].w,height:a.body[r].h,ttl:a.body[r].ttl,creativeId:a.body[r].creativeid,currency:a.body[r].currency||"RUB",netRevenue:a.body[r].netRevenue||!0,ad:a.body[r].ad};t.push(i)}return t},getUserSyncs:function(a,e){var t=[];return t.push({type:"iframe",url:"http://ads.betweendigital.com/sspmatch-iframe"}),t}};(0,r.registerBidder)(o)},466:function(a,e){}},[464]);
lxpbjsChunk([38],{467:function(e,t,r){r(468),e.exports=r(469)},468:function(e,t){},469:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var o=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),i=r(1),a=r(2),s=r(4);var n=t.spec={code:"sovrn",supportedMediaTypes:[a.BANNER],isBidRequestValid:function(e){return!(!e.params.tagid||isNaN(parseFloat(e.params.tagid))||!isFinite(e.params.tagid))},buildRequests:function(e,t){var r=o.getTopWindowLocation(),i=[],n=void 0;o._each(e,(function(e){n=n||o.getBidIdParameter("iv",e.params),i.push({id:e.bidId,banner:{w:1,h:1},tagid:String(o.getBidIdParameter("tagid",e.params)),bidfloor:o.getBidIdParameter("bidfloor",e.params)})}));var a={id:o.getUniqueIdentifierStr(),imp:i,site:{domain:r.host,page:r.host+r.pathname+r.search+r.hash}};t&&t.gdprConsent&&(a.regs={ext:{gdpr:+t.gdprConsent.gdprApplies}},a.user={ext:{consent:t.gdprConsent.consentString}});var d="//ap.lijit.com/rtb/bid?src="+s.REPO_AND_VERSION;return n&&(d+="&iv="+n),{method:"POST",url:d,data:JSON.stringify(a),options:{contentType:"text/plain"}}},interpretResponse:function(e){var t=e.body,r=t.id,i=t.seatbid,n=[];return r&&i&&0<i.length&&i[0].bid&&0<i[0].bid.length&&i[0].bid.map((function(e){n.push({requestId:e.impid,cpm:parseFloat(e.price),width:parseInt(e.w),height:parseInt(e.h),creativeId:e.crid||e.id,dealId:e.dealid||null,currency:"USD",netRevenue:!0,mediaType:a.BANNER,ad:decodeURIComponent(e.adm+'<img src="'+e.nurl+'">'),ttl:60})})),n},getUserSyncs:function(e,t,r){if(t&&0!==t.length&&e.iframeEnabled){var i=t.filter((function(e){return e.body&&e.body.ext&&e.body.ext.iid})).map((function(e){return e.body.ext.iid})),n="";if(r&&r.gdprApplies&&"string"==typeof r.consentString&&(n=r.consentString),i[0])return[{type:"iframe",url:"//ap.lijit.com/beacon?informer="+i[0]+"&gdpr_consent="+n}]}return[]}};(0,i.registerBidder)(n)}},[467]);
lxpbjsChunk([65],{574:function(e,r,a){a(575),e.exports=a(576)},575:function(e,r){},576:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var f="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},y=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),t=a(1),i=a(2),n=a(3);var v=a(4),b="pubmatic",w="USD",o="nFIn8aLzbd",I=void 0,S={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},s={NUMBER:"number",STRING:"string",BOOLEAN:"boolean",ARRAY:"array"},R={mimes:s.ARRAY,minduration:s.NUMBER,maxduration:s.NUMBER,startdelay:s.NUMBER,playbackmethod:s.ARRAY,api:s.ARRAY,protocols:s.ARRAY,w:s.NUMBER,h:s.NUMBER,battr:s.ARRAY,linearity:s.NUMBER,placement:s.NUMBER,minbitrate:s.NUMBER,maxbitrate:s.NUMBER},d={1:"PMP",5:"PREF",6:"PMPG"},O=0;function x(e,r){if(!y.isStr(r))return r&&y.logWarn("PubMatic: Ignoring param key: "+e+", expects string-value, found "+(void 0===r?"undefined":f(r))),I;switch(e){case"pmzoneid":return r.split(",").slice(0,50).map((function(e){return e.trim()})).join();case"kadfloor":case"lat":case"lon":return parseFloat(r)||I;case"yob":return parseInt(r)||I;default:return r}}function A(e){e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0;var r,a=e.hasOwnProperty("sizes")&&y.isArray(e.sizes)&&1<=e.sizes.length;e.params.adSlot=(r=e.params.adSlot,y.isStr(r)?r.replace(/^\s+/g,"").replace(/\s+$/g,""):"");var t=e.params.adSlot,i=t.split(":");if(t=i[0],2==i.length&&(e.params.adUnitIndex=i[1]),2==(i=t.split("@")).length||a)if(e.params.adUnit=i[0],1<i.length){if(2!=(i=i[1].split("x")).length)return void y.logWarn("AdSlot Error: adSlot not in required format");e.params.width=parseInt(i[0]),e.params.height=parseInt(i[1]),delete e.sizes}else a&&(e.params.width=parseInt(e.sizes[0][0]),e.params.height=parseInt(e.sizes[0][1]));else y.logWarn("AdSlot Error: adSlot not in required format")}function P(e,r,a){var t="PubMatic: Ignoring param key: "+e+", expects "+a+", found "+(void 0===r?"undefined":f(r));switch(a){case s.BOOLEAN:return y.isBoolean(r)?r:(y.logWarn(t),I);case s.NUMBER:return y.isNumber(r)?r:(y.logWarn(t),I);case s.STRING:return y.isStr(r)?r:(y.logWarn(t),I);case s.ARRAY:return y.isArray(r)?r:(y.logWarn(t),I)}}function U(e){var r,a,t,i=(r=o,!(t=(a=window.DigiTrust&&(n.config.getConfig("digiTrustId")||window.DigiTrust.getUser({member:r})))&&a.success&&a.identity||null)||t.privacy&&t.privacy.optout?null:t);null!==i&&e.push({source:"digitru.st",uids:[{id:i.id||"",atype:1,ext:{keyv:parseInt(i.keyv)||0}}]})}var p=r.spec={code:b,supportedMediaTypes:[i.BANNER,i.VIDEO],isBidRequestValid:function(e){return!(!e||!e.params)&&(y.isStr(e.params.publisherId)?y.isStr(e.params.adSlot)?!!(!e.params.hasOwnProperty("video")||e.params.video.hasOwnProperty("mimes")&&y.isArray(e.params.video.mimes)&&0!==e.params.video.mimes.length)||(y.logWarn(b+": For video ads, mimes is mandatory and must specify atlease 1 mime value. Call to OpenBid will not be sent."),!1):(y.logWarn(b+": adSlotId is mandatory and cannot be numeric. Call to OpenBid will not be sent."),!1):(y.logWarn(b+" Error: publisherId is mandatory and cannot be numeric. Call to OpenBid will not be sent."),!1))},buildRequests:function(e,r){var a,t,i,n,o=((a={}).pageURL=y.getTopWindowUrl(),a.refURL=y.getTopWindowReferrer(),a),s=(t=o,{id:""+(new Date).getTime(),at:1,cur:[w],imp:[],site:{page:t.pageURL,ref:t.refURL,publisher:{}},device:{ua:navigator.userAgent,js:1,dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,h:screen.height,w:screen.width,language:navigator.language},user:{},ext:{}}),d="",p="",l=[];if(e.forEach((function(e){if(A(n=y.deepClone(e)),n.params.hasOwnProperty("video")){if(!(n.params.adSlot&&n.params.adUnit&&n.params.adUnitIndex))return void y.logWarn(b+": Skipping the non-standard adslot: ",n.params.adSlot,n)}else if(!(n.params.adSlot&&n.params.adUnit&&n.params.adUnitIndex&&n.params.width&&n.params.height))return void y.logWarn(b+": Skipping the non-standard adslot: ",n.params.adSlot,n);o.pubId=o.pubId||n.params.publisherId,(o=(function(e,r){var a,t,i;for(a in r.kadpageurl||(r.kadpageurl=r.pageURL),S)S.hasOwnProperty(a)&&(t=e[a])&&("object"===(void 0===(i=S[a])?"undefined":f(i))&&(t=i.f(t,r)),y.isStr(t)?r[a]=t:y.logWarn("PubMatic: Ignoring param : "+a+" with value : "+S[a]+", expects string-value, found "+(void 0===t?"undefined":f(t))));return r})(n.params,o)).transactionId=n.transactionId,""===d?d=n.params.currency||void 0:n.params.hasOwnProperty("currency")&&d!==n.params.currency&&y.logWarn(b+": Currency specifier ignored. Only one currency permitted."),n.params.currency=d,n.params.hasOwnProperty("dctr")&&y.isStr(n.params.dctr)&&l.push(n.params.dctr),s.imp.push(function(e,r){var a={},t={},i={},n=e.hasOwnProperty("sizes")?e.sizes:[];if(a={id:e.bidId,tagid:e.params.adUnit,bidfloor:x("kadfloor",e.params.kadfloor),secure:"https:"===window.location.protocol?1:0,ext:{pmZoneId:x("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?x("currency",e.params.currency):w},e.params.hasOwnProperty("video")){var o=e.params.video;for(var s in R)o.hasOwnProperty(s)&&(i[s]=P(s,o[s],R[s]));y.isArray(e.mediaTypes.video.playerSize[0])?(i.w=e.mediaTypes.video.playerSize[0][0],i.h=e.mediaTypes.video.playerSize[0][1]):y.isNumber(e.mediaTypes.video.playerSize[0])&&(i.w=e.mediaTypes.video.playerSize[0],i.h=e.mediaTypes.video.playerSize[1]),e.params.video.hasOwnProperty("skippable")&&(i.ext={video_skippable:e.params.video.skippable?1:0}),a.video=i}else{if(t={pos:0,w:e.params.width,h:e.params.height,topframe:y.inIframe()?0:1},y.isArray(n)&&1<n.length){n=n.splice(1,n.length-1);var d=[];n.forEach((function(e){d.push({w:e[0],h:e[1]})})),t.format=d}a.banner=t}return a}(n))})),0!=s.imp.length){var u,m,c,g;if(s.site.publisher.id=o.pubId.trim(),O=o.pubId.trim(),s.ext.wrapper={},s.ext.wrapper.profile=parseInt(o.profId)||I,s.ext.wrapper.version=parseInt(o.verId)||I,s.ext.wrapper.wiid=o.wiid||I,s.ext.wrapper.wv=v.REPO_AND_VERSION,s.ext.wrapper.transactionId=o.transactionId,s.ext.wrapper.wp="pbjs",s.user.gender=o.gender?o.gender.trim():I,s.user.geo={},r&&r.gdprConsent&&(s.user.ext={consent:r.gdprConsent.consentString},s.regs={ext:{gdpr:r.gdprConsent.gdprApplies?1:0}}),s.user.geo.lat=x("lat",o.lat),s.user.geo.lon=x("lon",o.lon),s.user.yob=x("yob",o.yob),s.device.geo={},s.device.geo.lat=x("lat",o.lat),s.device.geo.lon=x("lon",o.lon),s.site.page=o.kadpageurl.trim()||s.site.page.trim(),s.site.domain=(u=s.site.page,(m=document.createElement("a")).href=u,m.hostname),e[0].params.hasOwnProperty("dctr")){if(p=e[0].params.dctr,y.isStr(p)&&0<p.length){var h=p.split("|");p="",h.forEach((function(e){p+=0<e.length?e.trim()+"|":""})),i=p.length,"|"===p.substring(i,i-1)&&(p=p.substring(0,i-1)),s.site.ext={key_val:p.trim()}}else y.logWarn(b+": Ignoring param : dctr with value : "+p+", expects string-value, found empty or non-string value");1<l.length&&y.logWarn(b+": dctr value found in more than 1 adunits. Value from 1st adunit will be picked. Ignoring values from subsequent adunits")}else y.logWarn(b+": dctr value not found in 1st adunit, ignoring values from subsequent adunits");return c=s,U(g=[]),0<g.length&&(c.user.eids=g),{method:"POST",url:"//hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(s)}}},interpretResponse:function(e,t){var i=[],n=w;try{e.body&&e.body.seatbid&&y.isArray(e.body.seatbid)&&(n=e.body.cur||n,e.body.seatbid.forEach((function(e){e.bid&&y.isArray(e.bid)&&e.bid.forEach((function(r){var a={requestId:r.impid,cpm:(parseFloat(r.price)||0).toFixed(2),width:r.w,height:r.h,creativeId:r.crid||r.id,dealId:r.dealid,currency:n,netRevenue:!1,ttl:300,referrer:y.getTopWindowUrl(),ad:r.adm},e=JSON.parse(t.data);e.imp&&0<e.imp.length&&e.imp.forEach((function(e){r.impid===e.id&&e.hasOwnProperty("video")&&(a.mediaType="video",a.width=r.hasOwnProperty("w")?r.w:e.video.w,a.height=r.hasOwnProperty("h")?r.h:e.video.h,a.vastXml=r.adm)})),r.ext&&r.ext.deal_channel&&(a.dealChannel=d[r.ext.deal_channel]||null),i.push(a)}))})))}catch(e){y.logError(e)}return i},getUserSyncs:function(e,r,a){var t="//ads.pubmatic.com/AdServer/js/showad.js#PIX&kdntuid=1&p="+O;if(a&&(t+="&gdpr="+(a.gdprApplies?1:0),t+="&gdpr_consent="+encodeURIComponent(a.consentString||"")),e.iframeEnabled)return[{type:"iframe",url:t}];y.logWarn("PubMatic: Please enable iframe based user sync.")},transformBidParams:function(e,r){return y.convertTypes({publisherId:"string",adSlot:"string"},e)}};(0,t.registerBidder)(p)}},[574]);
lxpbjs.processQueue();

};


(window.__lxG__=window.__lxG__||{}).biddingBlocksDelay=1000;

/* isEu: noneu */

/* src: 2019-03-15 14:29:50 */
/* gen: 2019-03-18 01:54:19 */
(window.__lxG__=window.__lxG__||{}).pbdfpjs = function(){var pa="function"==typeof Object.defineProperties?Object.defineProperty:function(x,I,fa){x!=Array.prototype&&x!=Object.prototype&&(x[I]=fa.value)},Xa="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function ub(){ub=function(){};Xa.Symbol||(Xa.Symbol=ic)}var ic=function(){var x=0;return function(I){return"jscomp_symbol_"+(I||"")+x++}}();
function ud(){ub();var x=Xa.Symbol.iterator;x||(x=Xa.Symbol.iterator=Xa.Symbol("iterator"));"function"!=typeof Array.prototype[x]&&pa(Array.prototype,x,{configurable:!0,writable:!0,value:function(){return vd(this)}});ud=function(){}}function vd(x){var I=0;return wd(function(){return I<x.length?{done:!1,value:x[I++]}:{done:!0}})}function wd(x){ud();x={next:x};x[Xa.Symbol.iterator]=function(){return this};return x}function xd(x){ud();ub();ud();var I=x[Symbol.iterator];return I?I.call(x):vd(x)}
;function x(a){h(a,function(b){a[b].bids&&h(a[b].bids,function(c){var d=a[b].bids[c];if("teads"==d.bidder){if(!n(d.__parentDivId)){var e=null;h(v,function(c){var f=v[c];if(n(f.bids)&&f.bids.length){var g=!1;h(f.bids,function(c){c=f.bids[c];if("teads"==c.bidder&&JSON.stringify(c.__sds_id__)==JSON.stringify(d.__sds_id__))return n(c.__parentDivId)||(c.__parentDivId="clickio_"+l(a[b].site_area_id,a[b].id)+(l(a[b].site_area_sub_id)?"."+a[b].site_area_sub_id:"")+"_"+l(c.params.pageId,"pageId")+
"_"+l(c.params.placementId,"placementId")),e=c.__parentDivId,g=!0,!1});if(g)return!1}});d.__parentDivId=e}return!1}})})}function I(a){h(a,function(b){if(b=a[b]){var c=b.code;(c=vb(c))&&h(v,function(a){a=v[a];a.code==c&&(a.__tmp__.xa=!0)})}})}function fa(a){a.length&&r.cmd.push(function(){ca(Ga,function(a){return function(){Ya(a,function(a){h(a,function(b){var c=wb(a[b],!0);c&&h(c,function(a){if(a=c[a])a.getAdUnitPath(),a.getSlotElementId(),a.getSlotElementId(),S(a)})})})}}(a))})}function jc(a){yd++;
Q&&xb();kc();if(X)r.cmd.push(function(){Za.push(function(){qa=z.getAdserverTargeting();var b=lc(a);$a=!0;h(b,function(c){var e=b[c];h(a,function(b){if(e.getAdUnitPath()==a[b].code)return!1});e.getAdUnitPath();e.getSlotElementId();S(e)})})});else{qa=z.getAdserverTargeting();var b=[],c=a.map(function(a){return a.code}),d=yb(c);$a=!0;h(qa,function(a,g){if(!l(g.hb_adid)||!~c.indexOf(a))return!0;L(function(b){return function(){h(d,function(c,e){if(e.getAdUnitPath()==a||e.getSlotElementId()==a)return e.getAdUnitPath(),
e.getSlotElementId(),e.addService(r.content()),r.enableServices(),c="pb_frame_"+b+"_"+G(),r.content().setContent(e,'<iframe id="'+c+'" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" />'),z.renderAd(t.getElementById(c).contentDocument,b),ab(e),!1})}}(g.hb_adid));var e=!1;h(w,function(b){if(w[b]==a)return e=b,!1});e&&b.push(e)});r.cmd.push(function(){var c=lc(a),d=[];h(c,function(a,c){c.getAdUnitPath();c.getSlotElementId();h(w,function(a,e){if(c.getAdUnitPath()==e)return~b.indexOf(a)||
(c.getAdUnitPath(),c.getSlotElementId(),c.setTargeting("show_backup","1"),d.push(c)),!1})});d.length&&h(d,function(a){S(d[a],"disp")})})}Q&&xb()}function kc(){!zb&&n(z.renderAd)&&(zb=z.renderAd,!bb&&n(Ab.renderAd)&&(bb=Ab.renderAd),Ab.renderAd=function(a,b){if(V)return ra("getDfpBidHtml",{id:b},sa,function(c){if(c.html||c.url){var e=yb();h(e,function(c){if(e[c].getTargeting("hb_adid")==b&&e[c].getSlotElementId()===a.defaultView.frameElement.parentNode.parentNode.id)return!1});if(c.html)a.write(c.html),
a.close();else if(c.url){var d=N("iframe");d.id="pb_frame_"+b+"_"+G();var f=[["allowtransparency","true"],["marginwidth","0"],["marginheight","0"],["hspace","0"],["vspace","0"],["frameborder","0"],["scrolling","no"],["border","0px"],["marginWidth",0],["marginHeight",0]];h(f,function(a){d.setAttribute(f[a][0],f[a][1])});d.style.border="0";c.w&&c.h&&(d.style.height=c.h+"px",d.style.width=c.w+"px",d.height=c.h,d.width=c.w);d.style.display="inline";d.style.overflow="hidden";d.src=c.url;var k=a.getElementsByTagName("body")[0];
k.insertBefore(d,k.firstChild)}c.w&&c.h&&a.defaultView&&a.defaultView.frameElement&&(a.defaultView.frameElement.width=c.w,a.defaultView.frameElement.height=c.h)}},function(){}),!0;var c=mc(b);c||!bb?(n(ha[b])&&ha[b]&&h(v,function(a){var e=v[a];if(n(e.bids)&&e.bids.length){var d=!1;h(e.bids,function(a){a=e.bids[a];if("teads"==a.bidder&&~a.__sds_id__.indexOf(c)){var f=t.getElementById(ha[b].getSlotElementId());f&&(f.setAttribute("data-google-id",f.id),f.id=a.__parentDivId);delete ha[b];d=!0;return!1}});
if(d)return!1}}),zb(a,b)):bb(a,b)})}function mc(a){var b=!1,c=!1,d=!1;h(p.bids.bids,function(e){var g=p.bids.bids[e];h(g.data,function(e){var f=g.data[e];if(f.adId==a&&!g.data[e].rendered)return b=g.adId,c=g.bids[e][2],d=g.bids[e][1],n(ia[f.adId])&&(d=ia[f.adId].da),g.data[e].rendered=!0,!1});if(c)return!1});Q&&!~da.indexOf(b)&&(da.push(b),ea(b,4,{bid_won:1}));L(function(a,b){return function(){N("img").src="//clickiocdn.com/npm_show/?rt="+G()+"&sds_id="+a+"&bid="+b+"&dfp_mode=1"}}(c,d));return c}
function zd(a,b){nc&&2!==b||(nc=!0,2!==b?Ya(a,function(a){jc(a,b)}):jc(a,b))}function oc(a,b){ca(Ga,function(a,b){return function(){zd(a,b)}}(a,b))}function lc(a){a=a||!1;var b=yb(),c=[],d=!1;a&&(d=a.map(function(a){return a.code}));h(b,function(e){b[e].getAdUnitPath();b[e].getSlotElementId();if(!a||~d.indexOf(b[e].getAdUnitPath())){var g=null;h(a,function(c){if(a[c].code==b[e].getAdUnitPath())return g=a[c],!1});var f=Ha(b[e]),k=Ia(g),l=!!~pc.indexOf(b[e].getSlotElementId());f&&(!f||k||l)||c.push(b[e])}});
return c}function qc(a,b){var c=!1;n(a)&&(~a.indexOf("dfp_spec_")?b?c=a.replace("dfp_spec_","").split("_").slice(-1)[0]:c=!0:/div-gpt-ad-\d+?-(\d)/im.test(a)&&(a=H(l(/div-gpt-ad-\d+?-(\d)/im.exec(a)[1],1)),1<a&&(b?c=a:c=!0)));return c}function Ha(a,b){return n(a.getSlotElementId)?qc(a.getSlotElementId(),b):!1}function rc(a){var b=t.getElementById(a.getSlotElementId());if(b)return!sc(b);a.getSlotElementId();a.getSlotElementId();return!1}function yb(a){var b=Bb(),c=[];h(b,function(b,e){e.getAdUnitPath();
e.getSlotElementId();if(a&&!~a.indexOf(e.getAdUnitPath()))return!0;var d=!1;h(w,function(a,b){if(e.getAdUnitPath()==b)return d=!0,!1});d&&(rc(e)?c.push(e):Q&&!~tc.indexOf(e.getAdUnitPath())&&(tc.push(e.getAdUnitPath()),h(w,function(a,b){if(e.getAdUnitPath()==b&&!~da.indexOf(a))return da.push(a),ea(a,4,{user_data:{ad_unit_hidden:1}}),!1})))});return c}function wb(a,b){return uc(a.code,l(a.site_area_sub_id),b||!1)}function uc(a,b,c){b=b||!1;c=c||!1;var d=!1,e=Bb(),g=[];h(e,function(f){g.push(e[f].getAdUnitPath());
if(e[f].getAdUnitPath()==a&&(!b||Ha(e[f],!0)==b))if(c)d||(d=[]),d.push(e[f]);else return d=e[f],!1});return d}function Cb(a){var b=null,c=Bb();h(c,function(d){if(c[d].getSlotElementId()==a)return b=c[d],!1});return b}function Bb(){return n(r.pubads)?r.pubads().getSlots():[]}function Ad(a,b){b=b||"0";n(Db[b])||(b="0");h(Db[b],function(c){c=Db[b][c];if(c.min<=a&&a<=c.max)return a=(Math.floor(a/c.inc)*c.inc).toFixed(c.prec),!1});return a}function Bd(a){var b=[],c=[];h(w,function(d){var e=w[d];h(a,function(g){g=
a[g];if(g.code!=e)return!0;Cd.push(g.code);if(l(g.__spec__)){var f=!1,k=Ia(g);if(!k)return cb(g.site_area_id,ta(l(g.__spec__.div_name)),g.__spec__),b.push(g),!1;if("auto"!==k&&(f=uc(e),!f))return c.push(g),!1;if("inarticle"==k||"auto"==k){if(!Dd(l(g.__spec__.check)))return c.push(g),!1}else if("1st_lazy"==k){k=ta(f.getSlotElementId());if(O(g.__spec__.lazy_load)<ja(k).top-ua()){f.setTargeting("_1st_lazy","1");var h=function(a,b,c){return function(){O(b.lazy_load)>=ja(c).top-ua()&&(a.clearTargeting("_1st_lazy"),
vc(m,h),h=null,a.getAdUnitPath(),a.getSlotElementId(),S(a))}}(f,g.__spec__,k);db(m,h)}b.push(g);return!1}q[e]=K(g.__spec__);q[e].siteAreaId=g.site_area_id;q[e].id=q[e].div_name;q[e].fa=f;"auto"!==k?(q[e].I=f.getSlotElementId(),q[e].Ba=f.getAdUnitPath()):(q[e].I="auto_slot_for_"+g.site_area_id,q[e].Ba=w[g.site_area_id]);f={id:d,type:"js",source:'<div id="'+q[e].I+'"></div>'};var u=[q[e].siteAreaId,1].join(".");if("auto"==k){k=t.querySelector(q[e].location);if(!k)return c.push(g),!1;u=N("div");u.id=
q[e].id;u.setAttribute("data-cnt",1);u.className="__lxG__multi __lxG__multi_"+q[e].id;k.parentNode.insertBefore(u,k.nextSibling);q[e].M=K(f);cb(g.site_area_id,u,q[e]);Ja(q[e].M,q[e],u,1,!0);b.push(g)}else if("refresh"==k)cb(g.site_area_id,ta(l(q[e].div_name)),q[e]),q[e].jb=setTimeout(function(a){return function(){r.cmd.push(function(){X&&Eb(a.fa);r.pubads().refresh([a.fa])})}}(q[e]),1E3*q[e].ar_time),b.push(g);else if("sticky"==k){q[e].s_c_s=1;q[e].sticky=Ed(q[e]);q[e].M=K(f);q[e].M.id=d;f=ta(q[e].I);
if(!f)return c.push(g),!1;k=ta(q[e].id,1);k||(k=N("div"),k.id=q[e].id,k.setAttribute("data-cnt",1),f.parentNode.insertBefore(k,f),k.appendChild(f));cb(g.site_area_id,k,q[e]);q[e].sticky&&Fd(q[e])&&(eb(q[e].M,q[e],k,1),q[e].sticky.i[1].gb=db(k.ownerDocument.defaultView,function(a,b,c){return function(e){eb(a,b,c,1,e)}}(q[e].M,q[e],k)));b.push(g)}else"inarticle"==k&&(q[e].ai_clone_source=1,q[e].a={J:!1,v:null,O:[],L:null,N:[],H:0,data:[]},(k=ta(q[e].id,1))&&k.parentNode.removeChild(k),q[e].a.data=K(f),
q[e].a.id=q[e].div_name,Ka.push(u),q[e].a.Na=function(a){return function(){Fb(a)}}(q[e]),db(m,q[e].a.Na),l(q[e].a.ai_1_lazy)?Fb(q[e]):wc(q[e],!1,!1),b.push(g))}else b.push(g);return!1})});return[b,c]}function Ya(a,b,c,d){if(!a.length)return!1;void 0===c&&(c=c||10);void 0===d&&(d=xc,xc++);var e=[],g=[];a=xd(Bd(a));e=a.next().value;g=a.next().value;if(e.length){var f=function(a,c){var e=[],d=[];c--;h(a,function(b){b=a[b];~Ka.indexOf(La(b)+".1")?e.push(b):d.push(b)});d.length&&L(function(){b(d)});c&&
e.length&&setTimeout(function(){f(e,c)},500)};f(e,10)}g.length&&c&&(c--,setTimeout(function(){Ya(g,b,c,d)},500))}function cb(a,b,c){l(c.pre_source)&&!l(c.qa)&&b&&(c.qa=!0,Gb(b,c.pre_source,!1,!0))}function Gd(a){if(a&&!~yc.indexOf(a)){yc.push(a);var b=null,c=!1;h(w,function(e){var d=w[e];if(a.getAdUnitPath()==d)return b=e,c=!0,Ha(a,!0),!1});if(c){var d=null;h(v,function(a){if(v[a].code==b)return d=v[a],!1});if(d&&l(d.__spec__)&&l(d.__spec__.cstm_szs)){var e=null,g=null;h(d.__spec__.cstm_szs[0],function(a){var b=
d.__spec__.cstm_szs[0][a];0==b[0]&&0==b[1]&&(g=d.__spec__.cstm_szs[1][a]);if(b[0]<m.innerWidth&&(b[1]>=m.innerWidth||"maxwidth"==b[1]))return e=d.__spec__.cstm_szs[1][a],!1});e?a.defineSizeMapping(r.sizeMapping().addSize([0,0],e).build()):g&&a.defineSizeMapping(r.sizeMapping().addSize([0,0],g).build())}}}}function zc(a){var b=a.split("["),c=b[0];a="__lxG198659__kv_"+c;var d=Hb.get(a);null===d&&("clickio_pricelift"==c?d="p"+("00"+Ma(1,10)).slice(-2)+"_set"+("00"+Ma(1,20)).slice(-2):n(b[1])?(b=b[1].slice(0,
-1),~b.indexOf("-")?(b=b.split("-"),d=Ma(b[0],b[1])):~b.indexOf("|")?(b=b.split("|"),d=b[Math.floor(Math.random()*b.length)]):d=b):d=Ma(1,100));null===Na&&(Na=new Date,Na.setTime(Na.getTime()+9E5));Hb.set(a,d,Na,"/");return d}function Eb(a){if(a&&!~Ac.indexOf(a)){Ac.push(a);var b=null,c=null,d=!1;h(w,function(e){var f=w[e];if(a.getAdUnitPath()==f)return b=e,d=!0,c=Ha(a,!0),!1});if(d){var e=null;h(v,function(a){if(v[a].code==b)return e=v[a],!1});if(e){if(l(e.__kv__)){var g=e.__kv__;g.length&&h(g,function(b){var c=
g[b].split("[")[0];b=zc(g[b]);a.setTargeting(c,b)})}if(l(e.__spec__)&&1==l(e.__spec__.plkv)){var f=zc("clickio_pricelift");a.setTargeting("clickio_pricelift",f)}if(l(e.__spec__)&&l(e.__spec__.bplkv))if(100*Math.random()<=e.__spec__.bplkv.opt){var k=e.__spec__.bplkv,B=k.sets,u=k.extp;f=va&&n(m.__lxGr__.conf)&&n(m.__lxGr__.conf.dev);var T=null;f&&(T=m.__lxGr__.conf.dev);var F=0;if(u&&(u=k.devs,f&&n(u[T])&&(k=u[T],h(k.sets,function(a,b){B[a]=b})),(k=k.hours)&&0<Object.keys(k).length)){T=24/Object.keys(k).length;
u=l(e.__spec__.bplkv.offs,0);var A=new Date;T=Math.floor((new Date(A.valueOf()+6E4*(A.getTimezoneOffset()-60*u))).getHours()/T);n(k[T])&&(k=k[T],h(k.sets,function(a,b){B[a]=b}))}h(B,function(a,b){F+=U(b.wght)});if(0<F){var y=null,q=Ma(1,F),t=0;h(B,function(a,b){t+=H(b.wght);if(t>=q)return y=a,!1});if(y)if(a.setTargeting("pl_set",y),n(B[y].rule))a.setTargeting("pl_rule",""+B[y].rule);else if(k=null,k=f?B[y].dev[m.__lxGr__.conf.dev]:B[y].dev[0])Oa(k)&&0<k.length?(T=24/k.length,u=l(e.__spec__.bplkv.offs,
0),A=new Date,T=Math.floor((new Date(A.valueOf()+6E4*(A.getTimezoneOffset()-60*u))).getHours()/T),a.setTargeting("pl_rule",""+k[T])):a.setTargeting("pl_rule",""+k)}}else a.setTargeting("pl_set","0");p.bids.bids&&(f=!0,l(e.__spec__)&&l(e.__spec__.ai_szs)&&l(e.__spec__.ai_szs_only)&&~l(e.__spec__.ai_szs_pos,[]).indexOf(c?c:1)&&(f=!1),f&&h(p.bids.bids,function(c){var e=p.bids.bids[c];if(e.id==b){var d=!1,f=!1;h(e.data,function(a){var b=e.bids[a];!e.data[a].used&&(!1===d||d<b[1])&&(f=a,d=b[1])});!1!==
f&&(c=p.bids.bids[c].data[f],c.used=!0,a.setTargeting("hb_pb",c.adserverTargeting.hb_pb),a.setTargeting("hb_adid",c.adserverTargeting.hb_adid),ha[c.adserverTargeting.hb_adid]=a);return!1}}))}}}}function Ia(a){var b=null;n(a.__spec__)&&(1==l(a.__spec__.auto_ins)?b="auto":l(a.__spec__.s_s_top)?b="sticky":1==l(a.__spec__.ai_mode)?b="inarticle":l(a.__spec__.lazy_load)&&(b="1st_lazy"));return b}function vb(a){var b=!1;h(w,function(c,d){if(d==a)return b=c,!1});return b}function La(a){return l(a.site_area_id,
a.code)}function fb(a){h(w,function(b){var c=w[b];h(a,function(d){d=a[d];var e=l((""+d.code).split(".")[1]);(""+d.code).split(".")[0]==b&&(l(d.site_area_id)||(d.site_area_id=b),!l(d.site_area_sub_id)&&e&&(d.site_area_sub_id=e),d.code=c+(e?"."+e:""))})})}function Bc(a,b,c){h(w,function(d,e){var g=[a,b].join("--");if(a==e&&!~Cc.indexOf(g))return Cc.push(g),Q&&!~da.indexOf(d)&&(da.push(d),ea(d,4,{max_bidder:"googledfpadx",user_data:{google_impression:1}})),h(p.bids.bids,function(a){var b=p.bids.bids[a];
if(b.id==d)return h(b.data,function(a){if(b.data[a].adId==c)return b.data[a].used&&!b.data[a].rendered&&(b.data[a].used=!1,n(ha[c])&&delete ha[c]),!1}),!1}),!1})}function Ja(a,b,c,d,e){d=d||null;e=e||!1;if(null===X)return ca(Ga,function(a,b,c,e){return function(){Ja(a,b,c,e)}}(a,b,c,d)),!0;n(b.ua)||(b.ua=[]);var g="dfp_spec_"+b.id+"_"+d,f=a.source;1<d&&(f=f.split(b.I).join(g));n(b.pre_source)&&!n(b.qa)&&(b.qa=!0,f="<div data-lxpresource='1'>"+b.pre_source+"</div>"+f);Gb(c,f,!0);Hd(a,b,c,d,e);a=[b.siteAreaId,
d].join(".");~Ka.indexOf(a)&&Ka.splice(Ka.indexOf(a),1)}function Hd(a,b,c,d,e){r.cmd.push(function(a,b,c,d){return function(){if(d&&1<d||e){var a="dfp_spec_"+b.id+"_"+d,c=[];"auto"!==Ia(b)?(c=K(b.fa.getSizes()),h(c,function(a){"fluid"!=c[a]&&(c[a]=[c[a].getWidth(),c[a].getHeight()])})):c=b.sizes;l(b.ai_szs)&&~l(b.ai_szs_pos,[]).indexOf(d)&&(l(b.ai_szs_only)&&(c=[]),h(b.ai_szs,function(a){c.push(b.ai_szs[a])}));var f=(gb?gb:r.defineSlot)(b.Ba,c,a).addService(r.pubads());b.ua.push(a);(d&&1<d||$a)&&
S(f)}else f=Cb(b.I),S(f,"kv"),b.ua.push(b.I)}}(a,b,c,d))}function S(a,b){if("1"==a.getTargeting("_1st_lazy"))return a.getAdUnitPath(),a.getSlotElementId(),!1;a.getAdUnitPath();a.getSlotElementId();b&&"kv"!==b||(X||a.setTargeting("show_backup","1"),Eb(a));Gd(a);if(Ib()){var c=!1;c=void 0===c?!0:c;var d=Id().href;d&&c&&(d=encodeURIComponent(d));(c=d)&&l(m.__lxG__.sendPageUrl)&&a.set("page_url",c)}b&&"disp"!==b||(rc(a)?(b=a.getSlotElementId(),r.display(b),n(m.google_DisableInitialLoad)&&m.google_DisableInitialLoad&&
(b=Cb(b))&&r.pubads().refresh([b]),ab(a)):ab(a,!0))}function eb(a,b,c,d){b.tb=!0;var e=b.sticky,g=d?U(d):1;n(e.i[g])||(e.i[g]={});1!=g||n(e.i[g].Ja)||(e.i[g].Ja=!0,e.i[g].K=c,e.ta=1);var f=e.i[g],k=null===Pa?ua():Pa,B=!1,u=Date.now();n(e.g)&&null!==e.g||(e.g=[],e.ea=k,f.u=null,f.T=null);Jd(e.g,function(a,b){500<u-b[0]&&e.g.splice(a,1)});e.g.length||(e.ea=null,Jb(e.i,1));e.ea!=k&&(e.g.push([u,k]),e.ea=k);if(2<e.g.length){var m=e.g[e.g.length-1],F=e.g[e.g.length-2],A=e.g[e.g.length-3];if(0<F[1]-A[1]&&
0>m[1]-F[1]||0>F[1]-A[1]&&0<m[1]-F[1])A=[],A.push(F),A.push(m),e.g=A,Jb(e.i,1)}m=l(f.Ja);F=g==e.S;if(n(f.A)&&k<=f.A-Y()/8&&(f.oa||F)&&1==f.j||n(f.pa)&&k>=f.pa+Y()/8&&(f.oa||F)&&3==f.j)return!0;n(e.f)||(e.f={},e.f.clientHeight=-1,e.f.Ia=Y(),e.f.Y=null,e.f.ba=null,setInterval(function(a){return function(){a.f.Ia=Y()}}(e),500));A=e.f.Ia!=e.f.clientHeight;var y=!n(f.c)||A,p=0;A&&(A=Y(),e.f.ja=O(e.ja),e.f.ha=O(e.ha),-1==e.f.clientHeight&&(e.f.ka=O(e.ka),e.f.ga=O(e.ga),e.f.ia=O(e.ia)),e.f.clientHeight=
A);A=Qa(e.hb);y=y||A!=e.f.Y;p+=A-e.f.Y;e.f.Y=A;A=ja(e.ya).top;y=y||A!=e.f.ba;e.f.ba=A;var q=e.f.Y,t=e.f.ba,v=e.f.ja,r=e.f.ka,w=e.f.ga,x=e.f.ha,C=e.f.ia;y&&(delete f.A,delete f.pa,f.c={ob:Kd(c),cb:Ld(c)});A=f.c.cb;var z=H(c.offsetHeight);if(n(e.i[g+1])&&l(e.i[g+1].ra)!=z||p){var D=0;h(e.i,function(a){var b=e.i[a];a>g&&(a==g+1&&(D+=z-b.ra,b.ra=z),D&&(b.F+=D,b.A+=D,1==b.j&&(b.K.style.top=U(b.K.style.top)+D+"px")));p&&(b.F+=p,b.A+=p,1==b.j||3==b.j)&&(b.K.style.top=U(b.K.style.top)+p+"px")})}y&&(y=wa(e.ya),
f.c.B=0,f.c.B+=U(y.paddingTop),f.c.B+=U(y.marginTop),f.c.B+=U(y.borderTop));t-=f.c.B;m?(n(f.Ca)||(f.Ca=ja(c).top-q),y=q+f.Ca):y=f.F;y-=v;r=y+r-v;q=x+z+w;var G=t-r-v-z;if(r>t-v-z-q||F)r=t-x-z-v,G=t-k-v-z;var K=t-z-x;w=r+z+w+v;C=w-C;var M=w+z;Jb(e.i,2);if(e.g&&1<e.g.length){var I=null,J=null,P=0,Q=0;Z(e.g,function(a){a<e.g.length-1&&(P+=e.g[1+a][0]-e.g[a][0],Q+=e.g[1+a][1]-e.g[a][1])});I=Q/P;J=Math.abs(I);if(2===f.u&&k<r||1==l(f.j,1)&&k<y&&0<I&&10>(y-k)/J)k=y+1,B=!0;else if(1===f.u||2==l(f.j)&&k>y&&
0>I&&10>(k-y)/J)k=y,B=!0;else if(2===f.u&&k<y||3==l(f.j)&&k>r&&0>I&&10>(k-r)/J)k=r+1,B=!0;else if(3===f.u||2==l(f.j)&&k<r&&0<I&&10>(r-k)/J)k=r,B=!0}k>y&&(!F&&k<r||F)&&G>x&&2!=l(f.j)&&y<r?(1===f.j&&(f.A=k),f.j=2,Kb(B,f,u),Ra(c,[g,"pos_fixed","moving"]),c.style.position="fixed",c.style.top=v+"px"):k<=y&&1!=l(f.j)?(2===f.j&&(f.A=k),f.j=1,Kb(B,f,u),m?(Ra(c,[g,"pos_empty"]),c.style.position="",c.style.top=""):(Ra(c,[g,"pos_abs","home_top"]),c.style.position="absolute",c.style.top=f.F+-A+"px")):(!F&&k>=
r&&G>=q||G<=x)&&3!=l(f.j)&&y<r&&(2===f.j&&(f.pa=r+25),G<=x&&(e.S=g,F=!0),f.j=3,Kb(B,f,u),Ra(c,[g,"pos_abs","home_bot"]),c.style.position="absolute",c.style.top=(!F&&r<K&&G>q?r:K)+-A+v+"px");n(e.i[g].Za)||(e.i[g].Za=!0,setTimeout(function(){return function(){eb(a,b,c,d)}}(),50));if(29<z&&k>=C&&M<=t-x&&!l(f.next)&&e.ta<e.S){f.oa=!0;k=N("div",c.ownerDocument);k.id=c.id;k.className=c.className;var E=H(c.getAttribute("data-cnt"))+1;k.setAttribute("data-cnt",E);e.i[E]={j:1,F:w,ra:z,K:k};f.next=E;e.ta++;
e.ta>=e.S&&(e.i[E].oa=!0,e.i[E].mb=!0);Ra(c,[g,"pos_abs","home_top"]);k.style.position="absolute";c.parentNode.insertBefore(k,c.nextSibling);k.style.top=e.i[E].F+-A+"px";var R=function(a,b,c,e){return function(){eb(a,b,c,e)}}(a,b,k,E);f=function(){return function(){L(R);e.i[E].gb=db(c.ownerDocument.defaultView,R)}}();if(e.Ua)Ja(a,b,k,E),f();else{var S=function(){return function(){}}(a,E,f);ra("getBids",{ids:[a.id+"."+E]},Dc,function(a){a.bids&&h(a.bids,function(b){Lb.bids||(Lb.bids=[]);Lb.bids.push(a.bids[b])});
S()},function(){S()})}}}function Kb(a,b,c){a&&b.u!=b.j&&(b.u=b.j,b.T=c)}function Jb(a,b){var c=Date.now();h(a,function(d){n(a[d].u)&&(1==b||1==b&&a[d].T&&a[d].T<c-10)&&(a[d].u=null,a[d].T=null)})}function Ra(a,b){Md(a);h(b,function(a){b[a]="__lx_sticky_"+b[a]});Nd(a,b.join(" "))}function Md(a){var b=a.className.split(" "),c=/\b__lx_sticky_\w+?\b/g;Z(b,function(a){b[a].match(c)&&delete b[a]});a.className=b.join(" ")}function Fd(a){var b;(b=!l(a.s_w_lmt))||(b=m,b=l(a.s_w_lmt)<=(Ec&&!b.opera?b.document.documentElement.clientWidth:
b.document.body.clientWidth));return b}function Ed(a){var b=!1;l(a.s_s_top)&&l(a.s_s_bot)&&t.querySelector(l(a.s_s_top))&&t.querySelector(l(a.s_s_bot))&&(b={i:{},hb:t.querySelector(l(a.s_s_top)),ya:t.querySelector(l(a.s_s_bot)),ka:l(a.s_d_trvl,1500),ja:l(a.s_d_top,10),ga:l(a.s_d_btwn,"1s"),ha:l(a.s_d_bot,5),ia:l(a.s_d_pre,"1s"),S:l(a.s_lmt,1),Ua:l(a.s_c_s,1)});return b}function Od(a){for(var b=a.a.N.length,c=O(a.ai_min_space),d=O(a.ai_1_space),e=O(a.ai_preload),g=ua(),f=null,k=null,B=!1,u=b?Qa(a.a.N[b-
1].l):0,m=-1;!B&&m<a.a.v.length;)if(m++,n(a.a.v[m])&&!~a.a.O.indexOf(a.a.v[m])){f=a.a.v[m];k=Qa(f);(B=(b?u+c:d)<k)||f&&a.a.O.push(f);if(l(a.ai_1_lazy)&&B&&(B=k<=g+Y()+e,!B))break;B&&a.a.L&&a.a.L.length&&(h(a.a.L,function(a,b){Z(b.ab,function(a,c){a=ja(c).top;c=a+H(c.offsetHeight);if(a>k&&a-b.Ka<k||c<k&&c+b.Ka>k||a==k||c==k||a<k&&c>k)return B=!1});if(!B)return!1}),!B&&f&&a.a.O.push(f))}return B?f:null}function Fb(a){var b=a.a.N;if(!b||b.length>=a.ai_max_count)b=!1;else{var c=0;b.length?(c+=Qa(b[b.length-
1].l),c+=O(a.ai_min_space)):c+=O(a.ai_1_space);b=c<ua()+Y()+O(a.ai_preload)}!a.a.J&&b&&wc(a)}function Pd(a,b,c){var d=c.ids;d.length&&h(d,function(c){b.a.W?h(a.o,function(b){if(a.o[b].Fa==d[c].old&&!l(a.o[b].Ta))return a.o[b].l.setAttribute("data-cnt",d[c].cnt),a.o[b].Oa=d[c].cnt,a.o[b].Fa=d[c]["new"],a.o[b].Ta=!0,!1}):a.l.setAttribute("data-cnt",d[c].cnt);b.a.H<d[c].cnt&&(b.a.H=d[c].cnt)})}function wc(a,b,c){c=c||!1;if(a.a.J&&!b)return!1;if(a.a.N.length>=a.ai_max_count)return vc(m,a.a.Na),!1;a.a.J=
!0;a.a.v=Array.prototype.slice.call(t.querySelectorAll(a.location));a.pb&&Z(a.a.v,function(b,c){Y(c.ownerDocument.defaultView)>Qa(c)&&Fc(c)&&a.a.O.push(a.a.v[b])});var d=0;Z(a.a.v,function(b,c){~a.a.O.indexOf(c)||d++});if(!d)return a.a.J=!1;if(l(a.ai_border_check)){a.a.L=[];b=a.ai_border_check;b=b.split(",");var e=O(a.ai_min_space);h(b,function(b,c){b=e;var d=/:(\d+?s?)$/im.exec(c);null!=d&&(b=O(d[1]),c=c.substring(0,c.length-(":"+d[1]).length));d=[];try{d=t.querySelectorAll(c)}catch(re){}d&&d.length&&
a.a.L.push({qb:c,Ka:b,ab:d})})}b=Od(a);var g=null;if(b){g={};var f=H(c?c:++a.a.H);c&&c>a.a.H&&(a.a.H=c);var k=[a.a.id+"."+f];a.a.W=!1;n("__lxGr__")&&n(m.__lxGr__)&&n(m.__lxGr__.conf)&&n(m.__lxGr__.conf.dev)&&2!==m.__lxGr__.conf.dev&&(a.a.W=l(a.ai_double));var B="__lxG__multi __lxG__multi_"+a.id;if(a.a.W){if(!Gc){Gc=!0;var u=N("link");u.setAttribute("rel","stylesheet");u.setAttribute("type","text/css");u.href=Qd+"static.luxup.ru/t/static/inarticle.css";Hc.appendChild(u)}g.l=N("div");g.l.className=
"__lxG__double";g.o=[];for(u=0;2>u;u++){var p=N("div");p.id=a.id;p.className=B;p.setAttribute("data-cnt",f+u);g.l.appendChild(p);g.o.push({l:p,nb:u,Fa:a.id+"."+(f+u),Oa:f+u});0<u&&(a.a.H++,k.push(a.a.id+"."+(f+u)))}}else g.l=N("div"),g.l.id=a.id,1<f&&g.l.setAttribute("data-cnt",f),g.l.className=B;l(a.inject_pre_process)?a.inject_pre_process(b,g.l,{}):b.parentNode.insertBefore(g.l,b.nextSibling);a.a.N.push(g);var F=!!l(a.ai_clone_source,0);if((F||1==f)&&a.a.data.source){var A=function(a,b,c,e){return function(){b.a.W?
h(c.o,function(a){Ja(b.a.data,b,c.o[a].l,c.o[a].Oa);if(!F)return!1}):Ja(b.a.data,b,c.l,e);F||(b.a.data.source=!1);b.a.J=!1;Fb(b)}}(k,a,g,f);c?A(1):ra("getBlockNum",{ids:k},Dc,function(a,b,c){return function(a){Pd(b,c,a);A(1);return-1}}(k,g,a,f),A)}}else a.a.J=!1;return g?g.l:!1}function O(a,b){b=b||0;a=l(a,!1);if(!1===a||null===a)return b;"string"==typeof a&&"s"==a.slice(-1)?(b=/((\d|\.|,)+?)s/im.exec(a),null!=b?a=Math.round(parseFloat(b[1])*Y()):a=H(a)):a=H(a);return a}function Dd(a){var b=!1;if(!1===
a)return b;try{b=null!==t.querySelector(a)}catch(c){}return b}function Ic(a,b,c){c=c||function(b){r.cmd.push(function(){oc(a,b)});aa&&Mb()};p.bids.end||(p.bids.end=(new Date).getTime());!1!==b&&void 0!==b?(h(b,function(a){h(b[a].bids,function(){})}),p.bids.bids||(p.bids.bids=[]),h(b,function(a){var c=a.split("-"),d=(""+a).split(".")[0];h(w,function(a){if(d==w[a]||d=="dfp_spec_"+a+"_1")return c=(""+a).split("-"),!1});h(c,function(e){var d=c[e];p.bids.bidding&&xa(p.bids.bidding,~d.indexOf(".")?d:H(d));
var f=!1;h(p.bids.bids,function(a){p.bids.bids[a].id==d&&(f=a)});!1===f&&(f=p.bids.bids.push({id:d,data:[],bids:[]}),--f);var g=b[a].bids,m=p.bids.bids[f].bids.length;h(g,function(a){var b=m+H(a),c=g[a];a=p.bids.bids[f];a.data[b]={adId:c.adId,used:!1,sent:!1,sent_time:!1,rendered:!1,asked:!1,html:l(c.ad,""),url:l(c.adUrl,""),w:l(c.width,0),h:l(c.height,0),ttr:l(c.timeToRespond,0),timeouted:n(c.getStatusCode)&&3===c.getStatusCode(),adserverTargeting:c.adserverTargeting};a.bids[b]=[c.bidder];a.bids[b].push(c.cpm);
var d=!1;(c=Jc(c))&&(d=c.__sds_id__[e]);d&&a.bids[b].push(d)})})}),Kc(a),p.bids.bidding.length||(p.bids.bidding=!1),Q&&(h(p.bids.bids,function(a,b){var c=[],e=[];h(b.bids,function(a,d){var f={},g=d[1];n(ia[b.data[a].adId])&&(g=ia[b.data[a].adId].da);f.ds=d[0];f.cpm=g;f.cpm_raw=d[1];f.cpm_bck=b.data[a].adserverTargeting.hb_pb;f.sds=d[2];f.ttr=b.data[a].ttr;b.data[a].timeouted&&(f.tout=1);c.push(f);e.push(["",g,d[2]].join("_"))});a={bidding_time:p.bids.end-p.bids.start,bids:JSON.stringify(c)};ea(b.id,
2,a)}),qa&&xb())):Kc(a);c(!1);Rd("localBidsReady")}function Kc(a){h(a,function(b){b=a[b].code;var c=b.split("-"),d=(""+b).split(".")[0];h(w,function(a){if(d==w[a]||d=="dfp_spec_"+a+"_1")return c=(""+a).split("-"),!1});h(c,function(a){a=c[a];p.bids.bidding&&xa(p.bids.bidding,~a.indexOf(".")?a:H(a))})})}function Sd(a){var b=!1;h(z.adUnits,function(c,d){h(d.bids,function(c,g){if(l(g.bidId)==a.adId||l(g.bidId)==a.creativeId)return b=d,!1});if(b)return!1});return b}function Jc(a){var b=!1;h(z.adUnits,
function(c,d){h(d.bids,function(c,d){if(l(d.bidId)==a.adId||l(d.bidId)==a.creativeId)return b=d,!1});if(b)return!1});return b}function Lc(a,b,c){var d=[],e=[],g=b||function(a){a||Mb()},f=c||g||function(a){a||Mb()};ca(ya,function(){if(J||null===J)if(h(a,function(b){var c=""+a[b];c&&h(v,function(f){f=v[f];var g=(""+f.code).split("-"),k=g.indexOf(c),h=c.split(".")[0];g=g.indexOf(h);if(~k||~g)l(f.__tmp__.xa)?(l(f.__tmp__.m)||(f.__tmp__.m=[]),~k&&!~f.__tmp__.m.indexOf(c.replace("_",""))?f.__tmp__.m.push(c.replace("_",
"")):~g&&!~f.__tmp__.m.indexOf(h.replace("_",""))&&f.__tmp__.m.push(h.replace("_",""))):(e.push(a[b]),d.push(f),f.__tmp__.xa=!0,l(f.__tmp__.m)||(f.__tmp__.m=[]),~k?f.__tmp__.m.push(c.replace("_","")):~g&&f.__tmp__.m.push(h.replace("_","")),l(f.site_area_id)||(f.site_area_id=h.replace("_","")),h==c||l(f.site_area_sub_id)||(f.site_area_sub_id=c.split(".")[1]))})}),d.length)return d=K(d),e=hb(e),Q&&e.length&&h(e,function(a){ea(e[a],1,{ses_type:2,url:m.location.href})}),fb(d),I(d),x(d),Nb(d),z.addAdUnits(d),
z.requestBids({adUnitCodes:d.map(function(a){return a.code}),bidsBackHandler:function(a){return function(b){Ic(a,b,function(a){g(a)})}}(d)}),!0;f()});return!1}function Mb(){aa&&ib("dfpTargeting",{},function(a,b){return a=Mc(b.slots)})}function Nb(a){p.bids.bidding||(p.bids.bidding=[]);h(a,function(a,c){l(c.bids,[]).length&&Array.prototype.push.apply(p.bids.bidding,c.__tmp__.m)});h(p.bids.bidding,function(a){p.bids.bidding[a]=~(""+p.bids.bidding[a]).indexOf(".")?p.bids.bidding[a]:H(p.bids.bidding[a])});
p.bids.bidding=hb(p.bids.bidding);p.bids.bidding.length||(p.bids.bidding=!1);Q&&h(p.bids.bidding,function(a){ea(p.bids.bidding[a],1,{ses_type:2,url:m.location.href})})}function Td(a){var b=t.location.hostname.split(".").slice(-2).join(".");h(a,function(c,d){a[c].code+="";h(d.bids,function(e){n(d.bids[e].__drestr__)&&!~d.bids[e].__drestr__.indexOf(b)&&delete a[c].bids[e]});a[c].bids=a[c].bids.filter(function(a){return null!==a})});a=a.filter(function(a){return!!a})}function Ud(a){var b=[];h(a,function(c){b=
b.concat((""+a[c].code).split("-").map(function(a){return"_"+a}))});var c=l(window.__lxGpp__,l(window.__lxGp__));c&&n(c.s)&&(c=l(c.s._198659))&&n(c.b)&&(b=c.b);if(b.length){var d=hb(b.map(function(a){return a.split(".")[0]}));h(a,function(c){var e=a[c];if(l(e.__spec__)&&"auto"==Ia(e)){if(!va)return!0;var f="_"+(""+e.code).split(".")[0],k=!1;if(~Object.keys(m.__lxGr__).indexOf(f))k=!0;else{var n=!1;h(m.__lxGr__,function(a){h(m.__lxGr__[a],function(a){if(a==f)return n=!0,!1});if(n)return!1});n&&(k=
!0)}if(k&&!~d.indexOf(f))return delete a[c],!0}var u=(""+e.code).split("-"),p=!1;h(u,function(a){var c=(""+u[a]).split(".")[0];a=b.indexOf("_"+c);c=d.indexOf("_"+c);if(~a||~c){var f=null;~a?f=b[a]:~c&&(f=b[c]);p=!0;l(e.__tmp__.m)||(e.__tmp__.m=[]);e.__tmp__.m.push(f.replace("_",""));a=f.replace("_","").split(".");e.site_area_id=a[0];e.site_area_sub_id=l(a[1])}});p||delete a[c]});a=a.filter(function(a){return!!a})}}function Ob(){if(Nc){if(null===J){var a=Hb.get("__lxG__consent__");null!==a&&(a=a.split("|"),
J=a[0])}1==l(ka.pauseLoad)&&(Pb=!0);null===J&&(J=true);var b=function(){},c=function(){};n(ka.resumeLoad)&&(b=ka.resumeLoad);n(ka.allowPersAds)&&(c=ka.allowPersAds);ka.resumeLoad=function(){Pb=!1;Qb(ya);b()};ka.allowPersAds=function(a){J=U(a);c(a)}}Oc=!0;Pc&&ib("gotConsent",{pers:J});Pb||Qb(ya)}function Qc(a,b){a=a||[];b=b||!1;Rc||(Rc=setTimeout(Sc,25));var c=D.length;D.push({id:c,V:a,na:-1,aa:b,la:!1});return c}function ca(a,b){n(D[a])&&D[a].aa?
L(b):D[a].V.push(b)}function Qb(a){n(D[a])&&(D[a].aa=!0)}function Vd(a){h(D[a].V,function(b){b>D[a].na&&(D[a].na=b,L(D[a].V[b]))});D[a].la=!1}function Sc(){h(D,function(a){D[a].aa&&!D[a].la&&D[a].V.length>D[a].na+1&&(D[a].la=!0,L(function(a){return function(){Vd(a)}}(a)))});setTimeout(Sc,25)}function ra(a,b,c,d,e,g){var f=!1,k=!1;a=E(a,b,c);Wd(a,function(a,b){f=!0;if(k)return!1;d(a,b)});setTimeout(function(){k=!0;if(f)return!1;e()},g||250)}function za(a,b,c,d,e){a={Ma:d||!1,P:e||!1,src:a,bb:b,eb:c};
a[Aa]=Sa(10);return a}function E(a,b,c,d){return Rb("event",{event_type:a,event:b},c,d)}function Rb(a,b,c,d){var e=c.bb,g=c.eb,f=c.src;if(!n(f)||!n(f.postMessage))return!1;b.type=a;b.rnd=Sa(10);b.sender_id=Aa;b.prefix=Ba[0];b.broadcast=d||!1;c.Ma&&(b["for"]=c.Ma);a=!1;d=c=null;if(!~Sb.indexOf("iphone"))try{d=f.location.protocol+"//"+f.location.hostname,c="*"==e?!0:d==e}catch(u){}if(null===c||c){a=Xd(b);var k=Yd(a,51200),l=k.length;1<l?h(k,function(a){f.postMessage(g+"|"+b.rnd+";"+a+";"+l+"|"+k[a],
e)}):f.postMessage(g+"|"+k[0],e);a=b.rnd}return a}function Yd(a,b){for(var c=[],d=0,e=a.length;d<e;d+=b)c.push(a.substr(d,b));return c}function Tc(a,b,c,d){Rb("subscribe",{subscriber:{prefix:c||Aa,events:Zd(a)}},b,d)}function Zd(a){var b=null;Oa(a)?(b={},h(a,function(c){b[a[c]]={}})):b=K(a);return b}function ib(a,b,c,d){d=d||!1;b=b||{};c=c||function(a){return a};h(la,function(e){if(n(la[e].C[a])||n(la[e].C["*"])){var g=l(la[e].C[a],{}),f=c(K(b),g,la[e].La);!1!==f&&(g={event_type:a,event:f,event_params:g},
d&&(g.source_rnd=d),Rb("event",g,la[e].La,!1))}})}function $d(a,b,c){var d=za(a.source,a.origin,l(b.prefix,c),l(b.rnd),l(b["for"]));d.rb=b.sender_id;if(d.P&&n(Ta[d.P]))return Ta[d.P]&&(Ta[d.P](b.event,d),Ta[d.P]=null),!0;h(Ca,function(a){if(Ca[a]&&~Ca[a].C.indexOf(b.event_type)){var c=Ca[a].G(b.event,d);if(-1===c)delete Ca[a];else if(0===c)return!1}})}function Wd(a,b){Ta[a]=b}function ma(a,b){a=Oa(a)?a:[a];Ca.push({C:a,G:b})}function Uc(a){return ba.parse(a,function(a,c){if("string"===typeof c&&":f:"===
c.substr(0,3)){var b=ae.exec(c.substr(3));if(null!==b){a=b[1];b=b[2];try{c=new Function(a,b)}catch(e){}}}return c})}function Xd(a){return ba.stringify(a,function(a,c){return"function"===typeof c?":f:"+c:c})}function sc(a){if(!a)return!0;var b=wa(a);return"none"!=b.getPropertyValue("display")&&"hidden"!=b.getPropertyValue("visibility")&&Fc(a)?a.parentNode&&a.parentNode!=Vc?sc(a.parentNode):!1:!0}function Fc(a){return n(a.getClientRects)&&(a=a.getClientRects())&&n(a[0])&&n(a[0].right)&&n(a[0].left)?
(a=a[0],{width:Tb(a.right-a.left),height:Tb(a.bottom-a.top)}):!1}function Wc(a){var b="",c;for(c in a)a.hasOwnProperty(c)&&(b+="&"+encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b}function jb(a,b,c,d){b||(b=function(){});d||(d=function(){});c=c||t;var e=N("script",c);e.setAttribute("type","text/javascript");e.setAttribute("src",a);e.setAttribute("async","async");n(e)&&(be?e.onreadystatechange=function(){"loaded"==this.readyState||"complete"==this.readyState?L(b):L(d)}:(e.onload=function(a){var c=
this;L(function(){b.call(c,a);c.parentNode.removeChild(c)})},e.onerror=function(a){var b=this;L(function(){d.call(b,a);b.parentNode.removeChild(b)})}),Xc(c).appendChild(e))}function Gb(a,b,c,d){d=d||!1;if(!n(a)||!n(a.ownerDocument))return!1;var e=a.ownerDocument;if(!Yc(a,a.ownerDocument.defaultView))return!1;if(b){var g=[];if(c||d){c=a.firstChild;var f=N("div",e);for(f.innerHTML=b;f.firstChild;)kb(f.firstChild)?g.push(f.firstChild):Z(f.firstChild.childNodes,function(a){kb(f.firstChild.childNodes[a])&&
g.push(f.firstChild.childNodes[a])}),d?a.insertBefore(f.firstChild,c):a.appendChild(f.firstChild)}else a.innerHTML=b,Z(a.childNodes,function(b){kb(a.childNodes[b])?g.push(a.childNodes[b]):Z(a.childNodes[b].childNodes,function(c){kb(a.childNodes[b].childNodes[c])&&g.push(a.childNodes[b].childNodes[c])})});g.length&&h(g,function(b){var c=g[b].parentNode;c?c.removeChild(g[b]):c=a;b=g[b];var d=e;d=d||t;c=c||Hc;var f=N("script",d);f.type="text/javascript";if(n(b.src)&&b.src)f.src=b.src,f.className=b.className;
else{var k=b.text||b.textContent||b.innerHTML||"";f.className=b.className;f.appendChild(d.createTextNode(k))}c.appendChild(f)})}}function Rd(a,b){b=b||{};h(Da,function(c){if(Da[c]&&~Da[c].C.indexOf(a)){var d=Da[c].G(K(b));if(-1===d)delete Da[c];else if(0===d)return!1}})}function ce(a,b){a=Oa(a)?a:[a];Da.push({C:a,G:b})}function de(){var a=!1;if(m===m.top)a=t.referrer;else try{a=m.top.location.href}catch(b){a=t.referrer?t.referrer:m.location.href}a&&(a=encodeURIComponent(a));return a}function Id(){var a=
!1;if(null!==Ub)return Ub;if(m===m.top)a=m.location;else try{a=m.top.location.href?m.top.location:!1}catch(b){t.referrer?(a=N("a"),a.href=t.referrer):a=m.location}return a?Ub={href:a.href,host:a.host,hostname:a.hostname,origin:a.origin,pathname:a.pathname,port:a.port,protocol:a.protocol,hash:a.hash,search:a.search}:a}function ee(){var a=!1;try{a=m.top.document.getElementsByTagName("title")[0].innerHTML}catch(b){}if(!a)try{a=t.getElementsByTagName("title")[0].innerHTML}catch(b){}a&&(a=encodeURIComponent(a.trim().substring(0,
256)));return a}function Ib(){try{return m.self!==m.top}catch(a){return!0}}function Zc(a){!a&&0!==a||"function"!=typeof lb[a]||(lb[a](),delete lb[a])}function L(a){null===Vb&&(Vb=n(m.MessageChannel));null===Wb&&(Wb=n(m.requestAnimationFrame));a=lb.push(a);var b=function(a){return function(){Zc(a)}}(a);Vb&&fe(a);Wb&&t.hasFocus()&&m.requestAnimationFrame(b);setTimeout(b,0)}function fe(a){mb||(mb=new MessageChannel,mb.port2.onmessage=function(a){Zc(a.data-1)});mb.port1.postMessage(a)}function vc(a,b){if(a!==
m)return ge(a,"scroll touchmove gesturechange mousewheel",b);h(R,function(a){if(R[a].G==b)return delete R[a],!1});return!0}function Xb(a,b,c){var d=l(R[a]);if(!d||n(d.c.scrollTop)&&d.c.scrollTop==Pa&&!c)return!1;Ua.push(a);~na.indexOf(a)&&xa(na,a);!c&&n(Ea[a])&&delete Ea[a];n(d.c.X)||(d.c.X=function(b){return function(c,d){if(!n(R[b.id])||b.c.R)return!1;var e=Date.now(),f=e-b.c.Ya;R[a].c.U&&30<=f?(xa(Ua,a),b.c.R=e,d||(~na.indexOf(a)?he(a,!0):c||n(Ea[a])||(Ea[a]=Date.now()+250))):d||L(function(a,b){return function(){a.c.X(b)}}(b,
c))}}(d));n(d.c.ca)||(d.c.ca=function(a){return function(b){a.c.U=!1;a.c.Ya=Date.now();a.c.scrollTop=Pa;var c=null;try{a.G()}catch(k){c=k}a.c.U=Date.now();a.c.R=!1;if(c)throw c;L(function(a,b){return function(){a.c.X(b)}}(a,b))}}(d));b?d.c.ca(c):L(function(a,b){return function(){a.c.ca(b)}}(d,c));return!0}function he(a,b){l(R[a])?~na.indexOf(a)&&!~Ua.indexOf(a)&&Xb(a,b):xa(na,a)}function ie(){if(Yb)return!0;Yb=!0;var a=Date.now();h(Ea,function(b,c){a>=c&&(delete Ea[b],Xb(b,!1,!0))});Yb=!1;return!0}
function je(){if(Zb)return!0;Zb=!0;Pa=ua();var a=!1,b=Date.now();h(R,function(c){var d=R[c];(c?0:$c)&&(a||(a=!0));n(d.c.R)&&!d.c.R&&d.c.X(!0,!0);d&&!~Ua.indexOf(c)?Xb(c):(~na.indexOf(c)||na.push(c),d.c.U&&!d.c.R&&3E3<b-d.c.U&&xa(Ua,c))});Zb=!1}function db(a,b,c){if(a!==m)return $b(a,"scroll touchmove gesturechange mousewheel",b);if(!ac){$c=!1;ac=function(){je()};try{var d=Object.defineProperty({},"passive",{get:function(){ad=!0}});m.addEventListener("testPassive",null,d);m.removeEventListener("testPassive",
null,d)}catch(e){}$b(m,"scroll touchmove gesturechange mousewheel",ac,ad?{passive:!0}:!1);setInterval(ie,10)}c=c||{};if(l(c.$a))a=c.$a;else for(a="f"+G();n(R[a]);)a="f"+G();R[a]={id:a,G:b,D:c,c:{}};return a}function xa(a,b){b=a.indexOf(b);-1!==b&&a.splice(b,1)}function ta(a,b){var c=t.getElementById(a);if(b){c=null;a=t.querySelectorAll("#"+a);for(var d in a)if(a.hasOwnProperty(d)&&"length"!=d&&a[d].getAttribute("data-cnt")==b){c=a[d];break}}return c}function Ma(a,b){return Math.floor(Math.random()*
(Math.round(b)-Math.round(a)+1))+Math.round(a)}function Ld(a){var b=0;for(a=a.parentNode;a!=Fa;){if("static"!=wa(a).position){b=ja(a).top;break}a=a.parentNode}return b}function Kd(a){for(var b=0;a!=Fa;){var c=wa(a);b+=U(c.paddingTop);b+=U(c.borderTop);b+=U(c.marginTop);a=a.parentNode}return b}function ua(){var a=0;try{a=H(Vc.scrollTop||Fa.scrollTop||Fa.parentNode.scrollTop)}catch(b){}return a}function Qa(a){return ja(a).top+H(a.offsetHeight)}function ja(a){if(a.getBoundingClientRect){var b=a.getBoundingClientRect();
var c=a.ownerDocument.defaultView;a=a.ownerDocument;var d=a.body;b={top:Math.round(b.top+(c.pageYOffset||a.scrollTop||d.scrollTop)-(a.clientTop||d.clientTop||0)),left:Math.round(b.left+(c.pageXOffset||a.scrollLeft||d.scrollLeft)-(a.clientLeft||d.clientLeft||0))}}else{b=a;for(a=c=0;b&&"relative"!=wa(b).position&&"absolute"!=wa(b).position;)c+=H(b.offsetTop),a+=H(b.offsetLeft),b=b.offsetParent;b={top:c,left:a}}return b}function Y(a){a=a||m;return Ec&&!a.opera?a.document.documentElement.clientHeight:
a.document.body.clientHeight}function bd(){n(t.body)&&t.body?Fa=t.body:setTimeout(bd,10)}function U(a){return""===a?0:H(a)}function H(a){return parseInt(a,10)}function Xc(a){a=a||t;var b=a.documentElement,c=cd("head",!1,a);if(c)return c;for(c=b.firstChild;c&&"#text"==c.nodeName.toLowerCase();)c=c.nextSibling;if(c&&"#text"!=c.nodeName.toLowerCase())return c;a=N("head",a);b.appendChild(a);return a}function Tb(a,b){return n(b)?(b=Math.pow(10,b),Math.round(a*b)/b):Math.round(a)}function G(){return(new Date).getTime()%
1E7*100+Tb(99*Math.random())}function Sa(a){a=a||10;if(10<a){for(var b="",c=10;0<a;)b+=Math.round(Math.pow(36,c+1)-Math.random()*Math.pow(36,c)).toString(36).slice(1),a-=c,a<c&&(c=a);return b}return Math.round(Math.pow(36,a+1)-Math.random()*Math.pow(36,a)).toString(36).slice(1)}function n(a){return"undefined"!=typeof a}function l(a,b){b=n(b)?b:!1;return n(a)?a:b}function Va(a,b){h(b,function(c){a[c]=b[c]})}function cd(a,b,c){c=c||t;return b?c.getElementsByTagName(a):c.getElementsByTagName(a)[0]}function h(a,
b){for(var c in a)if(a.hasOwnProperty(c)&&"length"!==c&&!1===b.call(a[c],c,a[c]))break}function Z(a,b){for(var c=0;c<a.length&&(!a.hasOwnProperty(c)||"length"===c||!1!==b.call(a[c],c,a[c]));c++);}function Jd(a,b){for(var c=a.length-1;0<=c&&(!a.hasOwnProperty(c)||"length"===c||!1!==b.call(a[c],c,a[c]));c--);}function $b(a,b,c,d){d=d||!1;if(a){"[object NodeList]"==Object.prototype.toString.call(a)||Oa(a)||(a=[a]);var e=b.split(" ");b=b.length;var g;for(g=0;g<b;g++)h(a,function(){this.addEventListener?
this.addEventListener(e[g],c,d):this.attachEvent("on"+e[g],c)})}}function ge(a,b,c){if(a){"[object NodeList]"!=Object.prototype.toString.call(a)&&(a=[a]);var d=b.split(" ");b=d.length;var e;for(e=0;e<b;e++)h(a,function(){this.detachEvent?this.detachEvent("on"+d[e],c):(this.removeEventListener(d[e],c,!0),this.removeEventListener(d[e],c))})}}function Nd(a,b){for(var c=b.split(" "),d=0;d<c.length;d++)a.className=a.className.replace(new RegExp("\\b"+c[d]+"\\b","g"),"").replace(/\s+/g," ").replace(/(^ | $)/g,
"");b=b.split(" ");for(c=0;c<b.length;c++)a.className+=" "+b[c];a.className=a.className.trim()}function N(a,b){b=b||t;return b.createElement(a)}function hb(a){if(n(a.filter))return a.filter(function(a,b,e){return e.indexOf(a)===b});var b=[];Z(a,function(c){~b.indexOf(a[c])||b.push(a[c])});return b}function K(a,b){if(null==a||"object"!==typeof a)return a;if(void 0==b)b=[];else{var c,d=b.length;for(c=0;c<d;c++)if(a===b[c])return a}b.push(a);if("function"==typeof a.clone)return a.clone(!0);if("[object Array]"==
Object.prototype.toString.call(a)){d=a.slice();for(c=d.length;c--;)d[c]=K(d[c],b);return d}if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return new RegExp(a);if(a.nodeType&&"function"==typeof a.cloneNode)return a.cloneNode(!0);c=Object.getPrototypeOf?Object.getPrototypeOf(a):a.__proto__;c||(c=a.constructor.prototype);d=bc(c);for(var e in a)d[e]=K(a[e],b);return d}function Yc(a,b){b=b||m;return n(a)?a instanceof b.HTMLElement:!1}function wa(a){return Yc(a)?a.fb=a.fb||a.currentStyle||
getComputedStyle(a,null):!1}function ke(a){var b=m;try{b=b.top}catch(c){}try{b.__lxG__=b.__lxG__||{}}catch(c){}try{b.__lxG__.contentAlertRequested=!!a}catch(c){}m.__lxG__=m.__lxG__||{};m.__lxG__.contentAlertRequested=!!a;cc=!!a}function dd(){var a=null,b=m;try{b=b.top}catch(d){}var c=!1;try{c=b.document}catch(d){}if(c)for(b=cd("meta",!0,c),c=b.length;c--;)if("clickio-content"==l(b[c].name)&&l(b[c].content)){a="alert"==b[c].content;break}return a}function kb(a){return n(a)&&a.nodeName&&"script"===
a.nodeName.toLowerCase()&&(!a.type||"text/javascript"===a.type.toLowerCase())}var dc="__lxG198659__".replace(/__/mg,"").replace("lxG",""),t=document,m=window,Fa=t.body,Vc=t.documentElement,Hc=Xc(),Sb=navigator.userAgent.toLowerCase(),Ec="CSS1Compat"===t.compatMode,le=/opera/.test(Sb),be=/msie/.test(Sb)&&!le,Qd="http"+("about:"==m.location.protocol?"https:"==m.top.location.protocol?"s":"":"https:"==m.location.protocol?"s":"")+"://",ed=null,ec="",fd=!1;bd();var bc=Object.create;"function"!==typeof bc&&
(bc=function(a){function b(){}b.prototype=a;return new b});var Wa=!1,cc=null,Oa=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)},$c=!1,ad=!1,ac=null,Zb=!1,Pa=null,R={},Yb=!1,Ua=[],na=[],Ea={},mb=!1,lb=[],Vb=null,Wb=null,Ub=null,Da=[];m.__lxG__=m.__lxG__||{};m.__lxG198659__=m.__lxG198659__||{};ed="pbdfp"+dc;var V=!1,aa=!1,va=!1,sa=null,gd=null;n(m.__lxGr__)&&(va=!0,l(m.__lxGr__.conf.master_mode)?(ec=" [master]",aa=!0):l(m.__lxGr__.conf.slave_mode)&&(ec=" [slave "+
m.__lxGr__.conf.slave_mode+"]",V=!0));var W="__lxG198659__pbdfp__"+G();if(n(m.__lxG198659__.lxpbjsdfp))return!1;m.__lxG198659__.lxpbjsdfp=!0;m[W]=m[W]||{};var nb=m[W],p={};p.bids=p.bids||{};p.bids.bidding=[];p.bids.start=(new Date).getTime();p.bids.end=0;p.bids.bids=!1;var Lb=p.bids;m.lxpbjsdfp=m.lxpbjsdfp||{};var z=m.lxpbjsdfp;z.que=z.que||[];var Za=z.que,X=!0,Ba=["__lxG__","__lxG198659__"],oa=[window.location.hostname,
'clickioadvd.com'
];fd=!0;Ba=Ba||["postMessageApiPrefix"];oa=oa||
[m.location.hostname];var me=[],Aa="__clickio_api_client_"+Sa(10),ba=JSON||{};n(ba.stringify)&&n(ba.parse)||(Wa||(Wa=N("iframe"),Wa.style.display="none",Fa.appendChild(Wa)),ba=Wa.contentWindow.JSON,n(ba.stringify)&&n(ba.parse)||(m.alert(Aa+": JSON not available"),ba=!1));var ae=/^\s*?function\s*?\((.*?)\)\s*?{((?:.|\s)+?)}\s*?$/i,Ca=[],Ta={},la=[],ob=[],P={};$b(m,"message",function(a){if(a.data&&(~oa.indexOf(a.origin.replace(/https?:\/\//img,""))||~oa.indexOf("*"))){if(!n(a.data.indexOf))return!1;
var b=!1,c="";h(Ba.concat([Aa]),function(d,e){if(0===a.data.indexOf(e+"|"))return c=e,b=!0,!1});if(!b)return!1;var d=null;try{if(ba){var e=a.data.substr((c+"|").length),g=/(\w+?);(\d+?);(\d+?)\|/im.exec(e.substr(0,43));if(null!==g){e=e.substr(e.indexOf("|")+1);var f=g[1],k=g[2],m=g[3];n(P[f])?n(P[f])&&(P[f].Z.push(k),P[f].wa++):P[f]={Z:[k],va:{},wa:1,Pa:H(m)};P[f].va[k]=e;if(P[f].wa==P[f].Pa)P[f].Z.sort(),e="",h(P[f].Z,function(a){e+=P[f].va[a]}),delete P[f],d=Uc(e);else return!1}else d=Uc(e)}else return!1}catch(u){return!1}if(l(d.type)){if(l(d.sender_id)==
Aa&&("event"!==d.type||!~me.indexOf(d.event_type)))return!1;"subscribe"==d.type?la.push({La:za(a.source,a.origin,l(d.subscriber.prefix,d.sender_id)),C:l(d.subscriber.events,{"*":{}})}):"event"!=d.type||~ob.indexOf(d.rnd)||~ob.indexOf(l(d.source_rnd))||(ob.push(d.rnd),l(d.source_rnd)&&ob.push(d.source_rnd),$d(a,d,c),d.broadcast&&ib(d.event_type,d.event,null,l(d.source_rnd,l(d.rnd,0))))}}});var Dc=za(m.top,Ib()?"*":m.location.protocol+"//"+m.location.hostname,"__lxG198659__");aa?oa=oa.concat(["yastatic.net","googleads.g.doubleclick.net","pagead2.googlesyndication.com","medianet.adlabsnetworks.ru","topbetfast.com","tpc.googlesyndication.com"]):V&&(sa=za(m.top,"*","__lxG198659__mstr_slv"),gd=za(m.top,"*","__lxGc___mstr"));(aa||V)&&Ba.push("__lxG198659__mstr_slv");var Hb={ib:!1,get:function(a,b){return this.Da(a)?decodeURIComponent(t.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||(n(b)?b:null):n(b)?b:null},set:function(a,b,c,d,e,g){if(!a||/^(?:expires|max\-age|path|domain|secure)$/i.test(a))return!1;
var f="";if(c)switch(c.constructor){case Number:f=Infinity===c?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+c;break;case String:f="; expires="+c;break;case Date:f="; expires="+c.toUTCString()}a={name:a,value:b,Ea:f,domain:e,path:d,Ha:g};if("auto"===e)if(this.Ga())a.domain=this.Ga();else return!1;e=this.za(a);t.cookie=e;return!0},Aa:function(a,b,c){if(!a||!this.Da(a))return!1;a=encodeURIComponent(a)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(c?"; domain="+c:"")+(b?"; path="+b:"");t.cookie=
a;return!0},Da:function(a){return(new RegExp("(?:^|;\\s*)"+encodeURIComponent(a).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=")).test(t.cookie)},list:function(){for(var a=t.cookie.replace(/((?:^|\s*;)[^=]+)(?=;|$)|^\s*|\s*(?:=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:=[^;]*)?;\s*/),b=0;b<a.length;b++)a[b]=decodeURIComponent(a[b]);return a},$:null,Ga:function(){function a(){return"."+window.location.hostname.split(".").slice(-1*b).join(".")}if(null!==this.$)return this.$;for(var b=2,c=a(),d={name:"__domain_check_",
value:"ok",Ea:"; expires=Fri, 31 Dec 9999 23:59:59 GMT",path:"/",Ha:!1},e=!1,g=null;!e&&g!=c;)d.domain=c,t.cookie=this.za(d),null===this.get("__domain_check_")||"ok"!=this.get("__domain_check_")?(this.Aa("__domain_check_","/",c),g=c,b++,c=a()):(this.Aa("__domain_check_","/",c),this.$=e=c);return e},za:function(a){return encodeURIComponent(a.name)+"="+encodeURIComponent(a.value)+a.Ea+(a.domain?"; domain="+a.domain:"")+(a.path?"; path="+a.path:"")+(a.Ha?"; secure":"")}},D=[],Rc=null,Nc=0||!1,ka=m.__lxG__,pb=null,J=null,Oc=!1,Pb=!1,ya=Qc([]),Pc=!1,hd=!1;Nc&&fd&&(pb=za(m.top,"*","__lxG__consent"),Ba.push("__lxG__consent"),oa.push("*"),Ib()?(hd=!0,ra("getConsent",{check:"?"},pb,function(a,b){"!"==l(a.check)&&(ma("gotConsent",function(a){-1!==l(a.pers,-1)&&(J=a.pers,Ob())}),Tc(["gotConsent"],pb,"__lxG__consent"),E("getConsent",{},b))},function(){Ob()})):ra("getConsent",{check:"?"},pb,function(){},function(){Pc=!0;ma("getConsent",function(a,b){if("?"==l(a.check))return E("gotConsent",
{check:"!"},b),null;E("gotConsent",{pers:J},b)});Oc&&ib("gotConsent",{pers:J})},100));hd||Ob();var fc=U(l(m.__lxG__.biddingBlocksDelay,900));Za.push(function(){z.setConfig({bidderTimeout:fc-100})});if(va){var C={},qb={};m[W]=m[W]||{};var rb=null,ne=function(){h(C,function(a,b){h(b,function(b,d){h(d,function(c,d){1==d.status&&5E3<=(new Date).getTime()-d.start&&C[a][b][c].sa?(C[a][b][c].sa--,C[a][b][c].status=1,C[a][b][c].start=(new Date).getTime(),id(C[a][b][c].url+"&rt="+G()),gc()):1==d.status&&C[a][b][c].sa&&
gc()})})})},gc=function(){rb&&(clearTimeout(rb),rb=null);rb=setTimeout(ne,500)},oe=function(a,b,c){n(m[W].rotStep)||(m[W].rotStep=function(a,b,c,d){d=d||1;n(C[b])&&n(C[b][d])&&n(C[b][d][c])&&2!=C[b][d][c].status&&n(C[b][d][c].D)&&l(C[b][d][c].D.ses_id)==a&&(C[b][d][c].status=2,C[b][d][c].end=(new Date).getTime())});var d={step:b,ses_id:jd(),area_id:a};Va(d,kd(a,b));Va(d,c);n(d.user_data)&&(n(qb["_"+a])?(Va(qb["_"+a],d.user_data),d.user_data=qb["_"+a]):qb["_"+a]=d.user_data,d.user_data=JSON.stringify(d.user_data));
var e=Wc(d),g=1;n(c.sub_id)&&(g=c.sub_id);n(C[a])||(C[a]={});n(C[a][g])||(C[a][g]={});n(C[a][g][b])||(C[a][g][b]={url:e,D:d,sa:3});C[a][g][b].status=1;C[a][g][b].start=(new Date).getTime();id(e+"&rt="+G());gc()},id=function(a){L(function(a){return function(){jb("//clickiocdn.com/clickiotag_log/?f="+W+a)}}(a))},jd=function(){return Sa(15)+G()},kd=function(){return{}};jd=function(){return va&&n(m.__lxGr__.conf)&&n(m.__lxGr__.conf.ses)?m.__lxGr__.conf.ses:"dfpunknown"};kd=function(a,b){if(2==b){if(va&&
n(m.__lxGr__.conf)&&n(m.__lxGr__.conf.rotpollog))return{type:"dfp",policy:m.__lxGr__.conf.rotpollog};if(null!==hc)return{type:"dfp",policy:hc}}return{}};var ld=[],md=function(a,b,c){c=c||{};var d=1;n(c.sub_id)&&(d=c.sub_id);d=[a,d,b].join("-");~ld.indexOf(d)||(ld.push(d),V?E("mstrSndRtrStt",{said:a,step:b,data:c},gd):oe(a,b,c))},ab=function(a,b){b=b||!1;h(w,function(c,d){if(a.getAdUnitPath()==d){a.getAdUnitPath();d=Ha(a,!0);var e={};d&&(e.sub_id=d);b&&(e.hdn=1);md(c,2,e);return!1}})}}else md=function(){},
ab=function(){};X=null;var Ga=Qc([]),sb=null,hc=null;nb.adxAllowed=function(a,b){var c=!b||"timeout call"==b;b=b||"external call";null===X&&(X=a,ke(!a),c&&(hc="timeout call"==b?"timeout":X?"ok":"sensitive"),Qb(Ga),c&&(sb=(new Date).getTime()-sb,L(function(){jb("//clickiocdn.com/clickiotag_log/sensitive/?site_id="+dc+"&time="+sb+"&r="+G())})))};var Q=0;if(Q){var nd=Sa(15)+G(),M={},tb={};nb.logStep=function(a,b,c){nd==a&&n(M[b])&&n(M[b][c])&&2!=M[b][c].status&&(M[b][c].status=
2,M[b][c].end=(new Date).getTime())};setInterval(function(){h(M,function(a,b){h(b,function(b,d){1==d.status&&5E3<(new Date).getTime()-d.start&&(M[a][b].status=1,M[a][b].start=(new Date).getTime(),od(d.D+"&rt="+G()))})})},500);var ea=function(a,b,c){var d={step:b,ses_id:nd,site_id:dc,site_area_id:a};Va(d,c);n(d.user_data)&&(n(tb["_"+a])?(Va(tb["_"+a],d.user_data),d.user_data=tb["_"+a]):tb["_"+a]=d.user_data,d.user_data=JSON.stringify(d.user_data));d=Wc(d);n(M[a])||(M[a]={});n(M[a][b])||(M[a][b]={D:d});
M[a][b].status=1;M[a][b].start=(new Date).getTime();od(d)},od=function(a){setTimeout(function(a){return function(){jb("//clickiocdn.com/hblog/?f="+W+a)}}(a),0)}}var v=

[{"code":586049,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4382347]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[4434903]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5331894]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["586049"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6504960]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"div_name":"lx_586049"}},{"code":586055,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4382358]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[4434914]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5331917]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["586055"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6504964]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"div_name":"lx_586055"}},{"code":614896,"sizes":[[336,280]],"bids":[{"bidder":"districtm","params":{"placementId":"12093875"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6340636]},{"bidder":"criteo","params":{"zoneId":"1171248"},"__sds_id__":[6340646]},{"bidder":"between","params":{"w":336,"h":280,"s":2682619},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[6340667]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["614896"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6506494]}],"__spec__":{"type":"js_npm","lazy_load":false,"check":"div.article2, div.ccomments-list","location_max":1,"location":"div.article2 p, div.comments-list div.media","ai_mode":1,"ai_border_check":".relap-default__top-container:1s, .relap-default-wrapper:1s, #lx_615689:2s","ai_preload":"4s","ai_1_space":"4.5s","ai_min_space":"4s","ai_max_count":30,"ai_1_lazy":0,"ai_double":0,"ar_time":30,"auto_ins":1,"delayed_hb":1,"pre_source":"<style>\r\n#lx_614896 {\r\ntext-align:center;\r\nmargin-top:10px;\r\nmargin-bottom:10px;\r\n}\r\n<\/style>","div_name":"lx_614896"}},{"code":617739,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6070865]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[6070957]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[6071098]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617739"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6506589]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"div_name":"lx_617739"}},{"code":617405,"sizes":[[240,400]],"bids":[{"bidder":"districtm","params":{"placementId":"14609754"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6380276]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617405"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507225]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"div_name":"lx_617405"}},{"code":617411,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4655447]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[4655549]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5331958]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617411"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507230]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"div_name":"lx_617411","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{194:{"wght":45,"dev":["3663677007","1967790458"]},197:{"wght":45,"dev":["1152498853","6507710228"]},198:{"wght":10,"dev":["8373630175","1422914145"]},199:{"wght":70,"dev":["2064071404","3663677007"]},200:{"wght":70,"dev":["4309784192","1736093043"]},201:{"wght":170,"dev":["2310824460","3003012651"]},202:{"wght":70,"dev":["1422914145","1152498853"]},203:{"wght":10,"dev":["1736093043","2670377755"]}},"devs":[],"hours":[]}}},{"code":617409,"sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"districtm","params":{"placementId":"12093872"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4655454]},{"bidder":"criteo","params":{"zoneId":"1171250"},"__sds_id__":[4655556]},{"bidder":"between","params":{"w":970,"h":90,"s":2682623},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5388214]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617409"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507239]}],"__spec__":{"type":"js_npm","lazy_load":false,"ai_clone_source":0,"ar_time":30,"div_name":"lx_617409"}},{"code":617415,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4655460]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[4655562]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5388219]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617415"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507243]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"div_name":"lx_617415","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{106:{"wght":170,"dev":["1045512516","3382507344"]},107:{"wght":10,"dev":["1736093043","1422914145"]},183:{"wght":10,"dev":["1967790458","2670377755"]},184:{"wght":70,"dev":["2670377755","1045512516"]},185:{"wght":170,"dev":["6507710228","1455600798"]},186:{"wght":10,"dev":["3382507344","6507710228"]},187:{"wght":45,"dev":["2352006753","2220135271"]},188:{"wght":10,"dev":["1152498853","1045512516"]}},"devs":[],"hours":[]}}},{"code":617417,"sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"districtm","params":{"placementId":"12093872"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4655467]},{"bidder":"criteo","params":{"zoneId":"1171250"},"__sds_id__":[4655569]},{"bidder":"between","params":{"w":970,"h":90,"s":2682623},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5388227]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617417"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507261]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"div_name":"lx_617417"}},{"code":617420,"sizes":[[728,90]],"bids":[{"bidder":"districtm","params":{"placementId":"12093872"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4655474]},{"bidder":"criteo","params":{"zoneId":"1171247"},"__sds_id__":[4655576]},{"bidder":"between","params":{"w":728,"h":90,"s":2682620},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5388234]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617420"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507282]}],"__spec__":{"type":"js_npm","lazy_load":false,"ai_clone_source":0,"ar_time":30,"div_name":"lx_617420"}},{"code":617430,"sizes":[[300,250]],"bids":[{"bidder":"districtm","params":{"placementId":"12093871"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4655480]},{"bidder":"criteo","params":{"zoneId":"1171245"},"__sds_id__":[4655582]},{"bidder":"between","params":{"w":300,"h":250,"s":2682615},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5388237]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617430"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507294]}],"__spec__":{"type":"js_npm","lazy_load":false,"ai_clone_source":0,"ar_time":30,"div_name":"lx_617430"}},{"code":617434,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4656463]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[4656540]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5331974]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617434"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507304]}],"__spec__":{"type":"js_npm","lazy_load":"1s","ar_time":30,"delayed_hb":1,"div_name":"lx_617434","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{28:{"wght":45,"dev":{1:"6507710228",2:"2352006753"}},55:{"wght":170,"dev":{1:"1967790458",2:"1152498853"}},56:{"wght":10,"dev":{1:"2670377755",2:"1045512516"}},57:{"wght":45,"dev":{1:"3663677007",2:"1422914145"}},58:{"wght":70,"dev":{1:"1152498853",2:"3382507344"}},59:{"wght":10,"dev":{1:"3227145229",2:"3663677007"}},60:{"wght":70,"dev":{1:"1422914145",2:"1967790458"}},61:{"wght":10,"dev":{1:"1422914145",2:"2670377755"}}},"devs":[],"hours":[]}}},{"code":617439,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4656464]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[4656541]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5388241]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617439"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507308]}],"__spec__":{"type":"js_npm","lazy_load":false,"ai_clone_source":0,"ar_time":30,"div_name":"lx_617439"}},{"code":617436,"sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"districtm","params":{"placementId":"12093872"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4656467]},{"bidder":"criteo","params":{"zoneId":"1171250"},"__sds_id__":[4656544]},{"bidder":"between","params":{"w":970,"h":90,"s":2682623},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5331977]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617436"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507312]}],"__spec__":{"type":"js_npm","lazy_load":false,"ai_clone_source":0,"ar_time":30,"div_name":"lx_617436"}},{"code":617441,"sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"districtm","params":{"placementId":"12093872"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4656470]},{"bidder":"criteo","params":{"zoneId":"1171250"},"__sds_id__":[4656547]},{"bidder":"between","params":{"w":970,"h":90,"s":2682623},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5331980]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617441"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507318]}],"__spec__":{"type":"js_npm","lazy_load":false,"ai_clone_source":0,"ar_time":30,"div_name":"lx_617441"}},{"code":617445,"sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"districtm","params":{"placementId":"12093872"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4656473]},{"bidder":"criteo","params":{"zoneId":"1171250"},"__sds_id__":[4656550]},{"bidder":"between","params":{"w":970,"h":90,"s":2682623},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5331983]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617445"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507325]}],"__spec__":{"type":"js_npm","lazy_load":false,"ai_clone_source":0,"ar_time":30,"div_name":"lx_617445"}},{"code":617449,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4656478]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[4656555]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5331991]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617449"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507337]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"div_name":"lx_617449"}},{"code":617453,"sizes":[[970,250]],"bids":[{"bidder":"districtm","params":{"placementId":"12093874"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[4656483]},{"bidder":"criteo","params":{"zoneId":"1171249"},"__sds_id__":[4656560]},{"bidder":"between","params":{"w":970,"h":250,"s":2682624},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5331990]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["617453"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6507351]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"div_name":"lx_617453","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{577104985:{"wght":170,"dev":["2858556086","2103191314"]},1:{"wght":70,"dev":["2103191314","3348589987"]},2:{"wght":10,"dev":["2670377755","1045512516"]},3:{"wght":10,"dev":["1736093043","1422914145"]},4:{"wght":70,"dev":["2352006753","2220135271"]},5:{"wght":10,"dev":["6507710228","1455600798"]},6:{"wght":45,"dev":["4917718299","2406918407"]},7:{"wght":45,"dev":["1455600798","2352006753"]}},"devs":[],"hours":[]}}},{"code":635010,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[5503535]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[5503571]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5503616]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635010"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6510040]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"div_name":"lx_635010","bplkv":{"opt":20,"offs":0,"extp":0,"sets":{1656499453:{"wght":45,"dev":["8373630175","1967790458"]},34:{"wght":170,"dev":["2789476390","3003012651"]},41:{"wght":10,"dev":["2310824460","3227145229"]},42:{"wght":70,"dev":["5019067307","9378640620"]},43:{"wght":45,"dev":["8815939683","2789476390"]},44:{"wght":10,"dev":["2533607559","5702010059"]},45:{"wght":70,"dev":["1241068135","8373630175"]}},"devs":[],"hours":[]}}},{"code":635009,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[5503536]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[5503572]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5503617]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635009"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6510041]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"div_name":"lx_635009","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{139:{"wght":170,"dev":["9378640620","8373630175"]},144:{"wght":45,"dev":["1736093043","2670377755"]},152:{"wght":70,"dev":["3003012651","1736093043"]},154:{"wght":10,"dev":["5702010059","3663677007"]},155:{"wght":45,"dev":["5019067307","1241068135"]},156:{"wght":70,"dev":["2789476390","3003012651"]},157:{"wght":170,"dev":["3502209836","3227145229"]}},"devs":[],"hours":[]}}},{"code":635148,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[5540311]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[5540324]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5540350]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635148"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6510096]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"div_name":"lx_635148","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{"f4039cdb":{"wght":45,"dev":["1455600798","2103191314"]},159:{"wght":170,"dev":["2670377755","1455600798"]},165:{"wght":10,"dev":["8373630175","2670377755"]},169:{"wght":45,"dev":["1736093043","1045512516"]},170:{"wght":10,"dev":["3227145229","1967790458"]},171:{"wght":45,"dev":["1241068135","1736093043"]},172:{"wght":10,"dev":["3663677007","1152498853"]},173:{"wght":70,"dev":["3003012651","1967790458"]},174:{"wght":10,"dev":["2789476390","8373630175"]}},"devs":[],"hours":[]}}},{"code":635158,"sizes":[[728,90],[970,90],[980,120]],"bids":[{"bidder":"districtm","params":{"placementId":"12093872"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[5540316]},{"bidder":"criteo","params":{"zoneId":"1171250"},"__sds_id__":[5540329]},{"bidder":"between","params":{"w":970,"h":90,"s":2682623},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5540355]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635158"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6510101]}],"__spec__":{"type":"js_npm","ar_time":30,"lazy_load":false,"ai_clone_source":0,"div_name":"lx_635158"}},{"code":635156,"sizes":[[300,600]],"bids":[{"bidder":"districtm","params":{"placementId":"12093873"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[5540317]},{"bidder":"criteo","params":{"zoneId":"1171246"},"__sds_id__":[5540330]},{"bidder":"between","params":{"w":300,"h":600,"s":2682616},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[5540356]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635156"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6510102]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"pre_source":"<div class=\"emmptylx\"><\/div>","div_name":"lx_635156","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{280702740:{"wght":10,"dev":["2103191314","3348589987"]},13:{"wght":70,"dev":["3348589987","2406918407"]},17:{"wght":10,"dev":["2103191314","4917718299"]},36:{"wght":70,"dev":["2352006753","2103191314"]},61:{"wght":170,"dev":["2858556086","3348589987"]},63:{"wght":70,"dev":["3348589987","2406918407"]},64:{"wght":10,"dev":["2220135271","2103191314"]},65:{"wght":10,"dev":["6507710228","2352006753"]},66:{"wght":45,"dev":["2406918407","1008917341"]},67:{"wght":45,"dev":["1455600798","2858556086"]},80:{"wght":10,"dev":["1455600798","2352006753"]},81:{"wght":45,"dev":["2352006753","2858556086"]},139:{"wght":170,"dev":["2103191314","3348589987"]},144:{"wght":45,"dev":["2406918407","1008917341"]},145:{"wght":70,"dev":["2220135271","3348589987"]}},"devs":[],"hours":[]}}},{"code":635163,"sizes":[[300,250],[300,300]],"bids":[{"bidder":"districtm","params":{"placementId":"12093871"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6340639]},{"bidder":"criteo","params":{"zoneId":"1171245"},"__sds_id__":[6340649]},{"bidder":"between","params":{"w":300,"h":250,"s":2682615},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[6340670]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635163"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6510103]}],"__spec__":{"type":"js_npm","lazy_load":false,"ar_time":30,"delayed_hb":1,"div_name":"lx_635163","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{218:{"wght":170,"dev":{1:"3663677007",2:"1736093043"}},219:{"wght":70,"dev":{1:"4309784192",2:"8373630175"}},220:{"wght":10,"dev":{1:"3502209836",2:"9378640620"}},221:{"wght":170,"dev":{1:"8373630175",2:"3663677007"}},222:{"wght":10,"dev":{1:"1736093043",2:"1422914145"}},223:{"wght":70,"dev":{1:"1422914145",2:"1967790458"}},224:{"wght":45,"dev":{1:"2064071404",2:"3227145229"}},225:{"wght":45,"dev":{1:"1152498853",2:"1045512516"}}},"devs":[],"hours":[]}}},{"code":635192,"sizes":[[336,280]],"bids":[{"bidder":"districtm","params":{"placementId":"12093875"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6340644]},{"bidder":"criteo","params":{"zoneId":"1171248"},"__sds_id__":[6340654]},{"bidder":"between","params":{"w":336,"h":280,"s":2682619},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[6340675]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635192"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6510118]}],"__spec__":{"type":"js_npm","lazy_load":false,"check":"div.article2, div.ccomments-list","location_max":1,"location":"div.article2 p, div.comments-list div.media","ai_mode":1,"ai_border_check":".relap-default__top-container:1s, .relap-default-wrapper:1s, #lx_615689:2s","ai_preload":"4s","ai_1_space":"4.5s","ai_min_space":"4s","ai_max_count":30,"ai_1_lazy":0,"ai_double":0,"ar_time":30,"delayed_hb":1,"pre_source":"<style>\r\n#lx_635192 {\r\ntext-align:center;\r\nmargin-top:10px;\r\nmargin-bottom:10px;\r\n}\r\n<\/style>","div_name":"lx_635192","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{122:{"wght":45,"dev":{1:"1422914145",2:"1967790458"}},201:{"wght":170,"dev":{1:"1455600798",2:"2352006753"}},202:{"wght":45,"dev":{1:"2103191314",2:"3348589987"}},203:{"wght":70,"dev":{1:"2352006753",2:"2858556086"}},207:{"wght":45,"dev":{1:"3382507344",2:"6507710228"}},208:{"wght":170,"dev":{1:"2670377755",2:"1045512516"}},209:{"wght":10,"dev":{1:"1152498853",2:"3382507344"}},210:{"wght":70,"dev":{1:"1967790458",2:"2670377755"}},211:{"wght":10,"dev":{1:"8373630175",2:"1736093043"}},212:{"wght":70,"dev":{1:"3382507344",2:"6507710228"}},213:{"wght":10,"dev":{1:"2670377755",2:"1152498853"}}},"devs":[],"hours":[]}}},{"code":"635192.2","sizes":[[300,250],[336,280]],"bids":[{"bidder":"districtm","params":{"placementId":"12093875"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6340710]},{"bidder":"criteo","params":{"zoneId":"1171245"},"__sds_id__":[6340722]},{"bidder":"between","params":{"w":300,"h":250,"s":2682615},"bidCpmAdjustment":function(bid){return bid*0.01150000;},"__sds_id__":[6340717]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635192"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6513740]}],"__spec__":{"type":"js_npm","lazy_load":false,"check":"div.article2, div.ccomments-list","location_max":1,"location":"div.article2 p, div.comments-list div.media","ai_mode":1,"ai_border_check":".relap-default__top-container:1s, .relap-default-wrapper:1s, #lx_615689:2s","ai_preload":"4s","ai_1_space":"4.5s","ai_min_space":"4s","ai_max_count":30,"ai_1_lazy":0,"ai_double":0,"ar_time":30,"delayed_hb":1,"pre_source":"<style>\r\n#lx_635192 {\r\ntext-align:center;\r\nmargin-top:10px;\r\nmargin-bottom:10px;\r\n}\r\n<\/style>","div_name":"lx_635192","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{122:{"wght":45,"dev":{1:"1422914145",2:"1967790458"}},201:{"wght":170,"dev":{1:"1455600798",2:"2352006753"}},202:{"wght":45,"dev":{1:"2103191314",2:"3348589987"}},203:{"wght":70,"dev":{1:"2352006753",2:"2858556086"}},207:{"wght":45,"dev":{1:"3382507344",2:"6507710228"}},208:{"wght":170,"dev":{1:"2670377755",2:"1045512516"}},209:{"wght":10,"dev":{1:"1152498853",2:"3382507344"}},210:{"wght":70,"dev":{1:"1967790458",2:"2670377755"}},211:{"wght":10,"dev":{1:"8373630175",2:"1736093043"}},212:{"wght":70,"dev":{1:"3382507344",2:"6507710228"}},213:{"wght":10,"dev":{1:"2670377755",2:"1152498853"}}},"devs":[],"hours":[]}}},{"code":"635192.3","sizes":[[336,280]],"bids":[{"bidder":"districtm","params":{"placementId":"12093875"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6340711]},{"bidder":"rubicon","params":{"accountId":"19944","siteId":"233404","zoneId":"1178708","inventory":{"ad_unit_id":["635192"]}},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6513741]}],"__spec__":{"type":"js_npm","lazy_load":false,"check":"div.article2, div.ccomments-list","location_max":1,"location":"div.article2 p, div.comments-list div.media","ai_mode":1,"ai_border_check":".relap-default__top-container:1s, .relap-default-wrapper:1s, #lx_615689:2s","ai_preload":"4s","ai_1_space":"4.5s","ai_min_space":"4s","ai_max_count":30,"ai_1_lazy":0,"ai_double":0,"ar_time":30,"delayed_hb":1,"pre_source":"<style>\r\n#lx_635192 {\r\ntext-align:center;\r\nmargin-top:10px;\r\nmargin-bottom:10px;\r\n}\r\n<\/style>","div_name":"lx_635192","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{122:{"wght":45,"dev":{1:"1422914145",2:"1967790458"}},201:{"wght":170,"dev":{1:"1455600798",2:"2352006753"}},202:{"wght":45,"dev":{1:"2103191314",2:"3348589987"}},203:{"wght":70,"dev":{1:"2352006753",2:"2858556086"}},207:{"wght":45,"dev":{1:"3382507344",2:"6507710228"}},208:{"wght":170,"dev":{1:"2670377755",2:"1045512516"}},209:{"wght":10,"dev":{1:"1152498853",2:"3382507344"}},210:{"wght":70,"dev":{1:"1967790458",2:"2670377755"}},211:{"wght":10,"dev":{1:"8373630175",2:"1736093043"}},212:{"wght":70,"dev":{1:"3382507344",2:"6507710228"}},213:{"wght":10,"dev":{1:"2670377755",2:"1152498853"}}},"devs":[],"hours":[]}}},{"code":"635192.4","sizes":[[336,280]],"bids":[{"bidder":"districtm","params":{"placementId":"12093875"},"bidCpmAdjustment":function(bid){return bid*0.75140000*0.8;},"__sds_id__":[6340712]}],"__spec__":{"type":"js_npm","lazy_load":false,"check":"div.article2, div.ccomments-list","location_max":1,"location":"div.article2 p, div.comments-list div.media","ai_mode":1,"ai_border_check":".relap-default__top-container:1s, .relap-default-wrapper:1s, #lx_615689:2s","ai_preload":"4s","ai_1_space":"4.5s","ai_min_space":"4s","ai_max_count":30,"ai_1_lazy":0,"ai_double":0,"ar_time":30,"delayed_hb":1,"pre_source":"<style>\r\n#lx_635192 {\r\ntext-align:center;\r\nmargin-top:10px;\r\nmargin-bottom:10px;\r\n}\r\n<\/style>","div_name":"lx_635192","bplkv":{"opt":80,"offs":0,"extp":0,"sets":{122:{"wght":45,"dev":{1:"1422914145",2:"1967790458"}},201:{"wght":170,"dev":{1:"1455600798",2:"2352006753"}},202:{"wght":45,"dev":{1:"2103191314",2:"3348589987"}},203:{"wght":70,"dev":{1:"2352006753",2:"2858556086"}},207:{"wght":45,"dev":{1:"3382507344",2:"6507710228"}},208:{"wght":170,"dev":{1:"2670377755",2:"1045512516"}},209:{"wght":10,"dev":{1:"1152498853",2:"3382507344"}},210:{"wght":70,"dev":{1:"1967790458",2:"2670377755"}},211:{"wght":10,"dev":{1:"8373630175",2:"1736093043"}},212:{"wght":70,"dev":{1:"3382507344",2:"6507710228"}},213:{"wght":10,"dev":{1:"2670377755",2:"1152498853"}}},"devs":[],"hours":[]}}}]

,pe={

'districtm':'appnexus'

},ia={};h(v,function(a){v[a].__tmp__={}});var pd=function(a){a=a||!1;if(!a&&null!==cc)return cc;var b=null,c=
m;try{c=c.top}catch(e){}var d=!1;try{d=l(c.__lxG__)}catch(e){}if(d&&!a&&-1!==l(d.contentAlertRequested,-1))return!!d.contentAlertRequested;d&&-1!==l(d.contentAlert,-1)?b=!!d.contentAlert:b=dd();if(null===b){d=l(m.__lxG__,{});if(!a&&-1!==l(d.contentAlertRequested,-1))return!!d.contentAlertRequested;d&&-1!==l(d.contentAlert,-1)?b=!!d.contentAlert:b=dd()}return b}();null!==pd?nb.adxAllowed(!pd,"from previous check"):setTimeout(function(a){return function(){var b="&site_area_id="+a;var c=ee();c&&(b+=
"&title="+c);(c=de())&&(b+="&r="+c);b+="&f="+W;sb=(new Date).getTime();jb("//clickiocdn.com/hbadx/?rt="+G()+b,function(){});setTimeout(function(){nb.adxAllowed(!1,"timeout call")},7E3)}}((""+La(v[0])).split("-")[0]),0);!aa&&V||ma("forceBids",function(a,b){if(l(a.ids)){Lc(a.ids);var c=[];h(v,function(b){var d=(""+v[b].code).split("-");h(a.ids,function(b){~d.indexOf(a.ids[b])&&c.push(a.ids[b])})});c=hb(c);E("bids",{bidding:c,start:p.bids.start,end:p.bids.end,bids:[]},b)}});if(aa||V)var qe=function(a,
b){var c=[];return{lb:!0,getSlotElementId:function(){return b},getAdUnitPath:function(){return a},setTargeting:function(a,b){c.push([a,b])},Xa:function(){return c}}},qd=function(a){var b=[];h(a,function(c){c=a[c];var d=wb(c);d&&b.push({path:d.getAdUnitPath(),id:d.getSlotElementId(),sid:c.site_area_id,ssid:c.site_area_sub_id})});return b};if(aa){var Mc=function(a){var b=[];h(a,function(c){c=a[c];var d=!1;if(p.bids.bidding){var e=c.sid+(c.ssid?"."+c.ssid:"");~p.bids.bidding.indexOf(H(c.sid))||~p.bids.bidding.indexOf(e)||
(d=!0)}else d=!0;d&&(d=qe(c.path,c.id),Eb(d),c.kv=d.Xa(),b.push(c))});return{bidding:p.bids.bidding,start:p.bids.start,end:p.bids.end,slots:b}};ma("dfpGetTargeting",function(a,b){l(a.slots)&&(a=Mc(a.slots),E("dfpTargeting",a,b))});ma("getDfpBidHtml",function(a,b){var c=a.id,d=!1,e=mc(c);e&&h(p.bids.bids,function(a){var f=p.bids.bids[a];h(f.data,function(a){var g=f.data[a],h=f.bids[a];if(g.adId==c&&h[2]==e){d=!0;a=l(g.html,"");var k=l(g.url,""),n=g.w;g=g.h;if(Q&&!~da.indexOf(f.id)){var m=f.id.split("."),
p=m[0];m=l(m[1]);da.push(f.id);h={bid_won:1,user_data:{rendered_sds:h[2]}};m&&1<m&&(h.sub_id=m);ea(p,4,h)}E("dfpBidHtml",{id:c,html:a,url:k,w:n,h:g},b);return!1}})});d&&e||E("dfpBidHtml",{id:c,html:!1,url:!1,w:!1,h:!1},b);return!1})}else if(V)var rd=function(a,b){var c=b||(new Date).getTime();return function(b){var d=[],g=[];"timeout"!==b&&b.bidding?h(a,function(c){var e=a[c];if(!l(a[c].__tmp__.ma)){var f=H(La(e)),h=l(e.site_area_sub_id,null);~b.bidding.indexOf(f)||~b.bidding.indexOf(f+(h?"."+h:""))?
g.push(e):(d.push(e),a[c].__tmp__.ma=!0)}}):d=a;if(g.length){var f=rd(g,c),k=setTimeout(function(){k=null;f("timeout")},fc+250-((new Date).getTime()-c));ma("dfpTargeting",function(a,b){return k?(clearTimeout(k),f(a,b)):-1})}d.length&&(b.slots&&b.slots.length&&h(d,function(a){var c=d[a],e=wb(c);e&&h(b.slots,function(a){var d=b.slots[a];e.getAdUnitPath()==d.path&&e.getSlotElementId()==d.id&&(e.getAdUnitPath(),e.getSlotElementId(),c.__tmp__.sb=!0,l(d.kv)&&d.kv.length&&h(d.kv,function(a){a=d.kv[a];e.setTargeting(a[0],
a[1])}))})}),r.cmd.push(function(){fa(d,"from generated DfpTargetingEventCallback")}));return-1}};m.googletag=m.googletag||{};var r=m.googletag;r.cmd=r.cmd||[];var Gc=!1,Cc=[];r.cmd.push(function(){aa&&ma("dfpSlotRendered",function(a){vb(a.path);Bc(a.path,a.id,a.adid)});r.pubads().addEventListener("slotRenderEnded",function(a){var b=a.slot,c=b.getAdUnitPath(),d=b.getSlotElementId();if(a.isEmpty)h(w,function(a,b){if(c==b)return h(v,function(b){l(v[b].code)==a&&l(v[b].__spec__)&&l(v[b].__spec__.hempt)&&
(b=t.getElementById(d),b.style.display="none",b.parentNode.style.display="none")}),!1});else if(a=b.getTargeting("hb_adid"))V?(b.getAdUnitPath(),vb(b.getAdUnitPath()),b.getSlotElementId(),E("dfpSlotRendered",{path:b.getAdUnitPath(),id:b.getSlotElementId(),adid:a},sa)):Bc(c,d,a)})});var w=

{"586049":"\/45470634\/clickio_area_586049_300x600","586055":"\/45470634\/clickio_area_586055_300x600","614896":"\/45470634\/clickio_area_614896_336x280","617739":"\/45470634\/clickio_area_617739_300x600","617405":"\/45470634\/clickio_area_617405_240x400","617411":"\/45470634\/clickio_area_617411_300x600","617409":"\/45470634\/clickio_area_617409_980x120","617415":"\/45470634\/clickio_area_617415_300x600","617417":"\/45470634\/clickio_area_617417_980x120","617420":"\/45470634\/clickio_area_617420_728x90","617430":"\/45470634\/clickio_area_617430_300x250","617434":"\/45470634\/clickio_area_617434_300x600","617439":"\/45470634\/clickio_area_617439_300x600","617436":"\/45470634\/clickio_area_617436_980x120","617441":"\/45470634\/clickio_area_617441_980x120","617445":"\/45470634\/clickio_area_617445_980x120","617449":"\/45470634\/clickio_area_617449_300x600","617453":"\/45470634\/clickio_area_617453_970x250","635010":"\/45470634\/clickio_area_635010_300x600","635009":"\/45470634\/clickio_area_635009_300x600","635148":"\/45470634\/clickio_area_635148_300x600","635158":"\/45470634\/clickio_area_635158_980x120","635156":"\/45470634\/clickio_area_635156_300x600","635163":"\/45470634\/clickio_area_635163_300x300","635192":"\/45470634\/clickio_area_635192_336x280"}

,Db=

[[{"min":0,"max":1,"inc":0.01,"prec":2},{"min":1,"max":3,"inc":0.05,"prec":2},{"min":3,"max":10,"inc":0.1,"prec":2},{"min":10,"max":20,"inc":0.5,"prec":2},{"min":20,"max":100,"inc":5,"prec":2}]]

,gb=null,$a=!1,pc=[];r.cmd.push(function(){gb=r.defineSlot;r.defineSlot=function(a,b,c){var d=gb(a,b,c);if(d){var e=!1,g=!1,f=d.getAdUnitPath(),
k=d.getSlotElementId();h(w,function(b){if(a==w[b])return e=!0,g=qc(k,!0),!1});if(e){d.addService(r.pubads());r.enableServices();var m=null,n=function(a){ca(Ga,function(b){return function(){l(a[0].__spec__)&&1==l(a[0].__spec__.delayed_hb)?Lc([m],function(){S(b)}):S(b)}}(d))};if(!1===g){var q=[];h(w,function(a){if(f==w[a])return h(v,function(b){var c=La(v[b]);if(c==a)return m=c,q.push(K(v[b])),!1}),!1});fb(q);Ya(q,function(a){!$a&&p.bids.bidding&&~p.bids.bidding.indexOf(m)||n(a)})}else h(w,function(a){if(f==
w[a])return h(v,function(b){if(La(v[b])==a){pc.push(k);b=K(v[b]);fb([b]);if(!Ia(b)){var c=!1;if(p.bids.bidding){var e=H(b.site_area_id),f=b.site_area_id+(b.site_area_sub_id?"."+b.site_area_sub_id:"");if(~p.bids.bidding.indexOf(e)||~p.bids.bidding.indexOf(f))c=!0}c?ce("localBidsReady",function(){if(!~p.bids.bidding.indexOf(e)&&!~p.bids.bidding.indexOf(f))return S(d),-1}):S(d)}return!1}}),!1})}}return d}});m.__lxG198659__.renderPassback=function(a){var b=Cb(a);if(b){var c=null;b.getAdUnitPath();h(w,
function(a){if(w[a]==b.getAdUnitPath())return h(v,function(b){if(v[b].code==a)return c=v[b],!1}),!1});c&&l(c.__spec__)&&l(c.__spec__.bckp_rover)&&(a=t.getElementById(a),a.style.display="none",Gb(a.parentNode,c.__spec__.bckp_rover,!0))}};var q=[],Ka=[],Na=null,Ac=[],ha={},yc=[],Cd=[],xc=1;if(Q)var qa=!1,sd=!1,xb=function(){var a=qa?qa:z.getAdserverTargeting();if(p.bids.bidding||sd)return!1;h(p.bids.bids,function(b,c){if(!~td.indexOf(c.id)){td.push(c.id);var d=!1,e=!1,g=0;h(c.data,function(b,k){var f=
c.bids[b];h(a,function(h){h=a[h];if(h.hb_adid==k.adId){var l=f[1];n(ia[k.adId])&&(l=ia[k.adId].da);d=f[0];g=l;e=f[2];h={bucket_max_cpm:parseFloat(h.hb_pb),adjusted_max_cpm:f[1],max_bid_ttr:c.data[b].ttr};X||(h.policy_prohibited=1);ea(c.id,3,{max_sds:e,max_bidder:d,max_cpm:g,bids_used:1,user_data:h});sd=!0;return!1}});if(e)return!1})}})};var tc=[],nc=!1,zb=null,bb=null;m.pbjs=m.pbjs||{};var Ab=m.pbjs,yd=0,td=[],da=[];(function(a){var b=K(a);Ud(b);Td(b);Nb(b);fb(b);I(b);x(b);var c=[];b=b.filter(function(a){var b=
!!l(a.bids,[]).length;b||c.push(a);return b});V?(c.length&&ca(ya,function(){fa(c,"slave mode: no bids configured")}),r.cmd.push(function(){Za.push(function(){kc()});Tc({dfpTargeting:{instnm:ed+ec,slots:qd(b)}},sa);E("forceBids",{ids:p.bids.bidding},sa);ra("dfpGetTargeting",{slots:qd(b)},sa,rd(b),function(){var a=[];h(b,function(c){c=b[c];l(c.__tmp__.ma)||(a.push(c),c.__tmp__.ma=!0)});a.length&&r.cmd.push(function(){fa(a,"dfpGetTargeting got no reply")})})})):Za.push(function(){h(pe,function(a,b){z.aliasBidder(b,
a)});z.bidderSettings={standard:{adserverTargeting:[{key:"hb_adid",val:function(a){return a.adId}},{key:"hb_pb",val:function(a){var b=a.cpm,c="0";(a=Sd(a))&&n(a.__spec__)&&n(a.__spec__.dsid)&&(c=a.__spec__.dsid);return Ad(b,c)}}],bidCpmAdjustment:function(a,b){if(a){var c=Jc(b);c&&n(c.bidCpmAdjustment)&&(a=c.bidCpmAdjustment(b.cpm),ia[b.adId]={da:b.cpm,kb:a})}return a}}};var a=!1;ca(ya,function(){setTimeout(function(){a||(a=!0,r.cmd.push(function(){oc(b,!0)}))},fc)});ca(ya,function(){if(J||null===
J){c.length&&fa(c,"main logic, non-bidded adunits");I(b);x(b);Nb(b);z.addAdUnits(b);var d=b.map(function(a){return a.code});z.requestBids({adUnitCodes:d,bidsBackHandler:function(b){return function(c){a=!0;Ic(b,c)}}(b)})}else a=!0,fa(c.concat(b),"consent not available or declined")})})})(v)

/* prebid.js v1.30.0-pre
Updated : 2019-01-15 */
!(function(u){var s=window.lxpbjsChunk;window.lxpbjsChunk=function(e,t,n){for(var r,i,o,a=0,d=[];a<e.length;a++)i=e[a],c[i]&&d.push(c[i][0]),c[i]=0;for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(u[r]=t[r]);for(s&&s(e,t,n);d.length;)d.shift()();if(n)for(a=0;a<n.length;a++)o=f(f.s=n[a]);return o};var n={},c={181:0};function f(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return u[e].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.m=u,f.c=n,f.d=function(e,t,n){f.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,"a",t),t},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.p="",f.oe=function(e){throw console.error(e),e},f(f.s=605)})({0:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getLatestHighestCpmBid=a.getOldestHighestCpmBid=a.getHighestCpm=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d="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};a.getAdUnitSizes=function(e){if(!e)return;var t=[];if(e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)){var n=e.mediaTypes.banner.sizes;Array.isArray(n[0])?t=n:t.push(n)}else Array.isArray(e.sizes)&&(Array.isArray(e.sizes[0])?t=e.sizes:t.push(e.sizes));return t},a.parseSizesInput=function(e){var t=[];if("string"==typeof e){var n=e.split(","),r=/^(\d)+x(\d)+$/i;if(n)for(var i in n)C(n,i)&&n[i].match(r)&&t.push(n[i])}else if("object"===(void 0===e?"undefined":d(e))){var o=e.length;if(0<o)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(A(e));else for(var a=0;a<o;a++)t.push(A(e[a]))}return t},a.parseGPTSingleSizeArray=A,a.uniques=w,a.flatten=O,a.getBidRequest=function(n,e){var r=void 0;return e.some((function(e){var t=(0,o.default)(e.bids,(function(t){return["bidId","adId","bid_id"].some((function(e){return t[e]===n}))}));return t&&(r=t),t})),r},a.getKeys=R,a.getValue=B,a.getBidderCodes=function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:lxpbjsdfp.adUnits).map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(O,[])})).reduce(O).filter(w)},a.isGptPubadsDefined=function(){if(window.googletag&&a.isFn(window.googletag.pubads)&&a.isFn(window.googletag.pubads().getSlots))return!0},a.shuffle=function(e){var t=e.length;for(;0<t;){var n=Math.floor(Math.random()*t),r=e[--t];e[t]=e[n],e[n]=r}return e},a.adUnitsFilter=function(e,t){return(0,u.default)(e,t&&t.adUnitCode)},a.isSrcdocSupported=function(e){return e.defaultView&&e.defaultView.frameElement&&"srcdoc"in e.defaultView.frameElement&&!/firefox/i.test(navigator.userAgent)},a.deepClone=function(e){return(0,i.default)(e)},a.inIframe=function(){try{return a.getWindowSelf()!==a.getWindowTop()}catch(e){return!0}},a.isSafariBrowser=function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)},a.replaceAuctionPrice=function(e,t){if(!e)return;return e.replace(/\$\{AUCTION_PRICE\}/g,t)},a.timestamp=function(){return(new Date).getTime()},a.checkCookieSupport=function(){if(window.navigator.cookieEnabled||document.cookie.length)return!0},a.cookiesAreEnabled=function(){if(a.checkCookieSupport())return!0;return window.document.cookie="prebid.cookieTest",-1!=window.document.cookie.indexOf("prebid.cookieTest")},a.delayExecution=function(e,t){if(t<1)throw new Error("numRequiredCalls must be a positive number. Got "+t);var n=0;return function(){++n===t&&e.apply(null,arguments)}},a.groupBy=function(e,n){return e.reduce((function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e}),{})},a.deepAccess=function(e,t){if(!e)return;t=String(t).split(".");for(var n=0;n<t.length;n++)if(void 0===(e=e[t[n]]))return;return e},a.createContentToExecuteExtScriptInFriendlyFrame=function(e){if(!e)return"";return'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><base target="_top" /><script>inDapIF=true;<\/script></head><body>\x3c!--PRE_SCRIPT_TAG_MACRO--\x3e<script src="'+e+'"><\/script>\x3c!--POST_SCRIPT_TAG_MACRO--\x3e</body></html>'},a.getDefinedParams=function(n,e){return e.filter((function(e){return n[e]})).reduce((function(e,t){return r(e,(function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e})({},t,n[t]))}),{})},a.isValidMediaTypes=function(e){var t=["banner","native","video"];if(!Object.keys(e).every((function(e){return(0,u.default)(t,e)})))return!1;if(e.video&&e.video.context)return(0,u.default)(["instream","outstream"],e.video.context);return!0},a.getBidderRequest=function(e,t,n){return(0,o.default)(e,(function(e){return 0<e.bids.filter((function(e){return e.bidder===t&&e.adUnitCode===n})).length}))||{start:null,auctionId:null}},a.getUserConfiguredParams=function(e,t,n){return e.filter((function(e){return e.code===t})).map((function(e){return e.bids})).reduce(O,[]).filter((function(e){return e.bidder===n})).map((function(e){return e.params||{}}))},a.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")},a.getDNT=function(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack},a.isAdUnitCodeMatchingSlot=function(t){return function(e){return U(t,e)}},a.isSlotMatchingAdUnitCode=function(t){return function(e){return U(e,t)}},a.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n    "+e.code+" is a "+n+" ad unit\n    containing bidders that don't support "+n+": "+t+".\n    This bidder won't fetch demand.\n  "},a.deletePropertyFromObject=function(e,t){var n=r({},e);return delete n[t],n},a.removeRequestId=function(e){return a.deletePropertyFromObject(e,"requestId")},a.isInteger=function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},a.convertCamelToUnderscore=function(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")},a.transformBidderParamKeywords=function(e){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"keywords",i=[];return a._each(e,(function(e,t){if(a.isArray(e)){var n=[];a._each(e,(function(e){(e=a.getValueString(r+"."+t,e))&&n.push(e)})),e=n}else{if(e=a.getValueString(r+"."+t,e),!a.isStr(e))return;e=[e]}i.push({key:t,value:e})})),i},a.convertTypes=function(r,i){return Object.keys(r).forEach((function(e){var t,n;i[e]&&(a.isFn(r[e])?i[e]=r[e](i[e]):i[e]=(t=r[e],n=i[e],"string"===t?n&&n.toString():"number"===t?Number(n):n),isNaN(i[e])&&delete i.key)})),i};var n=t(3),i=c(t(67)),o=c(t(10)),u=c(t(7)),s=t(11);function c(e){return e&&e.__esModule?e:{default:e}}var f=t(4),l=!1,g=Object.prototype.toString,p=Boolean(window.console),v=Boolean(p&&window.console.log),y=Boolean(p&&window.console.info),m=Boolean(p&&window.console.warn),b=Boolean(p&&window.console.error);a.replaceTokenInString=function(i,e,o){return a._each(e,(function(e,t){e=void 0===e?"":e;var n=o+t.toUpperCase()+o,r=new RegExp(n,"g");i=i.replace(r,e)})),i};var h,E=(h=0,function(){return++h});function S(){return E()+Math.random().toString(16).substr(2)}function A(e){if(a.isArray(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1]))return e[0]+"x"+e[1]}function T(e,t){return e=[].slice.call(e),t&&e.unshift(t),e.unshift("display: inline-block; color: #fff; background: #3b88c3; padding: 1px 4px; border-radius: 3px;"),e.unshift("%cPrebid"),e}a.getUniqueIdentifierStr=S,a.generateUUID=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},a.getBidIdParameter=function(e,t){return t&&t[e]?t[e]:""},a.tryAppendQueryString=function(e,t,n){return n?e+(t+"=")+encodeURIComponent(n)+"&":e},a.parseQueryStringParameters=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t},a.transformAdServerTargetingObj=function(t){return t&&0<Object.getOwnPropertyNames(t).length?R(t).map((function(e){return e+"="+encodeURIComponent(B(t,e))})).join("&"):""},a.getTopWindowLocation=function(){if(a.inIframe()){var e=void 0;try{e=a.getAncestorOrigins()||a.getTopFrameReferrer()}catch(e){logInfo("could not obtain top window location",e)}if(e)return(0,s.parse)(e,{decodeSearchAsString:!0})}return a.getWindowLocation()},a.getTopFrameReferrer=function(){try{window.top.location.toString();for(var e="",t=void 0;(t=t?t.parent:window).document&&t.document.referrer&&(e=t.document.referrer),t!==window.top;);return e}catch(e){return window.document.referrer}},a.getAncestorOrigins=function(){if(window.document.location&&window.document.location.ancestorOrigins&&1<=window.document.location.ancestorOrigins.length)return window.document.location.ancestorOrigins[window.document.location.ancestorOrigins.length-1]},a.getWindowTop=function(){return window.top},a.getWindowSelf=function(){return window.self},a.getWindowLocation=function(){return window.location},a.getTopWindowUrl=function(){var t=void 0;try{t=a.getTopWindowLocation().href}catch(e){t=""}return t},a.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},a.logMessage=function(){I()&&v&&console.log.apply(console,T(arguments,"MESSAGE:"))},a.logInfo=function(){I()&&y&&console.info.apply(console,T(arguments,"INFO:"))},a.logWarn=function(){I()&&m&&console.warn.apply(console,T(arguments,"WARNING:"))},a.logError=function(){I()&&b&&console.error.apply(console,T(arguments,"ERROR:"))},a.hasConsoleLogger=function(){return v};var I=function(){if(!1===n.config.getConfig("debug")&&!1===l){var e="TRUE"===_(f.DEBUG_MODE).toUpperCase();n.config.setConfig({debug:e}),l=!0}return!!n.config.getConfig("debug")};a.debugTurnedOn=I,a.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=S(),e.height=0,e.width=0,e.border="0px",e.hspace="0",e.vspace="0",e.marginWidth="0",e.marginHeight="0",e.style.border="0",e.scrolling="no",e.frameBorder="0",e.src="about:blank",e.style.display="none",e};var _=function(e){var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))};a.getParameterByName=_,a.hasValidBidRequest=function(e,n,t){var r=!1;function i(e,t){t===n[o]&&(r=!0)}for(var o=0;o<n.length;o++)if(r=!1,a._each(e,i),!r)return a.logError("Params are missing for bid request. One of these required paramaters are missing: "+n,t),!1;return!0},a.addEventHandler=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!0):e.attachEvent&&e.attachEvent("on"+t,n)},a.isA=function(e,t){return g.call(e)==="[object "+t+"]"},a.isFn=function(e){return a.isA(e,"Function")},a.isStr=function(e){return a.isA(e,"String")},a.isArray=function(e){return a.isA(e,"Array")},a.isNumber=function(e){return a.isA(e,"Number")},a.isPlainObject=function(e){return a.isA(e,"Object")},a.isBoolean=function(e){return a.isA(e,"Boolean")},a.isEmpty=function(e){if(!e)return!0;if(a.isArray(e)||a.isStr(e))return!(0<e.length);for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0},a.isEmptyStr=function(e){return a.isStr(e)&&(!e||0===e.length)},a._each=function(e,t){if(!a.isEmpty(e)){if(a.isFn(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(0<r)for(;n<r;n++)t(e[n],n,e);else for(n in e)hasOwnProperty.call(e,n)&&t.call(this,e[n],n)}},a.contains=function(e,t){if(a.isEmpty(e))return!1;if(a.isFn(e.indexOf))return-1!==e.indexOf(t);for(var n=e.length;n--;)if(e[n]===t)return!0;return!1},a.indexOf=(function(){if(Array.prototype.indexOf)return Array.prototype.indexOf})(),a._map=function(n,r){if(a.isEmpty(n))return[];if(a.isFn(n.map))return n.map(r);var i=[];return a._each(n,(function(e,t){i.push(r(e,t,n))})),i};var C=function(e,t){return e.hasOwnProperty?e.hasOwnProperty(t):void 0!==e[t]&&e.constructor.prototype[t]!==e[t]};function w(e,t,n){return n.indexOf(e)===t}function O(e,t){return e.concat(t)}function R(e){return Object.keys(e)}function B(e,t){return e[t]}a.insertElement=function(e,t,n){t=t||document;var r=void 0;r=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{(r=r.length?r:t.getElementsByTagName("body")).length&&(r=r[0]).insertBefore(e,r.firstChild)}catch(e){}},a.triggerPixel=function(e){(new Image).src=e},a.callBurl=function(e){var t=e.source,n=e.burl;t===f.S2S.SRC&&n&&a.triggerPixel(n)},a.insertHtmlIntoIframe=function(e){if(e){var t=document.createElement("iframe");t.id=a.getUniqueIdentifierStr(),t.width=0,t.height=0,t.hspace="0",t.vspace="0",t.marginWidth="0",t.marginHeight="0",t.style.display="none",t.style.height="0px",t.style.width="0px",t.scrolling="no",t.frameBorder="0",t.allowtransparency="true",a.insertElement(t,document,"body"),t.contentWindow.document.open(),t.contentWindow.document.write(e),t.contentWindow.document.close()}},a.insertUserSyncIframe=function(e){var t=a.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),n=document.createElement("div");n.innerHTML=t;var r=n.firstChild;a.insertElement(r)},a.createTrackPixelHtml=function(e){if(!e)return"";var t='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return t+='<img src="'+encodeURI(e)+'"></div>'},a.createTrackPixelIframeHtml=function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"";return e?(t&&(e=encodeURI(e)),n&&(n='sandbox="'+n+'"'),"<iframe "+n+' id="'+a.getUniqueIdentifierStr()+'"\n      frameborder="0"\n      allowtransparency="true"\n      marginheight="0" marginwidth="0"\n      width="0" hspace="0" vspace="0" height="0"\n      style="height:0px;width:0px;display:none;"\n      scrolling="no"\n      src="'+e+'">\n    </iframe>'):""},a.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){a.logError("Cannot get iframe document",e)}return t}},a.getValueString=function(e,t,n){return null==t?n:a.isStr(t)?t:a.isNumber(t)?t.toString():void a.logWarn("Unsuported type for param: "+e+" required type: String")};a.getHighestCpm=N("timeToRespond",(function(e,t){return t<e})),a.getOldestHighestCpmBid=N("responseTimestamp",(function(e,t){return t<e})),a.getLatestHighestCpmBid=N("responseTimestamp",(function(e,t){return e<t}));function N(n,r){return function(e,t){return e.cpm===t.cpm?r(e[n],t[n])?t:e:e.cpm<t.cpm?t:e}}var U=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t}},1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(r=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&d.return&&d.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},p="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},v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.registerBidder=function(t){var n=Array.isArray(t.supportedMediaTypes)?{supportedMediaTypes:t.supportedMediaTypes}:void 0;function r(e){var t=g(e);i.default.registerBidAdapter(t,e.code,n)}r(t),Array.isArray(t.aliases)&&t.aliases.forEach((function(e){i.default.aliasRegistry[e]=t.code,r(v({},t,{code:e}))}))},t.newBidder=g,t.isValid=E;var r=f(n(27)),i=f(n(8)),o=n(3),y=f(n(16)),a=n(18),d=n(17),u=n(41),m=f(n(4)),b=f(n(9)),s=f(n(7)),h=n(0);function f(e){return e&&e.__esModule?e:{default:e}}var l=["requestId","cpm","ttl","creativeId","netRevenue","currency"];function g(f){return v(new r.default(f.code),{getSpec:function(){return Object.freeze(f)},registerSyncs:l,callBids:function(o,a,t,n){if(Array.isArray(o.bids)){var d={},u=[],e=o.bids.filter(g);if(0!==e.length){var s={};e.forEach((function(e){(s[e.bidId]=e).adUnitCode||(e.adUnitCode=e.placementCode)}));var r=f.buildRequests(e,o);if(r&&0!==r.length){Array.isArray(r)||(r=[r]);var c=(0,h.delayExecution)(i,r.length);r.forEach((function(i){switch(i.method){case"GET":n(""+i.url+(function(e){if(e)return"?"+("object"===(void 0===e?"undefined":p(e))?(0,h.parseQueryStringParameters)(e):e);return""})(i.data),{success:e,error:t},void 0,v({method:"GET",withCredentials:!0},i.options));break;case"POST":n(i.url,{success:e,error:t},"string"==typeof i.data?i.data:JSON.stringify(i.data),v({method:"POST",contentType:"text/plain",withCredentials:!0},i.options));break;default:(0,h.logWarn)("Skipping invalid request from "+f.code+". Request type "+i.type+" must be GET or POST"),c()}function e(e,t){try{e=JSON.parse(e)}catch(e){}e={body:e,headers:{get:t.getResponseHeader.bind(t)}},u.push(e);var n=void 0;try{n=f.interpretResponse(e,i)}catch(e){return(0,h.logError)("Bidder "+f.code+" failed to interpret the server's response. Continuing without bids",null,e),void c()}function r(e){var t,n,r=s[e.requestId];if(r){var i=v(y.default.createBid(m.default.STATUS.GOOD,r),e);t=r.adUnitCode,n=i,d[t]=!0,E(t,n,[o])&&a(t,n)}else(0,h.logWarn)("Bidder "+f.code+" made bid for unknown request ID: "+e.requestId+". Ignoring.")}n&&(n.forEach?n.forEach(r):r(n)),c(n)}function t(e){(0,h.logError)("Server call for "+f.code+" failed: "+e+". Continuing without bids."),c()}}))}else i()}else i()}function i(e){t(),b.default.emit(m.default.EVENTS.BIDDER_DONE,o),l(u,o.gdprConsent)}}});function l(e,t){if(f.getUserSyncs){var n=o.config.getConfig("userSync.filterSettings"),r=f.getUserSyncs({iframeEnabled:!!(o.config.getConfig("userSync.iframeEnabled")||n&&(n.iframe||n.all)),pixelEnabled:!!(o.config.getConfig("userSync.pixelEnabled")||n&&(n.image||n.all))},e,t);r&&(Array.isArray(r)||(r=[r]),r.forEach((function(e){a.userSync.registerSync(e.type,f.code,e.url)})))}}function g(e){return!!f.isBidRequestValid(e)||((0,h.logWarn)("Invalid bid sent to bidder "+f.code+": "+JSON.stringify(e)),!1)}}function E(e,t,n){function r(e){return"Invalid bid from "+t.bidderCode+". Ignoring bid: "+e}return e?t?(i=Object.keys(t),l.every((function(e){return(0,s.default)(i,e)&&!(0,s.default)([void 0,null],t[e])}))?"native"!==t.mediaType||(0,d.nativeBidIsValid)(t,n)?"video"!==t.mediaType||(0,u.isValidVideoBid)(t,n)?!("banner"===t.mediaType&&!(function(e,t,n){if((t.width||0===t.width)&&(t.height||0===t.height))return!0;var r=(0,h.getBidderRequest)(n,t.bidderCode,e),i=r&&r.bids&&r.bids[0]&&r.bids[0].sizes,o=(0,h.parseSizesInput)(i);if(1===o.length){var a=o[0].split("x"),d=c(a,2),u=d[0],s=d[1];return t.width=u,t.height=s,!0}return!1})(e,t,n))||((0,h.logError)(r("Banner bids require a width and height")),!1):((0,h.logError)(r("Video bid does not have required vastUrl or renderer property")),!1):((0,h.logError)(r("Native bid missing some required properties.")),!1):((0,h.logError)(r("Bidder "+t.bidderCode+" is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.")),!1)):((0,h.logWarn)("Some adapter tried to add an undefined bid for "+e+"."),!1):((0,h.logWarn)("No adUnitCode was supplied to addBidResponse."),!1);var i}},10:function(e,t,n){n(47),e.exports=n(13).Array.find},11:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(r=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&d.return&&d.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function i(e){return e?e.replace(/^\?/,"").split("&").reduce((function(e,t){var n=t.split("="),r=a(n,2),i=r[0],o=r[1];return/\[\]$/.test(i)?(e[i=i.replace("[]","")]=e[i]||[],e[i].push(o)):e[i]=o||"",e}),{}):{}}function r(e){return Object.keys(e).map((function(t){return Array.isArray(e[t])?e[t].map((function(e){return t+"[]="+e})).join("&"):t+"="+e[t]})).join("&")}t.parseQS=i,t.formatQS=r,t.parse=function(e,t){var n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var r=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:r?n.search:i(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}},t.format=function(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":"+e.port:""))+(e.pathname||"")+(e.search?"?"+r(e.search||""):"")+(e.hash?"#"+e.hash:"")}},12:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=r,t.isRendererRequired=function(e){return!(!e||!e.url)},t.executeRenderer=function(e,t){e.render(t)};var d=n(28),u=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0));function r(e){var t=this,n=e.url,r=e.config,i=e.id,o=e.callback,a=e.loaded;this.url=n,this.config=r,this.handlers={},this.id=i,this.loaded=a,this.cmd=[],this.push=function(e){"function"==typeof e?t.loaded?e.call():t.cmd.push(e):u.logError("Commands given to Renderer.push must be wrapped in a function")},this.callback=o||function(){t.loaded=!0,t.process()},(0,d.loadScript)(n,this.callback,!0)}r.install=function(e){return new r({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded})},r.prototype.getConfig=function(){return this.config},r.prototype.setRender=function(e){this.render=e},r.prototype.setEventHandlers=function(e){this.handlers=e},r.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;"function"==typeof this.handlers[n]&&this.handlers[n](),u.logMessage("Prebid Renderer event for id "+t+" type "+n)},r.prototype.process=function(){for(;0<this.cmd.length;)try{this.cmd.shift().call()}catch(e){u.logError("Error processing Renderer command: ",e)}}},121:function(e,t,n){"use strict";var r=n(14),i=n(34)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,1<arguments.length?arguments[1]:void 0)}}),n(26)(o)},13:function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},14:function(e,t,n){var v=n(19),y=n(13),m=n(32),b=n(49),h=n(56),E="prototype",S=function(e,t,n){var r,i,o,a=e&S.F,d=e&S.G,u=e&S.S,s=e&S.P,c=e&S.B,f=e&S.W,l=d?y:y[t]||(y[t]={}),g=l[E],p=d?v:u?v[t]:(v[t]||{})[E];for(r in d&&(n=t),n)(i=!a&&p&&void 0!==p[r])&&h(l,r)||(o=i?p[r]:n[r],l[r]=d&&"function"!=typeof p[r]?n[r]:c&&i?m(o,v):f&&p[r]==o?(function(r){var e=function(e,t,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,n)}return r.apply(this,arguments)};return e[E]=r[E],e})(o):s&&"function"==typeof o?m(Function.call,o):o,s&&((l.virtual||(l.virtual={}))[r]=o,e&S.R&&g&&!g[r]&&b(g,r,o)))};S.F=1,S.G=2,S.S=4,S.P=8,S.B=16,S.W=32,S.U=64,S.R=128,e.exports=S},15:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},16:function(e,t,n){"use strict";var o=n(0);function r(e,t){var n=t&&t.bidId||o.getUniqueIdentifierStr(),r=t&&t.src||"client",i=e||0;this.bidderCode=t&&t.bidder||"",this.width=0,this.height=0,this.statusMessage=(function(){switch(i){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}})(),this.adId=n,this.mediaType="banner",this.source=r,this.getStatusCode=function(){return i},this.getSize=function(){return this.width+"x"+this.height}}t.createBid=function(e,t){return new r(e,t)}},17:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonNativeBidder=t.nativeBidder=t.nativeAdUnit=t.NATIVE_TARGETING_KEYS=t.nativeAdapters=void 0;var o="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};t.processNativeAdUnitParams=function(e){if(e&&e.type&&(function(e){if(!e||!(0,d.default)(Object.keys(c),e))return(0,a.logError)(e+" nativeParam is not supported"),!1;return!0})(e.type))return c[e.type];return e},t.nativeBidIsValid=function(t,e){var n=(0,a.getBidRequest)(t.adId,e);if(!n)return!1;if(!(0,a.deepAccess)(t,"native.clickUrl"))return!1;if((0,a.deepAccess)(t,"native.image")&&(!(0,a.deepAccess)(t,"native.image.height")||!(0,a.deepAccess)(t,"native.image.width")))return!1;if((0,a.deepAccess)(t,"native.icon")&&(!(0,a.deepAccess)(t,"native.icon.height")||!(0,a.deepAccess)(t,"native.icon.width")))return!1;var r=n.nativeParams;if(!r)return!0;var i=Object.keys(r).filter((function(e){return r[e].required})),o=Object.keys(t.native).filter((function(e){return t.native[e]}));return i.every((function(e){return(0,d.default)(o,e)}))},t.fireNativeTrackers=function(e,t){var n=void 0;"click"===e.action?n=t.native&&t.native.clickTrackers:(n=t.native&&t.native.impressionTrackers,t.native&&t.native.javascriptTrackers&&(0,a.insertHtmlIntoIframe)(t.native.javascriptTrackers));(n||[]).forEach(a.triggerPixel)},t.getNativeTargeting=function(r){var i={};return Object.keys(r.native).forEach((function(e){var t=u.NATIVE_KEYS[e],n=r.native[e];"object"===(void 0===n?"undefined":o(n))&&n.url&&(n=n.url),t&&(i[t]=n)})),i};var r,a=n(0),i=n(7),d=(r=i)&&r.__esModule?r:{default:r};var u=n(4),s=t.nativeAdapters=[],c=(t.NATIVE_TARGETING_KEYS=Object.keys(u.NATIVE_KEYS).map((function(e){return u.NATIVE_KEYS[e]})),{image:{image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}});t.nativeAdUnit=function(e){var t="native"===e.mediaType,n=(0,a.deepAccess)(e,"mediaTypes.native");return t||n};var f=t.nativeBidder=function(e){return(0,d.default)(s,e.bidder)};t.hasNonNativeBidder=function(e){return e.bids.filter((function(e){return!f(e)})).length}},18:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userSync=void 0;var i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(r=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&d.return&&d.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.newUserSync=a;var r,c=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0)),f=n(3),o=n(7),l=(r=o)&&r.__esModule?r:{default:r};function a(e){var t={},o={image:[],iframe:[]},n=!1,a={},d={image:!1,iframe:!1},u=e.config;function r(){if(u.syncEnabled&&e.browserSupportsCookies&&!n){try{!(function(){if(!u.pixelEnabled&&!d.image)return;c.shuffle(o.image).forEach((function(e){var t=i(e,2),n=t[0],r=t[1];c.logMessage("Invoking image pixel user sync for bidder: "+n),c.triggerPixel(r)}))})(),(function(){if(!u.iframeEnabled&&!d.iframe)return;c.shuffle(o.iframe).forEach((function(e){var t=i(e,2),n=t[0],r=t[1];c.logMessage("Invoking iframe user sync for bidder: "+n),c.insertUserSyncIframe(r)}))})()}catch(e){return c.logError("Error firing user syncs",e)}o={image:[],iframe:[]},n=!0}}return f.config.getConfig("userSync",(function(e){u=s(u,e.userSync)})),t.registerSync=function(e,t,n){if(!u.syncEnabled||!c.isArray(o[e]))return c.logWarn('User sync type "'+e+'" not supported');if(!t)return c.logWarn("Bidder is required for registering sync");if(Number(a[t])>=u.syncsPerBidder)return c.logWarn('Number of user syncs exceeded for "'+t+'"');if(u.filterSettings){if(function(e,t){var n=u.filterSettings;if(function(e,t){if(e.all&&e[t])return c.logWarn('Detected presence of the "filterSettings.all" and "filterSettings.'+t+'" in userSync config.  You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.'),!1;var n=e.all?e.all:e[t],r=e.all?"all":t;if(!n)return!1;var i=n.filter,o=n.bidders;if(i&&"include"!==i&&"exclude"!==i)return c.logWarn('UserSync "filterSettings.'+r+".filter\" setting '"+i+"' is not a valid option; use either 'include' or 'exclude'."),!1;if("*"!==o&&!(Array.isArray(o)&&0<o.length&&o.every((function(e){return c.isStr(e)&&"*"!==e}))))return c.logWarn('Detected an invalid setup in userSync "filterSettings.'+r+".bidders\"; use either '*' (to represent all bidders) or an array of bidders."),!1;return!0}(n,e)){d[e]=!0;var r=n.all?n.all:n[e],i="*"===r.bidders?[t]:r.bidders,o=r.filter||"include",a={include:function(e,t){return!(0,l.default)(e,t)},exclude:function(e,t){return(0,l.default)(e,t)}};return a[o](i,t)}return!1}(e,t))return c.logWarn("Bidder '"+t+"' is not permitted to register their userSync "+e+" pixels as per filterSettings config.")}else if(u.enabledBidders&&u.enabledBidders.length&&u.enabledBidders.indexOf(t)<0)return c.logWarn('Bidder "'+t+'" not permitted to register their userSync pixels.');var r,i;o[e].push([t,n]),(r=a)[i=t]?r[i]+=1:r[i]=1,a=r},t.syncUsers=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(r,Number(e));r()},t.triggerUserSyncs=function(){u.enableOverride&&t.syncUsers()},t}f.config.setDefaults({userSync:{syncEnabled:!0,pixelEnabled:!0,syncsPerBidder:5,syncDelay:3e3}});var d=!c.isSafariBrowser()&&c.cookiesAreEnabled();t.userSync=a({config:f.config.getConfig("userSync"),browserSupportsCookies:d})},19:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NATIVE="native",t.VIDEO="video",t.BANNER="banner"},20:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u="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};t.createHook=function(r,i,e){var d=[{fn:i,priority:0}],o={sync:function(){for(var t=this,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];d.forEach((function(e){e.fn.apply(t,n)}))},asyncSeries:function(){for(var o=this,e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=0;return d[a].fn.apply(this,t.concat((function e(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=d[++a];if("object"===(void 0===i?"undefined":u(i))&&"function"==typeof i.fn)return i.fn.apply(o,n.concat(e))})))}};if(!o[r])throw"invalid hook type";var t={addHook:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:10;"function"==typeof e&&(d.push({fn:e,priority:t}),d.sort((function(e,t){return t.priority-e.priority})))},removeHook:function(t){d=d.filter((function(e){return e.fn===i||e.fn!==t}))},hasHook:function(t){return d.some((function(e){return e.fn===t}))}};"string"==typeof e&&(s[e]=t);return a((function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===d.length&&d[0].fn===i)return i.apply(this,t);return o[r].apply(this,t)}),t)};var s=t.hooks={}},21:function(e,t,n){n(121),e.exports=n(13).Array.findIndex},22:function(e,t,n){e.exports=!n(33)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},224:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.store=function(e,t){var n={puts:e.map(a)};(0,i.ajax)(o.config.getConfig("cache.url"),(r=t,{success:function(e){var t=void 0;try{t=JSON.parse(e).responses}catch(e){return void r(e,[])}t?r(null,t):r(new Error("The cache server didn't respond with a responses property."),[])},error:function(e,t){r(new Error("Error storing video ad in the cache: "+e+": "+JSON.stringify(t)),[])}}),JSON.stringify(n),{contentType:"text/plain",withCredentials:!0});var r},t.getCacheUrl=function(e){return o.config.getConfig("cache.url")+"?uuid="+e};var i=n(6),o=n(3);function a(e){var t,n;return{type:"xml",value:e.vastXml?e.vastXml:(t=e.vastUrl,n=e.vastImpUrl,'<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA['+t+"]]></VASTAdTagURI>\n        <Impression>"+(n?"<![CDATA["+n+"]]>":"")+"</Impression>\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>"),ttlseconds:Number(e.ttl)}}},23:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},24:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},25:function(e,t,n){var r=n(60)("wks"),i=n(62),o=n(19).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},26:function(e,t){e.exports=function(){}},27:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}},28:function(e,t,n){"use strict";var r,i=n(7),o=(r=i)&&r.__esModule?r:{default:r},a=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0));var d={},u=["criteo"];function s(e,t){var n=document.createElement("script");n.type="text/javascript",n.async=!0,t&&"function"==typeof t&&(n.readyState?n.onreadystatechange=function(){"loaded"!==n.readyState&&"complete"!==n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()}),n.src=e;var r=document.getElementsByTagName("head");(r=r.length?r:document.getElementsByTagName("body")).length&&(r=r[0]).insertBefore(n,r.firstChild)}t.loadExternalScript=function(e,t){if(t&&e)if((0,o.default)(u,t)){if(!d[e]){a.logWarn("module "+t+" is loading external JavaScript");var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=e,a.insertElement(n),d[e]=!0}}else a.logError(t+" not whitelisted for loading external JavaScript");else a.logError("cannot load external script without url and moduleCode")},t.loadScript=function(t,e,n){t?n?d[t]?e&&"function"==typeof e&&(d[t].loaded?e():d[t].callbacks.push(e)):(d[t]={loaded:!1,callbacks:[]},e&&"function"==typeof e&&d[t].callbacks.push(e),s(t,(function(){d[t].loaded=!0;try{for(var e=0;e<d[t].callbacks.length;e++)d[t].callbacks[e]()}catch(e){a.logError("Error executing callback","adloader.js:loadScript",e)}}))):s(t,e):a.logError("Error attempting to request empty URL","adloader.js:loadScript")}},29:function(kp,lp){var mp;mp=(function(){return this})();try{mp=mp||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(mp=window)}kp.exports=mp},3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=t.RANDOM=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s="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};t.newConfig=d;var r=n(31),c=o(n(10)),f=o(n(7)),i=n(20);function o(e){return e&&e.__esModule?e:{default:e}}var l=n(0),g=!1,p=3e3,v=window.location.origin,y=!0,m=!1,b=200,a=t.RANDOM="random",h={};h[a]=!0,h.fixed=!0;var E=a,S={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},A="*";function d(){var o=[],a=void 0,d=void 0;function e(){function i(t){return(0,c.default)(Object.keys(S),(function(e){return t===S[e]}))}function o(e){if(!e)return l.logError("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)i(e)||l.logWarn("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if("object"===(void 0===e?"undefined":s(e))&&!(0,r.isValidPriceConfig)(e))return l.logError("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}a={},d={_debug:g,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:p,get bidderTimeout(){return this._bidderTimeout},set bidderTimeout(e){this._bidderTimeout=e},_publisherDomain:v,get publisherDomain(){return this._publisherDomain},set publisherDomain(e){this._publisherDomain=e},_priceGranularity:S.MEDIUM,set priceGranularity(e){o(e)&&("string"==typeof e?this._priceGranularity=i(e)?e:S.MEDIUM:"object"===(void 0===e?"undefined":s(e))&&(this._customPriceBucket=e,this._priceGranularity=S.CUSTOM,l.logMessage("Using custom price granularity")))},get priceGranularity(){return this._priceGranularity},_customPriceBucket:{},get customPriceBucket(){return this._customPriceBucket},_mediaTypePriceGranularity:{},get mediaTypePriceGranularity(){return this._mediaTypePriceGranularity},set mediaTypePriceGranularity(n){var r=this;this._mediaTypePriceGranularity=Object.keys(n).reduce((function(e,t){return o(n[t])?"string"==typeof n?e[t]=i(n[t])?n[t]:r._priceGranularity:"object"===(void 0===n?"undefined":s(n))&&(e[t]=n[t],l.logMessage("Using custom price granularity for "+t)):l.logWarn("Invalid price granularity for media type: "+t),e}),{})},_sendAllBids:y,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_bidderSequence:E,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){h[e]?this._bidderSequence=e:l.logWarn("Invalid order: "+e+". Bidder Sequence was not set.")},_timoutBuffer:b,get timeoutBuffer(){return this._timoutBuffer},set timeoutBuffer(e){this._timoutBuffer=e},_disableAjaxTimeout:m,get disableAjaxTimeout(){return this._disableAjaxTimeout},set disableAjaxTimeout(e){this._disableAjaxTimeout=e}}}var t=(0,i.createHook)("asyncSeries",(function(n){if("object"===(void 0===n?"undefined":s(n))){var i,t,e=Object.keys(n),r={};e.forEach((function(e){var t=n[e];"object"===s(a[e])&&"object"===(void 0===t?"undefined":s(t))&&(t=u({},a[e],t)),r[e]=d[e]=t})),i=r,t=Object.keys(i),o.filter((function(e){return(0,f.default)(t,e.topic)})).forEach((function(e){var t,n,r;e.callback((t={},n=e.topic,r=i[e.topic],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t))})),o.filter((function(e){return e.topic===A})).forEach((function(e){return e.callback(i)}))}else l.logError("setConfig options must be an object")}));return e(),{getConfig:function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var e=arguments.length<=0?void 0:arguments[0];return e?l.deepAccess(d,e):d}return function(e,t){var n=t;if("string"!=typeof e&&(n=e,e=A),"function"==typeof n)return o.push({topic:e,callback:n}),function(){o.splice(o.indexOf(t),1)};l.logError("listener must be a function")}.apply(void 0,arguments)},setConfig:t,setDefaults:function(e){"object"===(void 0===a?"undefined":s(a))?(u(a,e),u(d,e)):l.logError("defaults must be an object")},resetConfig:e}}t.config=d()},30:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auctionManager=void 0,t.newAuctionManager=u;var r,i=n(0),s=n(44),o=n(10),a=(r=o)&&r.__esModule?r:{default:r};var d=n(4);function u(){var u=[],r={};return r.addWinningBid=function(t){var e=(0,a.default)(u,(function(e){return e.getAuctionId()===t.auctionId}));e?e.addWinningBid(t):utils.logWarn("Auction not found when adding winning bid")},r.getAllWinningBids=function(){return u.map((function(e){return e.getWinningBids()})).reduce(i.flatten,[])},r.getBidsRequested=function(){return u.map((function(e){return e.getBidRequests()})).reduce(i.flatten,[])},r.getBidsReceived=function(){return u.map((function(e){if(e.getAuctionStatus()===s.AUCTION_COMPLETED)return e.getBidsReceived()})).reduce(i.flatten,[]).filter((function(e){return e}))},r.getAdUnits=function(){return u.map((function(e){return e.getAdUnits()})).reduce(i.flatten,[])},r.getAdUnitCodes=function(){return u.map((function(e){return e.getAdUnitCodes()})).reduce(i.flatten,[]).filter(i.uniques)},r.createAuction=function(e){var t,n=e.adUnits,r=e.adUnitCodes,i=e.callback,o=e.cbTimeout,a=e.labels,d=(0,s.newAuction)({adUnits:n,adUnitCodes:r,callback:i,cbTimeout:o,labels:a});return t=d,u.push(t),d},r.findBidByAdId=function(t){return(0,a.default)(u.map((function(e){return e.getBidsReceived()})).reduce(i.flatten,[]),(function(e){return e.adId===t}))},r.getStandardBidderAdServerTargeting=function(){return(0,s.getStandardBidderSettings)()[d.JSON_MAPPING.ADSERVER_TARGETING]},r.setStatusForBids=function(e,t){var n=r.findBidByAdId(e);n&&(n.status=t)},r}t.auctionManager=u()},31:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidPriceConfig=t.getPriceBucketString=void 0;var r,i=n(10),v=(r=i)&&r.__esModule?r:{default:r};var o=n(0),y=2,a={buckets:[{min:0,max:5,increment:.5}]},d={buckets:[{min:0,max:20,increment:.1}]},u={buckets:[{min:0,max:20,increment:.01}]},s={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},c={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};function f(n,e,r){var i="";if(!m(e))return i;var t,o,a,d,u,s,c,f,l,g=e.buckets.reduce((function(e,t){return e.max>t.max?e:t}),{max:0}),p=(0,v.default)(e.buckets,(function(e){if(n>g.max*r){var t=e.precision;void 0===t&&(t=y),i=(e.max*r).toFixed(t)}else if(n<=e.max*r&&n>=e.min*r)return e}));return p&&(t=n,a=r,d=void 0!==(o=p).precision?o.precision:y,u=o.increment*a,s=o.min*a,c=Math.pow(10,d+2),f=(t*c-s*c)/(u*c),l=Math.floor(f)*u+s,i=(l=Number(l.toFixed(10))).toFixed(d)),i}function m(e){if(o.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach((function(e){void 0!==e.min&&e.max&&e.increment||(t=!1)})),t}t.getPriceBucketString=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":f(e,a,n),med:""===r?"":f(e,d,n),high:""===r?"":f(e,u,n),auto:""===r?"":f(e,c,n),dense:""===r?"":f(e,s,n),custom:""===r?"":f(e,t,n)}},t.isValidPriceConfig=m},32:function(e,t,n){var o=n(48);e.exports=function(r,i,e){if(o(r),void 0===i)return r;switch(e){case 1:return function(e){return r.call(i,e)};case 2:return function(e,t){return r.call(i,e,t)};case 3:return function(e,t,n){return r.call(i,e,t,n)}}return function(){return r.apply(i,arguments)}}},33:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},34:function(e,t,n){var h=n(32),E=n(35),S=n(57),A=n(36),r=n(58);e.exports=function(f,e){var l=1==f,g=2==f,p=3==f,v=4==f,y=6==f,m=5==f||y,b=e||r;return function(e,t,n){for(var r,i,o=S(e),a=E(o),d=h(t,n,3),u=A(a.length),s=0,c=l?b(e,u):g?b(e,0):void 0;s<u;s++)if((m||s in a)&&(i=d(r=a[s],s,o),f))if(l)c[s]=i;else if(i)switch(f){case 3:return!0;case 5:return r;case 6:return s;case 2:c.push(r)}else if(v)return!1;return y?-1:p||v?v:c}}},35:function(e,t,n){var r=n(23);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},36:function(e,t,n){var r=n(37),i=Math.min;e.exports=function(e){return 0<e?i(r(e),9007199254740991):0}},37:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:n)(e)}},38:function(e,t,n){var r=n(23);e.exports=Array.isArray||function(e){return"Array"==r(e)}},39:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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};t.setSizeConfig=d,t.getLabels=function(e,t){if(e.labelAll)return{labelAll:!0,labels:e.labelAll,activeLabels:t};return{labelAll:!1,labels:e.labelAny,activeLabels:t}},t.sizeSupported=function(e){var t=y(1<arguments.length&&void 0!==arguments[1]?arguments[1]:v);if(!t.shouldFilter)return!0;return!!t.sizesSupported[e]},t.resolveStatus=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,i=void 0!==r&&r,o=e.activeLabels,a=void 0===o?[]:o,d=arguments[1],u=arguments[2],s=y(3<arguments.length&&void 0!==arguments[3]?arguments[3]:v);d=(0,g.isPlainObject)(d)?(0,g.deepClone)(d):{};u&&(d.banner?d.banner.sizes||(d.banner.sizes=u):d.banner={sizes:u});var c=(0,g.deepAccess)(d,"banner.sizes");s.shouldFilter&&c&&(d.banner.sizes=c.filter((function(e){return s.sizesSupported[e]})));var f=Object.keys(d),l={active:1<f.length||1===f.length&&"banner"!==f[0]||"banner"===f[0]&&0<(0,g.deepAccess)(d,"banner.sizes.length")&&(0===n.length||!i&&(n.some((function(e){return s.labels[e]}))||n.some((function(e){return(0,p.default)(a,e)})))||i&&n.reduce((function(e,t){return e?s.labels[t]||(0,p.default)(a,t):e}),!0)),mediaTypes:d};c&&c.length!==d.banner.sizes.length&&(l.filterResults={before:c,after:d.banner.sizes});return l};var i,o=n(3),g=n(0),a=n(7),p=(i=a)&&i.__esModule?i:{default:i};var v=[];function d(e){v=e}function y(e){return e.reduce((function(n,e){return"object"===(void 0===e?"undefined":r(e))&&"string"==typeof e.mediaQuery?matchMedia(e.mediaQuery).matches&&(Array.isArray(e.sizesSupported)&&(n.shouldFilter=!0),["labels","sizesSupported"].forEach((function(t){return(e[t]||[]).forEach((function(e){return n[t][e]=!0}))}))):(0,g.logWarn)('sizeConfig rule missing required property "mediaQuery"'),n}),{labels:{},sizesSupported:{},shouldFilter:!1})}o.config.getConfig("sizeConfig",(function(e){return d(e.sizeConfig)}))},4:function(e,t){e.exports={JSON_MAPPING:{PL_CODE:"code",PL_SIZE:"sizes",PL_BIDS:"bids",BD_BIDDER:"bidder",BD_ID:"paramsd",BD_PL_ID:"placementId",ADSERVER_TARGETING:"adserverTargeting",BD_SETTING_STANDARD:"standard"},REPO_AND_VERSION:"prebid_prebid_1.30.0-pre",DEBUG_MODE:"lxpbjs_debug",STATUS:{GOOD:1,NO_BID:2},CB:{TYPE:{ALL_BIDS_BACK:"allRequestedBidsBack",AD_UNIT_BIDS_BACK:"adUnitBidsBack",BID_WON:"bidWon",REQUEST_BIDS:"requestBids"}},EVENTS:{AUCTION_INIT:"auctionInit",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",BID_WON:"bidWon",BIDDER_DONE:"bidderDone",SET_TARGETING:"setTargeting",REQUEST_BIDS:"requestBids",ADD_AD_UNITS:"addAdUnits",AD_RENDER_FAILED:"adRenderFailed"},AD_RENDER_FAILED_REASON:{PREVENT_WRITING_ON_MAIN_DOCUMENT:"preventWritingOnMainDocuemnt",NO_AD:"noAd",EXCEPTION:"exception",CANNOT_FIND_AD:"cannotFindAd",MISSING_DOC_OR_ADID:"missingDocOrAdid"},EVENT_ID_PATHS:{bidWon:"adUnitCode"},GRANULARITY_OPTIONS:{LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},TARGETING_KEYS:{BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",SOURCE:"hb_source",FORMAT:"hb_format"},NATIVE_KEYS:{title:"hb_native_title",body:"hb_native_body",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",cta:"hb_native_cta"},S2S:{SRC:"s2s",DEFAULT_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",SYNCED_BIDDERS_KEY:"pbjsSyncs"}}},40:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adunitCounter=void 0;var r=n(0),i={};var o={incrementCounter:function(e){return i[e]=i[e]||{},i[e].counter=(0,r.deepAccess)(i,e+".counter")+1||1,i[e].counter},getCounter:function(e){return(0,r.deepAccess)(i,e+".counter")||0}};t.adunitCounter=o},41:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonVideoBidder=t.videoBidder=t.videoAdUnit=t.OUTSTREAM=void 0,t.isValidVideoBid=function(e,t){var n=(0,o.getBidRequest)(e.adId,t),r=n&&(0,o.deepAccess)(n,"mediaTypes.video"),i=r&&(0,o.deepAccess)(r,"context");if(!n||r&&i!==s)return a.config.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,o.logError)('\n        This bid contains only vastXml and will not work when a prebid cache url is not specified.\n        Try enabling prebid cache with pbjs.setConfig({ cache: {url: "..."} });\n      '),!1);if(i===s)return!(!e.renderer&&!n.renderer);return!0};var r,i=n(8),o=n(0),a=n(3),d=n(7),u=(r=d)&&r.__esModule?r:{default:r};var s=t.OUTSTREAM="outstream",c=(t.videoAdUnit=function(e){var t="video"===e.mediaType,n=(0,o.deepAccess)(e,"mediaTypes.video");return t||n},t.videoBidder=function(e){return(0,u.default)(i.videoAdapters,e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter((function(e){return!c(e)})).length}},42:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGlobal=function(){return window.lxpbjsdfp},window.lxpbjsdfp=window.lxpbjsdfp||{},window.lxpbjsdfp.cmd=window.lxpbjsdfp.cmd||[],window.lxpbjsdfp.que=window.lxpbjsdfp.que||[]},43:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.targeting=t.isBidNotExpired=t.TARGETING_KEYS=t.RENDERED=t.BID_TARGETING_SET=void 0;var h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.getHighestCpmBidsFromBidPool=N,t.newTargeting=f;var r,E=n(0),S=n(3),A=n(17),i=n(30),a=n(39),o=n(7),T=(r=o)&&r.__esModule?r:{default:r};function I(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=n(0),w=n(4),O=[],d=t.BID_TARGETING_SET="targetingSet",u=t.RENDERED="rendered",R=20,B=t.TARGETING_KEYS=Object.keys(w.TARGETING_KEYS).map((function(e){return w.TARGETING_KEYS[e]})),s=(t.isBidNotExpired=function(e){return e.responseTimestamp+1e3*e.ttl+1e3>(0,E.timestamp)()},function(e){return e&&(e.status&&!(0,T.default)([d,u],e.status)||!e.status)});function N(e,n){var r=[],i=(0,E.groupBy)(e,"adUnitCode");return Object.keys(i).forEach((function(e){var t=(0,E.groupBy)(i[e],"bidderCode");Object.keys(t).forEach((function(e){return r.push(t[e].reduce(n,c()))}))})),r}function c(e){return{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0}}function f(n){var g={};function p(e){return"string"==typeof e?[e]:C.isArray(e)?e:n.getAdUnitCodes()||[]}function v(){return N(n.getBidsReceived().filter((function(e){return"banner"!==e.mediaType||(0,a.sizeSupported)([e.width,e.height])})).filter(s).filter(t.isBidNotExpired),E.getOldestHighestCpmBid)}function y(){return n.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(B).filter(E.uniques)}function m(r,i,e,t){return Object.keys(i.adserverTargeting).filter(o()).forEach((function(e){var t,n;r.length&&r.filter((n=e,function(e){return e.adUnitCode===i.adUnitCode&&e.adserverTargeting[n]})).forEach((t=e,function(e){C.isArray(e.adserverTargeting[t])||(e.adserverTargeting[t]=[e.adserverTargeting[t]]),e.adserverTargeting[t]=e.adserverTargeting[t].concat(i.adserverTargeting[t]).filter(E.uniques),delete i.adserverTargeting[t]}))})),r.push(i),r}function o(){var t=y();return function(e){return-1===t.indexOf(e)}}function b(t){return _({},t.adUnitCode,Object.keys(t.adserverTargeting).filter(o()).map((function(e){return _({},e.substring(0,R),[t.adserverTargeting[e]])})))}return g.resetPresetTargeting=function(e){if((0,E.isGptPubadsDefined)()){var t=p(e),r=n.getAdUnits().filter((function(e){return(0,T.default)(t,e.code)}));window.googletag.pubads().getSlots().forEach((function(n){O.forEach((function(t){r.forEach((function(e){e.code!==n.getAdUnitPath()&&e.code!==n.getSlotElementId()||n.setTargeting(t,null)}))}))}))}},g.getAllTargeting=function(e){var r,t,i,n,o,a,d,u,s,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:v(),f=p(e),l=(a=f,d=c,u=g.getWinningBids(a,d),s=y(),u=u.map((function(o){return _({},o.adUnitCode,Object.keys(o.adserverTargeting).filter((function(e){return void 0===o.sendStandardTargeting||o.sendStandardTargeting||-1===s.indexOf(e)})).reduce((function(e,t){var n=[o.adserverTargeting[t]],r=_({},t.substring(0,R),n);if(t===w.TARGETING_KEYS.DEAL){var i=_({},(t+"_"+o.bidderCode).substring(0,R),n);return[].concat(I(e),[r,i])}return[].concat(I(e),[r])}),[]))}))).concat((n=f,o=c,o.filter((function(e){return(0,T.default)(n,e.adUnitCode)})).map((function(e){return h({},e)})).reduce(m,[]).map(b).filter((function(e){return e})))).concat(S.config.getConfig("enableSendAllBids")?(r=f,t=c,i=B.concat(A.NATIVE_TARGETING_KEYS),N(t,E.getHighestCpm).map((function(t){if(t.adserverTargeting&&r&&(C.isArray(r)&&(0,T.default)(r,t.adUnitCode)||"string"==typeof r&&t.adUnitCode===r))return _({},t.adUnitCode,(n=t,i.filter((function(e){return void 0!==t.adserverTargeting[e]})).map((function(e){return _({},(e+"_"+n.bidderCode).substring(0,R),[n.adserverTargeting[e]])}))));var n})).filter((function(e){return e}))):[]);return l.map((function(t){Object.keys(t).map((function(e){t[e].map((function(e){-1===O.indexOf(Object.keys(e)[0])&&(O=Object.keys(e).concat(O))}))}))})),l=l.map((function(e){return _({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return _({},Object.keys(e)[0],e[Object.keys(e)[0]].join(", "))})).reduce((function(e,t){return h(t,e)}),{}))})).reduce((function(e,t){var n=Object.keys(t)[0];return e[n]=h({},e[n],t[n]),e}),{}),f.forEach((function(e){l[e]||(l[e]={})})),l},g.setTargetingForGPT=function(i,e){window.googletag.pubads().getSlots().forEach((function(r){Object.keys(i).filter(e?e(r):(0,E.isAdUnitCodeMatchingSlot)(r)).forEach((function(n){return Object.keys(i[n]).forEach((function(t){var e=i[n][t].split(",");(e=1<e.length?[e]:e).map((function(e){return C.logMessage("Attempting to set key value for slot: "+r.getSlotElementId()+" key: "+t+" value: "+e),e})).forEach((function(e){r.setTargeting(t,e)}))}))}))}))},g.getWinningBids=function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:v(),t=p(e);return n.filter((function(e){return(0,T.default)(t,e.adUnitCode)})).filter((function(e){return 0<e.cpm})).map((function(e){return e.adUnitCode})).filter(E.uniques).map((function(t){return n.filter((function(e){return e.adUnitCode===t?e:null})).reduce(E.getHighestCpm,c(t))}))},g.setTargetingForAst=function(){var r=g.getAllTargeting();Object.keys(r).forEach((function(n){return Object.keys(r[n]).forEach((function(e){if(C.logMessage("Attempting to set targeting for targetId: "+n+" key: "+e+" value: "+r[n][e]),C.isStr(r[n][e])||C.isArray(r[n][e])){var t={};e.search(/pt[0-9]/)<0?t[e.toUpperCase()]=r[n][e]:t[e]=r[n][e],window.apntag.setKeywords(n,t)}}))}))},g.isApntagDefined=function(){if(window.apntag&&C.isFn(window.apntag.setKeywords))return!0},g}t.targeting=f(i.auctionManager)},44:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBidResponse=t.AUCTION_COMPLETED=t.AUCTION_IN_PROGRESS=t.AUCTION_STARTED=void 0;var m="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},b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.newAuction=function(e){var f=e.adUnits,t=e.adUnitCodes,n=e.callback,r=e.cbTimeout,i=e.labels,s=f,c=i,l=t,g=[],p=[],v=void 0,y=void 0,m=R.generateUUID(),b=void 0,h=n,E=void 0,S=r,o=[];function A(){return{auctionId:m,auctionStart:v,auctionEnd:y,auctionStatus:b,adUnits:s,adUnitCodes:l,labels:c,bidderRequests:g,bidsReceived:p,winningBids:o,timeout:S}}function T(e,t){if(t&&clearTimeout(E),null!=h){var n=[];e&&(R.logMessage("Auction "+m+" timedOut"),d=p,u=(a=g).filter((function(e){return!e.doneCbCallCount})).map((function(e){return e.bidderCode})).filter(_.uniques),s=d.map((function(e){return e.bidder})).filter(_.uniques),c=u.filter((function(e){return!(0,w.default)(s,e)})),(n=a.map((function(e){return(e.bids||[]).filter((function(e){return(0,w.default)(c,e.bidder)}))})).reduce(_.flatten,[]).map((function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}}))).length&&N.emit(U.EVENTS.BID_TIMEOUT,n));try{b=j,y=Date.now(),N.emit(U.EVENTS.AUCTION_END,A());var r=l,i=p.filter(_.adUnitsFilter.bind(this,r)).reduce(V,{});h.apply(lxpbjsdfp,[i,e])}catch(e){R.logError("Error executing bidsBackHandler",null,e)}finally{n.length&&B.callTimedOutBidders(f,n,S);var o=C.config.getConfig("userSync")||{};o.enableOverride||O(o.syncDelay)}h=null}var a,d,u,s,c}function I(e){R.logInfo("Bids Received for Auction with id: "+m,p),b=j,T(!1,!0)}return{addBidReceived:function(e){p=p.concat(e)},executeCallback:T,callBids:function(){var i=this;b=x,v=Date.now();var o=B.makeBidRequests(s,v,m,S,c);R.logInfo("Bids Requested for Auction with id: "+m,o),o.forEach((function(e){var t;t=e,g=g.concat(t)}));var a={};if(o.length<1)R.logWarn("No valid bid requests returned for auction"),I();else{var e={bidRequests:o,run:function(){var e,t;e=T.bind(null,!0),t=setTimeout(e,S),E=t,b=D,N.emit(U.EVENTS.AUCTION_INIT,A());var n=W(I,i),r={auctionAddBidResponse:n.addBidResponse};B.callBids(s,o,q.bind(r),n.adapterDone,{request:function(e,t){u(k,t),u(a,e),M[e]||(M[e]={SRA:!0,origin:t}),1<a[e]&&(M[e].SRA=!1)},done:function(e){k[e]--,G[0]&&d(G[0])&&G.shift()}},S)}};d(e)||(R.logWarn("queueing auction due to limited endpoint capacity"),G.push(e))}function d(e){var r=!0,i=C.config.getConfig("maxRequestsPerOrigin")||P;return e.bidRequests.some((function(e){var t=1,n=void 0!==e.src&&e.src===U.S2S.SRC?"s2s":e.bidderCode;return M[n]&&(!1===M[n].SRA&&(t=Math.min(e.bids.length,i)),k[M[n].origin]+t>i&&(r=!1)),!r})),r&&e.run(),r}function u(e,t){void 0===e[t]?e[t]=1:e[t]++}},addWinningBid:function(e){o=o.concat(e),B.callBidWonBidder(e.bidder,e,f)},getWinningBids:function(){return o},getTimeout:function(){return S},getAuctionId:function(){return m},getAuctionStatus:function(){return b},getAdUnits:function(){return s},getAdUnitCodes:function(){return l},getBidRequests:function(){return g},getBidsReceived:function(){return p}}},t.auctionCallbacks=W,t.getStandardBidderSettings=d,t.getKeyValueTargetingPairs=F,t.adjustBids=s;var _=n(0),h=n(31),i=n(17),E=n(224),S=n(12),C=n(3),r=n(18),o=n(20),A=a(n(10)),w=a(n(7)),T=n(41);function a(e){return e&&e.__esModule?e:{default:e}}var O=r.userSync.syncUsers,R=n(0),B=n(8),N=n(9),U=n(4),x=t.AUCTION_STARTED="started",D=t.AUCTION_IN_PROGRESS="inProgress",j=t.AUCTION_COMPLETED="completed";N.on(U.EVENTS.BID_ADJUSTMENT,(function(e){s(e)}));var P=4,k={},M={},G=[];var q=t.addBidResponse=(0,o.createHook)("asyncSeries",(function(e,t){this.auctionAddBidResponse(e,t)}),"addBidResponse");function W(e,p){var v=0,t=!1,n=(0,_.delayExecution)((function(){t=!0}),p.getBidRequests().length);function y(){v--,t&&0===v&&e()}return{addBidResponse:function(e,t){v++;var n=p.getBidRequests(),r=p.getAuctionId(),i=(0,_.getBidderRequest)(n,t.bidderCode,e),o=(function(e){var t=e.adUnitCode,n=e.bid,r=e.bidRequest,i=e.auctionId,o=r.start,a=b({},n,{auctionId:i,responseTimestamp:(0,_.timestamp)(),requestTimestamp:o,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});a.timeToRespond=a.responseTimestamp-a.requestTimestamp,N.emit(U.EVENTS.BID_ADJUSTMENT,a);var d=r.bids&&(0,A.default)(r.bids,(function(e){return e.adUnitCode==t})),u=d&&d.renderer;u&&u.url&&(a.renderer=S.Renderer.install({url:u.url}),a.renderer.setRender(u.render));var s,c=C.config.getConfig("mediaTypePriceGranularity."+n.mediaType),f=(0,h.getPriceBucketString)(a.cpm,"object"===(void 0===c?"undefined":m(c))?c:C.config.getConfig("customPriceBucket"),C.config.getConfig("currency.granularityMultiplier"));return a.pbLg=f.low,a.pbMg=f.med,a.pbHg=f.high,a.pbAg=f.auto,a.pbDg=f.dense,a.pbCg=f.custom,a.bidderCode&&(0<a.cpm||a.dealId)&&(s=F(a.bidderCode,a)),a.adserverTargeting=b(a.adserverTargeting||{},s),a})({adUnitCode:e,bid:t,bidRequest:i,auctionId:r});"video"===o.mediaType?(a=p,d=o,u=i,s=y,c=!0,f=(0,_.getBidRequest)(d.adId,[u]),l=f&&(0,_.deepAccess)(f,"mediaTypes.video"),g=l&&(0,_.deepAccess)(l,"context"),C.config.getConfig("cache.url")&&g!==T.OUTSTREAM&&(d.videoCacheKey?d.vastUrl||(R.logError("videoCacheKey specified but not required vastUrl for video bid"),c=!1):(c=!1,(0,E.store)([d],(function(e,t){e?(R.logWarn("Failed to save to the video cache: "+e+". Video bid must be discarded."),I(a,d)):(d.videoCacheKey=t[0].uuid,d.vastUrl||(d.vastUrl=(0,E.getCacheUrl)(d.videoCacheKey)),z(a,d),s())})))),c&&(z(a,d),s())):(z(p,o),y());var a,d,u,s,c,f,l,g},adapterDone:function(){n(),t&&0===v&&e()}}}function I(e,t){t.timeToRespond>e.getTimeout()+C.config.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function z(e,t){N.emit(U.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),I(e,t)}function d(e){var t=C.config.getConfig("mediaTypePriceGranularity."+e),n="string"==typeof e&&t?"string"==typeof t?t:"custom":C.config.getConfig("priceGranularity"),r=lxpbjsdfp.bidderSettings;return r[U.JSON_MAPPING.BD_SETTING_STANDARD]||(r[U.JSON_MAPPING.BD_SETTING_STANDARD]={}),r[U.JSON_MAPPING.BD_SETTING_STANDARD][U.JSON_MAPPING.ADSERVER_TARGETING]||(r[U.JSON_MAPPING.BD_SETTING_STANDARD][U.JSON_MAPPING.ADSERVER_TARGETING]=[{key:U.TARGETING_KEYS.BIDDER,val:function(e){return e.bidderCode}},{key:U.TARGETING_KEYS.AD_ID,val:function(e){return e.adId}},{key:U.TARGETING_KEYS.PRICE_BUCKET,val:function(e){return n===U.GRANULARITY_OPTIONS.AUTO?e.pbAg:n===U.GRANULARITY_OPTIONS.DENSE?e.pbDg:n===U.GRANULARITY_OPTIONS.LOW?e.pbLg:n===U.GRANULARITY_OPTIONS.MEDIUM?e.pbMg:n===U.GRANULARITY_OPTIONS.HIGH?e.pbHg:n===U.GRANULARITY_OPTIONS.CUSTOM?e.pbCg:void 0}},{key:U.TARGETING_KEYS.SIZE,val:function(e){return e.size}},{key:U.TARGETING_KEYS.DEAL,val:function(e){return e.dealId}},{key:U.TARGETING_KEYS.SOURCE,val:function(e){return e.source}},{key:U.TARGETING_KEYS.FORMAT,val:function(e){return e.mediaType}}]),r[U.JSON_MAPPING.BD_SETTING_STANDARD]}function F(e,t){if(!t)return{};var n={},r=lxpbjsdfp.bidderSettings;r&&(u(n,d(t.mediaType),t),e&&r[e]&&r[e][U.JSON_MAPPING.ADSERVER_TARGETING]&&(u(n,r[e],t),t.sendStandardTargeting=r[e].sendStandardTargeting));return t.native&&(n=b({},n,(0,i.getNativeTargeting)(t))),n}function u(r,i,o){var e=i[U.JSON_MAPPING.ADSERVER_TARGETING];return o.size=o.getSize(),R._each(e,(function(e){var t=e.key,n=e.val;if(r[t]&&R.logWarn("The key: "+t+" is getting ovewritten"),R.isFn(n))try{n=n(o)}catch(e){R.logError("bidmanager","ERROR",e)}(void 0===i.suppressEmptyKeys||!0!==i.suppressEmptyKeys)&&t!==U.TARGETING_KEYS.DEAL||!R.isEmptyStr(n)&&null!=n?r[t]=n:R.logInfo("suppressing empty key '"+t+"' from adserver targeting")})),r}function s(e){var t=e.bidderCode,n=e.cpm,r=void 0;if(lxpbjsdfp.bidderSettings&&(t&&lxpbjsdfp.bidderSettings[t]&&"function"==typeof lxpbjsdfp.bidderSettings[t].bidCpmAdjustment?r=lxpbjsdfp.bidderSettings[t].bidCpmAdjustment:lxpbjsdfp.bidderSettings[U.JSON_MAPPING.BD_SETTING_STANDARD]&&"function"==typeof lxpbjsdfp.bidderSettings[U.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(r=lxpbjsdfp.bidderSettings[U.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),r))try{n=r(e.cpm,b({},e))}catch(e){R.logError("Error during bid adjustment","bidmanager.js",e)}0<=n&&(e.cpm=n)}function V(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}},47:function(e,t,n){"use strict";var r=n(14),i=n(34)(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return i(this,e,1<arguments.length?arguments[1]:void 0)}}),n(26)(o)},48:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},49:function(e,t,n){var r=n(50),i=n(55);e.exports=n(22)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},50:function(e,t,n){var r=n(51),i=n(52),o=n(54),a=Object.defineProperty;t.f=n(22)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},51:function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},52:function(e,t,n){e.exports=!n(22)&&!n(33)((function(){return 7!=Object.defineProperty(n(53)("div"),"a",{get:function(){return 7}}).a}))},53:function(e,t,n){var r=n(15),i=n(19).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},54:function(e,t,n){var i=n(15);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},55:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},56:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},57:function(e,t,n){var r=n(24);e.exports=function(e){return Object(r(e))}},58:function(e,t,n){var r=n(59);e.exports=function(e,t){return new(r(e))(t)}},59:function(e,t,n){var r=n(15),i=n(38),o=n(25)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ajax=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g="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};t.ajaxBuilder=r;var p=n(11),v=n(3),y=n(0),m=4;t.ajax=r();function r(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:3e3,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},c=e.request,f=e.done;return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{var i=void 0,o=r.method||(n?"POST":"GET"),a=document.createElement("a");a.href=e;var d="object"===(void 0===t?"undefined":g(t))&&null!==t?t:{success:function(){y.logMessage("xhr success")},error:function(e){y.logError("xhr error",null,e)}};if("function"==typeof t&&(d.success=t),(i=new window.XMLHttpRequest).onreadystatechange=function(){if(i.readyState===m){"function"==typeof f&&f(a.origin);var e=i.status;200<=e&&e<300||304===e?d.success(i.responseText,i):d.error(i.statusText,i)}},v.config.getConfig("disableAjaxTimeout")||(i.ontimeout=function(){y.logError("  xhr timeout after ",i.timeout,"ms")}),"GET"===o&&n){var u=(0,p.parse)(e,r);l(u.search,n),e=(0,p.format)(u)}i.open(o,e,!0),v.config.getConfig("disableAjaxTimeout")||(i.timeout=s),r.withCredentials&&(i.withCredentials=!0),y._each(r.customHeaders,(function(e,t){i.setRequestHeader(t,e)})),r.preflight&&i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.setRequestHeader("Content-Type",r.contentType||"text/plain"),"function"==typeof c&&c(a.origin),"POST"===o&&n?i.send(n):i.send()}catch(e){y.logError("xhr construction",e)}}}},60:function(e,t,n){var r=n(13),i=n(19),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(61)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},605:function(e,t,n){e.exports=n(606)},606:function(e,t,n){"use strict";var r,i="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},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(42),d=n(0),u=n(607),s=n(18),c=n(28),f=n(3),l=n(30),g=n(43),p=n(20),v=n(608),y=n(7),m=(r=y)&&r.__esModule?r:{default:r},b=n(40),h=n(12);var E=(0,a.getGlobal)(),S=n(4),A=n(0),T=n(8),I=n(16),_=n(9),C=s.userSync.triggerUserSyncs,w=S.EVENTS,O=w.ADD_AD_UNITS,R=w.BID_WON,B=w.REQUEST_BIDS,N=w.SET_TARGETING,U=w.AD_RENDER_FAILED,x=S.AD_RENDER_FAILED_REASON,D=x.PREVENT_WRITING_ON_MAIN_DOCUMENT,j=x.NO_AD,P=x.EXCEPTION,k=x.CANNOT_FIND_AD,M=x.MISSING_DOC_OR_ADID,G={bidWon:function(e){var t=l.auctionManager.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(d.flatten).filter(d.uniques);if(!A.contains(t,e))return void A.logError('The "'+e+'" placement is not defined.');return!0}};function q(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function W(e,t,n){var r={};r.reason=e,r.message=t,n&&(r.bid=n),A.logError(t),_.emit(U,r)}function z(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){A.logError("Error processing command :","prebid.js",e)}}))}(0,v.sessionLoader)(),E.bidderSettings=E.bidderSettings||{},E.libLoaded=!0,E.version="v1.30.0-pre",A.logInfo("Prebid.js v1.30.0-pre loaded"),E.adUnits=E.adUnits||[],E.triggerUserSyncs=C,E.getAdserverTargetingForAdUnitCodeStr=function(e){if(A.logInfo("Invoking lxpbjsdfp.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=E.getAdserverTargetingForAdUnitCode(e);return A.transformAdServerTargetingObj(t)}A.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},E.getAdserverTargetingForAdUnitCode=function(e){return E.getAdserverTargeting(e)[e]},E.getAdserverTargeting=function(e){return A.logInfo("Invoking lxpbjsdfp.getAdserverTargeting",arguments),g.targeting.getAllTargeting(e)},E.getBidResponses=function(){A.logInfo("Invoking lxpbjsdfp.getBidResponses",arguments);var e=l.auctionManager.getBidsReceived().filter(d.adUnitsFilter.bind(this,l.auctionManager.getAdUnitCodes())),n=e&&e.length&&e[e.length-1].auctionId;return e.map((function(e){return e.adUnitCode})).filter(d.uniques).map((function(t){return e.filter((function(e){return e.auctionId===n&&e.adUnitCode===t}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return t={},n=e[0].adUnitCode,r={bids:e.map(d.removeRequestId)},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t;var t,n,r})).reduce((function(e,t){return o(e,t)}),{})},E.getBidResponsesForAdUnitCode=function(t){return{bids:l.auctionManager.getBidsReceived().filter((function(e){return e.adUnitCode===t})).map(d.removeRequestId)}},E.setTargetingForGPTAsync=function(e,t){if(A.logInfo("Invoking lxpbjsdfp.setTargetingForGPTAsync",arguments),(0,d.isGptPubadsDefined)()){var n=g.targeting.getAllTargeting(e);g.targeting.resetPresetTargeting(e),g.targeting.setTargetingForGPT(n,t),Object.keys(n).forEach((function(t){Object.keys(n[t]).forEach((function(e){"hb_adid"===e&&l.auctionManager.setStatusForBids(n[t][e],g.BID_TARGETING_SET)}))})),_.emit(N,n)}else A.logError("window.googletag is not defined on the page")},E.setTargetingForAst=function(){A.logInfo("Invoking lxpbjsdfp.setTargetingForAn",arguments),g.targeting.isApntagDefined()?(g.targeting.setTargetingForAst(),_.emit(N,g.targeting.getAllTargeting())):A.logError("window.apntag is not defined on the page")},E.renderAd=function(e,t){if(A.logInfo("Invoking lxpbjsdfp.renderAd",arguments),A.logMessage("Calling renderAd with adId :"+t),e&&t)try{var n=l.auctionManager.findBidByAdId(t);if(n){n.status=g.RENDERED,n.ad=A.replaceAuctionPrice(n.ad,n.cpm),n.adUrl=A.replaceAuctionPrice(n.adUrl,n.cpm),l.auctionManager.addWinningBid(n),_.emit(R,n);var r=n.height,i=n.width,o=n.ad,a=n.mediaType,d=n.adUrl,u=n.renderer,s=document.createComment("Creative "+n.creativeId+" served by "+n.bidder+" Prebid.js Header Bidding");if(A.insertElement(s,e,"body"),(0,h.isRendererRequired)(u))(0,h.executeRenderer)(u,n);else if(e===document&&!A.inIframe()||"video"===a){W(D,"Error trying to write ad. Ad render call ad id "+t+" was prevented from writing to the main document.",n)}else if(o)e.write(o),e.close(),q(e,i,r),A.callBurl(n);else if(d){var c=A.createInvisibleIframe();c.height=r,c.width=i,c.style.display="inline",c.style.overflow="hidden",c.src=d,A.insertElement(c,e,"body"),q(e,i,r),A.callBurl(n)}else{W(j,"Error trying to write ad. No ad for bid response id: "+t,n)}}else{W(k,"Error trying to write ad. Cannot find ad by given id : "+t)}}catch(e){var f="Error trying to write ad Id :"+t+" to the page:"+e.message;W(P,f)}else W(M,"Error trying to write ad Id :"+t+" to the page. Missing document or adId")},E.removeAdUnit=function(e){if(A.logInfo("Invoking lxpbjsdfp.removeAdUnit",arguments),e)for(var t=0;t<E.adUnits.length;t++)E.adUnits[t].code===e&&E.adUnits.splice(t,1)},E.requestBids=(0,p.createHook)("asyncSeries",(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels;_.emit(B);var a=n||f.config.getConfig("bidderTimeout");if(r=r||E.adUnits,A.logInfo("Invoking lxpbjsdfp.requestBids",arguments),i&&i.length?r=r.filter((function(e){return(0,m.default)(i,e.code)})):i=r&&r.map((function(e){return e.code})),r.forEach((function(i){var o=Object.keys(i.mediaTypes||{banner:"banner"}),e=i.bids.map((function(e){return e.bidder})),a=T.bidderRegistry,t=f.config.getConfig("s2sConfig"),n=t&&t.bidders,r=n?e.filter((function(e){return!(0,m.default)(n,e)})):e;i.transactionId||(i.transactionId=A.generateUUID()),r.forEach((function(t){var e=a[t],n=e&&e.getSpec&&e.getSpec(),r=n&&n.supportedMediaTypes||["banner"];o.some((function(e){return(0,m.default)(r,e)}))||(A.logWarn(A.unsupportedBidderMessage(i,t)),i.bids=i.bids.filter((function(e){return e.bidder!==t})))})),b.adunitCounter.incrementCounter(i.code)})),r&&0!==r.length){var d=l.auctionManager.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:a,labels:o});return d.callBids(),d}if(A.logMessage("No adUnits configured. No bids requested."),"function"==typeof t)try{t()}catch(e){A.logError("Error executing bidsBackHandler",null,e)}})),E.addAdUnits=function(e){A.logInfo("Invoking lxpbjsdfp.addAdUnits",arguments),A.isArray(e)?E.adUnits.push.apply(E.adUnits,e):"object"===(void 0===e?"undefined":i(e))&&E.adUnits.push(e),_.emit(O)},E.onEvent=function(e,t,n){A.logInfo("Invoking lxpbjsdfp.onEvent",arguments),A.isFn(t)?!n||G[e].call(null,n)?_.on(e,t,n):A.logError('The id provided is not valid for event "'+e+'" and no handler was set.'):A.logError('The event handler provided is not a function and was not set on event "'+e+'".')},E.offEvent=function(e,t,n){A.logInfo("Invoking lxpbjsdfp.offEvent",arguments),n&&!G[e].call(null,n)||_.off(e,t,n)},E.registerBidAdapter=function(e,t){A.logInfo("Invoking lxpbjsdfp.registerBidAdapter",arguments);try{T.registerBidAdapter(e(),t)}catch(e){A.logError("Error registering bidder adapter : "+e.message)}},E.registerAnalyticsAdapter=function(e){A.logInfo("Invoking lxpbjsdfp.registerAnalyticsAdapter",arguments);try{T.registerAnalyticsAdapter(e)}catch(e){A.logError("Error registering analytics adapter : "+e.message)}},E.createBid=function(e){return A.logInfo("Invoking lxpbjsdfp.createBid",arguments),I.createBid(e)},E.loadScript=function(e,t,n){A.logInfo("Invoking lxpbjsdfp.loadScript",arguments),(0,c.loadScript)(e,t,n)},E.enableAnalytics=function(e){e&&!A.isEmpty(e)?(A.logInfo("Invoking lxpbjsdfp.enableAnalytics for: ",e),T.enableAnalytics(e)):A.logError("lxpbjsdfp.enableAnalytics should be called with option {}")},E.aliasBidder=function(e,t){A.logInfo("Invoking lxpbjsdfp.aliasBidder",arguments),e&&t?T.aliasBidAdapter(e,t):A.logError("bidderCode and alias must be passed as arguments","lxpbjsdfp.aliasBidder")},E.getAllWinningBids=function(){return l.auctionManager.getAllWinningBids().map(d.removeRequestId)},E.getAllPrebidWinningBids=function(){return l.auctionManager.getBidsReceived().filter((function(e){return e.status===g.BID_TARGETING_SET})).map(d.removeRequestId)},E.getHighestCpmBids=function(e){var t=(0,g.getHighestCpmBidsFromBidPool)(l.auctionManager.getBidsReceived(),d.getLatestHighestCpmBid);return g.targeting.getWinningBids(e,t).map(d.removeRequestId)},E.markWinningBidAsUsed=function(t){var e=[];t.adUnitCode&&t.adId?e=l.auctionManager.getBidsReceived().filter((function(e){return e.adId===t.adId&&e.adUnitCode===t.adUnitCode})):t.adUnitCode?e=g.targeting.getWinningBids(t.adUnitCode):t.adId?e=l.auctionManager.getBidsReceived().filter((function(e){return e.adId===t.adId})):A.logWarn("Inproper usage of markWinningBidAsUsed. It'll need an adUnitCode and/or adId to function."),0<e.length&&(e[0].status=g.RENDERED)},E.getConfig=f.config.getConfig,E.setConfig=f.config.setConfig,E.que.push((function(){return(0,u.listenMessagesFromCreative)()})),E.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){A.logError("Error processing command :",e.message,e.stack)}else A.logError("Commands written into lxpbjsdfp.cmd.push must be wrapped in a function")},E.que.push=E.cmd.push,E.processQueue=function(){z(E.que),z(E.cmd)}},607:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listenMessagesFromCreative=function(){addEventListener("message",o,!1)};var m=i(n(9)),b=n(17),r=n(4),h=n(0),E=n(30),S=i(n(10)),A=n(12);function i(e){return e&&e.__esModule?e:{default:e}}var T=r.EVENTS.BID_WON;function o(e){var t,n,r,i,o,a,d,u,s,c,f,l,g,p=e.message?"message":"data",v={};try{v=JSON.parse(e[p])}catch(e){return}if(v&&v.adId){var y=(0,S.default)(E.auctionManager.getBidsReceived(),(function(e){return e.adId===v.adId}));"Prebid Request"===v.message&&(t=y,n=v.adServerDomain,r=e.source,i=t.adId,o=t.ad,a=t.adUrl,d=t.width,u=t.height,s=t.renderer,(0,A.isRendererRequired)(s)?(0,A.executeRenderer)(s,t):i&&(f=(c=t).adUnitCode,l=c.width,g=c.height,["div","iframe"].forEach((function(e){var t,n=(t=e,document.getElementById((0,S.default)(window.googletag.pubads().getSlots().filter((0,h.isSlotMatchingAdUnitCode)(f)),(function(e){return e})).getSlotElementId()).querySelector(t)).style;n.width=l+"px",n.height=g+"px"})),r.postMessage(JSON.stringify({message:"Prebid Response",ad:o,adUrl:a,adId:i,width:d,height:u}),n)),E.auctionManager.addWinningBid(y),m.default.emit(T,y)),"Prebid Native"===v.message&&((0,b.fireNativeTrackers)(v,y),E.auctionManager.addWinningBid(y),m.default.emit(T,y))}}},608:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.boundHook=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.disableOverrides=f,n.addBidResponseHook=l,n.getConfig=g,n.sessionLoader=function(e){var t=void 0;try{e=e||window.sessionStorage,t=JSON.parse(e.getItem(d))}catch(e){}t&&c(t,!0)};var r=t(3),a=t(0),i=t(44),d="lxpbjsdfp:debugging",u=n.boundHook=void 0;function s(e){(0,a.logMessage)("DEBUG: "+e)}function c(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];r.config.setConfig({debug:!0}),s("bidder overrides enabled"+(t?" from session":"")),u&&i.addBidResponse.removeHook(u),n.boundHook=u=l.bind(null,e),i.addBidResponse.addHook(u,5)}function f(){u&&(i.addBidResponse.removeHook(u),s("bidder overrides disabled"))}function l(e,r,i,t){if(Array.isArray(e.bidders)&&-1===e.bidders.indexOf(i.bidderCode))return n="bidder '"+i.bidderCode+"' excluded from auction by bidder overrides",void(0,a.logWarn)("DEBUG: "+n);var n;Array.isArray(e.bids)&&e.bids.forEach((function(n){n.bidder&&n.bidder!==i.bidderCode||n.adUnitCode&&n.adUnitCode!==r||(i=o({},i),Object.keys(n).filter((function(e){return-1===["bidder","adUnitCode"].indexOf(e)})).forEach((function(e){var t=n[e];s("bidder overrides changed '"+r+"/"+i.bidderCode+"' bid."+e+" from '"+i[e]+"' to '"+t+"'"),i[e]=t})))})),t(r,i)}function g(e){if(e.enabled){try{window.sessionStorage.setItem(d,JSON.stringify(e))}catch(e){}c(e)}else{f();try{window.sessionStorage.removeItem(d)}catch(e){}}}r.config.getConfig("debugging",(function(e){return g(e.debugging)}))},61:function(e,t){e.exports=!0},62:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},63:function(e,t,n){"use strict";var r=n(14),i=n(64)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,1<arguments.length?arguments[1]:void 0)}}),n(26)("includes")},64:function(e,t,n){var u=n(65),s=n(36),c=n(66);e.exports=function(d){return function(e,t,n){var r,i=u(e),o=s(i.length),a=c(n,o);if(d&&t!=t){for(;a<o;)if((r=i[a++])!=r)return!0}else for(;a<o;a++)if((d||a in i)&&i[a]===t)return d||a||0;return!d&&-1}}},65:function(e,t,n){var r=n(35),i=n(24);e.exports=function(e){return r(i(e))}},66:function(e,t,n){var r=n(37),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},67:function(e,t){e.exports=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t){var i=t[r];n[r]=i&&"object"==typeof i?e(i):i}return n}},68:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRefererInfo=void 0,t.detectReferer=r;var a=n(0);function r(i){function o(){var e=(function(){var t=[],n=void 0;do{try{n=n?n.parent:i;try{t.push({referrer:n.document.referrer||null,location:n.location.href||null,isTop:n==i.top})}catch(e){t.push({referrer:null,location:null,isTop:n==i.top}),(0,a.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location")}}catch(e){return t.push({referrer:null,location:null,isTop:!1}),t}}while(n!=i.top);return t})(),t=(function(){try{if(!i.location.ancestorOrigins)return;return i.location.ancestorOrigins}catch(e){}})();if(t)for(var n=0,r=t.length;n<r;n++)e[n].ancestor=t[n];return e}return function(){try{var e=o(),t=e.length-1,n=null!==e[t].location||0<t&&null!==e[t-1].referrer,r=(function(e){var t=[],n=null,r=null,i=null,o=null,a=null,d=void 0;for(d=e.length-1;0<=d;d--){try{n=e[d].location}catch(e){}if(n)t.push(n),a||(a=n);else if(0!==d){r=e[d-1];try{i=r.referrer,o=r.ancestor}catch(e){}i?(t.push(i),a||(a=i)):o?(t.push(o),a||(a=o)):t.push(null)}else t.push(null)}return{stack:t,detectedRefererUrl:a}})(e);return{referer:r.detectedRefererUrl,reachedTop:n,numIframes:t,stack:r.stack}}catch(e){}}}t.getRefererInfo=r(window)},7:function(e,t,n){n(63),e.exports=n(13).Array.includes},8:function(e,h,t){"use strict";var b=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(r=(a=d.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&d.return&&d.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E=t(0),p=t(39),v=t(17),c=t(1),S=t(6),A=t(3),T=n(t(7)),I=n(t(10)),y=t(40),_=t(68);function n(e){return e&&e.__esModule?e:{default:e}}var C=t(0),w=t(4),O=t(9),R=void 0,B={};h.bidderRegistry=B,h.aliasRegistry={};var N={};A.config.getConfig("s2sConfig",(function(e){N=e.s2sConfig}));var r={};function U(e){var i=e.bidderCode,s=e.auctionId,c=e.bidderRequestId,t=e.adUnits,f=e.labels,l=e.src;return t.reduce((function(e,d){var t=(0,p.resolveStatus)((0,p.getLabels)(d,f),d.mediaTypes,d.sizes),n=t.active,u=t.mediaTypes,r=t.filterResults;return n?r&&C.logInfo('Size mapping filtered adUnit "'+d.code+'" banner sizes from ',r.before,"to ",r.after):C.logInfo('Size mapping disabled adUnit "'+d.code+'"'),n&&e.push(d.bids.filter((function(e){return e.bidder===i})).reduce((function(e,t){var n=d.nativeParams||C.deepAccess(d,"mediaTypes.native");n&&(t=g({},t,{nativeParams:(0,v.processNativeAdUnitParams)(n)})),t=g({},t,(0,E.getDefinedParams)(d,["mediaType","renderer"]));var r=(0,p.resolveStatus)((0,p.getLabels)(t,f),u),i=r.active,o=r.mediaTypes,a=r.filterResults;return i?a&&C.logInfo('Size mapping filtered adUnit "'+d.code+'" bidder "'+t.bidder+'" banner sizes from ',a.before,"to ",a.after):C.logInfo('Size mapping deactivated adUnit "'+d.code+'" bidder "'+t.bidder+'"'),C.isValidMediaTypes(o)?t=g({},t,{mediaTypes:o}):C.logError("mediaTypes is not correctly configured for adunit "+d.code),i&&e.push(g({},t,{adUnitCode:d.code,transactionId:d.transactionId,sizes:C.deepAccess(o,"banner.sizes")||[],bidId:t.bid_id||C.getUniqueIdentifierStr(),bidderRequestId:c,auctionId:s,src:l,bidRequestsCount:y.adunitCounter.getCounter(d.code)})),e}),[])),e}),[]).reduce(E.flatten,[]).filter((function(e){return""!==e}))}function x(){return N&&N.enabled&&N.testing&&R}function i(t,n,e){try{var r=B[t].getSpec();r&&r[n]&&"function"==typeof r[n]&&(C.logInfo("Invoking "+t+"."+n),r[n](e))}catch(e){C.logWarn("Error calling "+n+" of "+t)}}h.gdprDataHandler={consentData:null,setConsentData:function(e){this.consentData=e},getConsentData:function(){return this.consentData}},h.makeBidRequests=function(e,i,o,a,d){var u=[];e=h.checkBidRequestSizes(e);var t=(0,E.getBidderCodes)(e);A.config.getConfig("bidderSequence")===A.RANDOM&&(t=(0,E.shuffle)(t));var n,r,s,c=(0,_.getRefererInfo)(),f=t,l=[];if(N.enabled){x()&&(l=R.getSourceBidderMap(e)[R.CLIENT]);var g=N.bidders;f=t.filter((function(e){return!(0,T.default)(g,e)||(0,T.default)(l,e)}));var p=(n=e,r=N.bidders,(s=C.deepClone(n)).forEach((function(e){e.bids=e.bids.filter((function(e){return(0,T.default)(r,e.bidder)&&(!x()||e.finalSource!==R.CLIENT)})).map((function(e){return e.bid_id=C.getUniqueIdentifierStr(),e}))})),s=s.filter((function(e){return 0!==e.bids.length}))),v=C.generateUUID();g.forEach((function(e){var t=C.getUniqueIdentifierStr(),n={bidderCode:e,auctionId:o,bidderRequestId:t,tid:v,bids:U({bidderCode:e,auctionId:o,bidderRequestId:t,adUnits:C.deepClone(p),labels:d,src:w.S2S.SRC}),auctionStart:i,timeout:N.timeout,src:w.S2S.SRC,refererInfo:c};0!==n.bids.length&&u.push(n)})),p.forEach((function(e){var t=e.bids.filter((function(t){return(0,I.default)(u,(function(e){return(0,I.default)(e.bids,(function(e){return e.bidId===t.bid_id}))}))}));e.bids=t})),u.forEach((function(e){e.adUnitsS2SCopy=p.filter((function(e){return 0<e.bids.length}))}))}var y,m,b=(y=e,(m=C.deepClone(y)).forEach((function(e){e.bids=e.bids.filter((function(e){return!x()||e.finalSource!==R.SERVER}))})),m=m.filter((function(e){return 0!==e.bids.length})));return f.forEach((function(e){var t=C.getUniqueIdentifierStr(),n={bidderCode:e,auctionId:o,bidderRequestId:t,bids:U({bidderCode:e,auctionId:o,bidderRequestId:t,adUnits:C.deepClone(b),labels:d,src:"client"}),auctionStart:i,timeout:a,refererInfo:c},r=B[e];r||C.logError("Trying to make a request for bidder that does not exist: "+e),r&&n.bids&&0!==n.bids.length&&u.push(n)})),h.gdprDataHandler.getConsentData()&&u.forEach((function(e){e.gdprConsent=h.gdprDataHandler.getConsentData()})),u},h.checkBidRequestSizes=function(e){function d(e){return Array.isArray(e)&&2===e.length&&C.isInteger(e[0])&&C.isInteger(e[1])}return e.forEach((function(e){var t=e.mediaTypes,n=C.getAdUnitSizes(e);if(t&&t.banner){var r=t.banner;r.sizes?(r.sizes=n,e.sizes=n):(C.logError("Detected a mediaTypes.banner object did not include sizes.  This is a required field for the mediaTypes.banner object.  Removing invalid mediaTypes.banner object from request."),delete e.mediaTypes.banner)}else e.sizes&&(C.logWarn("Usage of adUnits.sizes will eventually be deprecated.  Please define size dimensions within the corresponding area of the mediaTypes.<object> (eg mediaTypes.banner.sizes)."),e.sizes=n);if(t&&t.video){var i=t.video;if(i.playerSize)if(Array.isArray(i.playerSize)&&1===i.playerSize.length&&i.playerSize.every(d))e.sizes=i.playerSize;else if(d(i.playerSize)){var o=[];o.push(i.playerSize),C.logInfo("Transforming video.playerSize from "+i.playerSize+" to "+o+" so it's in the proper format."),e.sizes=i.playerSize=o}else C.logError("Detected incorrect configuration of mediaTypes.video.playerSize.  Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete e.mediaTypes.video.playerSize}if(t&&t.native){var a=t.native;a.image&&a.image.sizes&&!Array.isArray(a.image.sizes)&&(C.logError("Please use an array of sizes for native.image.sizes field.  Removing invalid mediaTypes.native.image.sizes property from request."),delete e.mediaTypes.native.image.sizes),a.image&&a.image.aspect_ratios&&!Array.isArray(a.image.aspect_ratios)&&(C.logError("Please use an array of sizes for native.image.aspect_ratios field.  Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete e.mediaTypes.native.image.aspect_ratios),a.icon&&a.icon.sizes&&!Array.isArray(a.icon.sizes)&&(C.logError("Please use an array of sizes for native.icon.sizes field.  Removing invalid mediaTypes.native.icon.sizes property from request."),delete e.mediaTypes.native.icon.sizes)}})),e},h.callBids=function(e,t,r,i,o,a){if(t.length){var n=t.reduce((function(e,t){return e[Number(void 0!==t.src&&t.src===w.S2S.SRC)].push(t),e}),[[],[]]),d=b(n,2),u=d[0],s=d[1];if(s.length){var c=(0,S.ajaxBuilder)(a,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0),f=N.bidders,l=B[N.adapter],g=s[0].tid,p=s[0].adUnitsS2SCopy;if(l){var v={tid:g,ad_units:p};if(v.ad_units.length){var y=s.map((function(e){return e.start=(0,E.timestamp)(),i})),m=v.ad_units.reduce((function(e,t){return e.concat((t.bids||[]).reduce((function(e,t){return e.concat(t.bidder)}),[]))}),[]);C.logMessage("CALLING S2S HEADER BIDDERS ==== "+f.filter((function(e){return(0,T.default)(m,e)})).join(",")),s.forEach((function(e){O.emit(w.EVENTS.BID_REQUESTED,e)})),l.callBids(v,s,r,(function(){return y.forEach((function(e){return e()}))}),c)}}}t.forEach((function(n){n.bids.forEach((function(t){e.forEach((function(e){if(e.code==t.adUnitCode)return e.bids.forEach((function(e){if(e.bidder==n.bidderCode&&void 0!==e.__sds_id__&&JSON.stringify(e.params)==JSON.stringify(t.params)&&JSON.stringify(e.__sds_id__)==JSON.stringify(t.__sds_id__))return e.bidId=t.bidId,!1})),!1}))}))})),u.forEach((function(e){e.start=(0,E.timestamp)();var t=B[e.bidderCode];C.logMessage("CALLING BIDDER ======= "+e.bidderCode),O.emit(w.EVENTS.BID_REQUESTED,e);var n=(e.doneCbCallCount=0,S.ajaxBuilder)(a,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0);t.callBids(e,r,i,n)}))}else C.logWarn("callBids executed with no bidRequests.  Were they filtered by labels or sizing?")},h.videoAdapters=[],h.registerBidAdapter=function(e,t){var n=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,r=void 0===n?[]:n;e&&t?"function"==typeof e.callBids?(B[t]=e,(0,T.default)(r,"video")&&h.videoAdapters.push(t),(0,T.default)(r,"native")&&v.nativeAdapters.push(t)):C.logError("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):C.logError("bidAdaptor or bidderCode not specified")},h.aliasBidAdapter=function(t,e){var n,r;if(void 0===B[e]){var i=B[t];if(void 0===i){var o=A.config.getConfig("s2sConfig"),a=o&&o.bidders;a&&(0,T.default)(a,e)?h.aliasRegistry[e]=t:C.logError('bidderCode "'+t+'" is not an existing bidder.',"adaptermanager.aliasBidAdapter")}else try{var d=void 0,u=(n=t,r=[],(0,T.default)(h.videoAdapters,n)&&r.push("video"),(0,T.default)(v.nativeAdapters,n)&&r.push("native"),r);if(i.constructor.prototype!=Object.prototype)(d=new i.constructor).setBidderCode(e);else{var s=i.getSpec();d=(0,c.newBidder)(g({},s,{code:e})),h.aliasRegistry[e]=t}this.registerBidAdapter(d,e,{supportedMediaTypes:u})}catch(e){C.logError(t+" bidder does not currently support aliasing.","adaptermanager.aliasBidAdapter")}}else C.logMessage('alias name "'+e+'" has been already specified.')},h.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,r[n]=t):C.logError('Prebid Error: Analytics adaptor error for analytics "'+n+'"\n        analytics adapter must implement an enableAnalytics() function'):C.logError("Prebid Error: analyticsAdapter or analyticsCode not specified")},h.enableAnalytics=function(e){C.isArray(e)||(e=[e]),C._each(e,(function(e){var t=r[e.provider];t?t.enableAnalytics(e):C.logError("Prebid Error: no analytics adapter found in registry for\n        "+e.provider+".")}))},h.getBidAdapter=function(e){return B[e]},h.setS2STestingModule=function(e){R=e},h.callTimedOutBidders=function(t,n,r){n=n.map((function(e){return e.params=C.getUserConfiguredParams(t,e.adUnitCode,e.bidder),e.timeout=r,e})),n=C.groupBy(n,"bidder"),Object.keys(n).forEach((function(e){i(e,"onTimeout",n[e])}))},h.callBidWonBidder=function(e,t,n){t.params=C.getUserConfiguredParams(n,t.adUnitCode,t.bidder),i(e,"onBidWon",t)}},9:function(e,t,n){"use strict";var d,r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(0),o=n(4),a=Array.prototype.slice,s=Array.prototype.push,c=u._map(o.EVENTS,(function(e){return e})),f=o.EVENT_ID_PATHS,l=[];e.exports=(d={},(r={}).on=function(e,t,n){if(i=e,u.contains(c,i)){var r=d[e]||{que:[]};n?(r[n]=r[n]||{que:[]},r[n].que.push(t)):r.que.push(t),d[e]=r}else u.logError("Wrong event name : "+e+" Valid event names :"+c);var i},r.emit=function(e){!(function(e,t){u.logMessage("Emitting event for: "+e);var n=t[0]||{},r=n[f[e]],i=d[e]||{que:[]},o=u._map(i,(function(e,t){return t})),a=[];l.push({eventType:e,args:n,id:r}),r&&u.contains(o,r)&&s.apply(a,i[r].que),s.apply(a,i.que),u._each(a,(function(e){if(e)try{e.apply(null,t)}catch(e){u.logError("Error executing handler:","events.js",e)}}))})(e,a.call(arguments,1))},r.off=function(e,n,r){var i=d[e];u.isEmpty(i)||u.isEmpty(i.que)&&u.isEmpty(i[r])||r&&(u.isEmpty(i[r])||u.isEmpty(i[r].que))||(r?u._each(i[r].que,(function(e){var t=i[r].que;e===n&&t.splice(u.indexOf.call(t,e),1)})):u._each(i.que,(function(e){var t=i.que;e===n&&t.splice(u.indexOf.call(t,e),1)})),d[e]=i)},r.get=function(){return d},r.getEvents=function(){var n=[];return u._each(l,(function(e){var t=i({},e);n.push(t)})),n},r)}});
lxpbjsChunk([166],{82:function(e,n,r){r(83),e.exports=r(84)},83:function(e,n){},84:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.spec=void 0;var t=r(1),g=r(2),v="adform",d=n.spec={code:v,supportedMediaTypes:[g.BANNER,g.VIDEO],isBidRequestValid:function(e){return!!e.params.mid},buildRequests:function(e,n){var r,t,d,s,i,p,o,a,u,c,g=[],l=[["adxDomain","adx.adform.net"],["fd",1],["url",null],["tid",null]],h=JSON.parse(JSON.stringify(e)),f=h[0]&&h[0].bidder||v;for(r=0,t=h.length;r<t;r++){for("net"!==(i=h[r]).params.priceType&&"net"!==i.params.pt||(u="net"),d=0,s=l.length;d<s;d++)(o=i[p=l[d][0]]||i.params[p])&&(i[p]=i.params[p]=null,l[d][1]=o);(a=i.params).transactionId=i.transactionId,g.push(b(a))}for(g.unshift("//"+l[0][1]+"/adx/?rp=4"),u=u||"gross",g.push("pt="+u),g.push("stid="+e[0].auctionId),n&&n.gdprConsent&&n.gdprConsent.gdprApplies&&(c={gdpr:n.gdprConsent.gdprApplies,gdpr_consent:n.gdprConsent.consentString},g.push("gdpr="+c.gdpr),g.push("gdpr_consent="+c.gdpr_consent)),r=1,t=l.length;r<t;r++)p=l[r][0],(o=l[r][1])&&g.push(p+"="+encodeURIComponent(o));return{method:"GET",url:g.join("&"),bids:e,netRevenue:u,bidder:f,gdpr:c};function b(e){var n,r=[];for(n in e)e.hasOwnProperty(n)&&e[n]&&r.push(n,"=",e[n],"&");return encodeURIComponent(btoa(r.join("").slice(0,-1)))}},interpretResponse:function(e,n){for(var r,t,d,s,i={banner:1,vast_content:1,vast_url:1},p=[],o=n.bids,a=e.body,u=0;u<a.length;u++)s="banner"===(t=a[u]).response?g.BANNER:g.VIDEO,d=o[u],i[t.response]&&(c(t,d.sizes)||s===g.VIDEO)&&(r={requestId:d.bidId,cpm:t.win_bid,width:t.width,height:t.height,creativeId:d.bidId,dealId:t.deal_id,currency:t.win_cur,netRevenue:"gross"!==n.netRevenue,ttl:360,ad:t.banner,bidderCode:n.bidder,transactionId:d.transactionId,vastUrl:t.vast_url,vastXml:t.vast_content,mediaType:s},n.gdpr&&(r.gdpr=n.gdpr.gdpr,r.gdpr_consent=n.gdpr.gdpr_consent),p.push(r));return p;function c(e,n){for(var r=0,t=n.length;r<t;r++)if(e.width==n[r][0]&&e.height==n[r][1])return!0;return!1}}};(0,t.registerBidder)(d)}},[82]);
lxpbjsChunk([1],{91:function(n,t,e){n.exports=e(92)},92:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticConsentData=t.allowAuction=t.consentTimeout=t.userCMP=void 0,t.requestBidsHook=w,t.resetConsentData=function(){v=void 0,a.gdprDataHandler.setConsentData(null)},t.setConfig=y;var l=(function(n){{if(n&&n.__esModule)return n;var t={};if(null!=n)for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t.default=n,t}})(e(0)),o=e(3),a=e(8),i=s(e(7)),u=s(e(93));function s(n){return n&&n.__esModule?n:{default:n}}var r="iab",c=1e4,d=!0,f=t.userCMP=void 0,g=t.consentTimeout=void 0,p=t.allowAuction=void 0,m=t.staticConsentData=void 0,v=void 0,C={iab:function(n,t,s){var e=(function(){var t={};function e(){t.getConsentData&&t.getVendorConsents&&n(t,s)}return{consentDataCallback:function(n){t.getConsentData=n,e()},vendorConsentsCallback:function(n){t.getVendorConsents=n,e()}}})(),r={},o=void 0;try{o=window.__cmp||l.getWindowTop().__cmp}catch(n){}if(l.isFn(o))o("getConsentData",null,e.consentDataCallback),o("getVendorConsents",null,e.vendorConsentsCallback);else if(window.$sf&&window.$sf.ext&&"function"==typeof window.$sf.ext.cmp)c("getConsentData",e.consentDataCallback),c("getVendorConsents",e.vendorConsentsCallback);else{for(var a=window,i=void 0;!i;){try{a.frames.__cmpLocator&&(i=a)}catch(n){}if(a===window.top)break;a=a.parent}if(!i)return t("CMP not found.",s);d("getConsentData",i,e.consentDataCallback),d("getVendorConsents",i,e.vendorConsentsCallback)}function c(o,a){var n=s.adUnits,t=1,e=1;if(Array.isArray(n)&&0<n.length){var i=l.getAdUnitSizes(n[0]);t=i[0][0],e=i[0][1]}window.$sf.ext.register(t,e,(function(n,t){if("cmpReturn"===n){var e="getConsentData"===o?t.vendorConsentData:t.vendorConsents;a(e)}})),window.$sf.ext.cmp(o)}function d(n,i,t){function e(n){var t="string"==typeof n.data&&(0,u.default)(n.data,"cmpReturn")?JSON.parse(n.data):n.data;if(t.__cmpReturn&&t.__cmpReturn.callId){var e=t.__cmpReturn;void 0!==r[e.callId]&&(r[e.callId](e.returnValue,e.success),delete r[e.callId])}}window.__cmp=function(n,t,e){var o=Math.random()+"",a={__cmpCall:{command:n,parameter:t,callId:o}};r[o]=e,i.postMessage(a,"*")},window.addEventListener("message",e,!1),window.__cmp(n,null,(function(n){window.removeEventListener("message",e,!1),t(n)}))}},static:function(n,t,e){n(m,e)}};function w(n,t){var e={context:this,args:arguments,nextFn:t,adUnits:n.adUnits||lxpbjsdfp.adUnits,bidsBackHandler:n.bidsBackHandler,haveExited:!1,timer:null};return v?x(null,e):(0,i.default)(Object.keys(C),f)?(C[f].call(this,b,D,e),void(e.haveExited||(0===g?b(void 0,e):e.timer=setTimeout(function(n){D("CMP workflow exceeded timeout threshold.",n)}.bind(null,e),g)))):(l.logWarn("CMP framework ("+f+") is not a supported framework.  Aborting consentManagement module and resuming auction."),e.nextFn.apply(e.context,e.args))}function b(n,t){var e=n&&n.getConsentData&&n.getConsentData.gdprApplies;"boolean"==typeof e&&(!0!==e||l.isStr(n.getConsentData.consentData)&&l.isPlainObject(n.getVendorConsents)&&1<Object.keys(n.getVendorConsents).length)?(clearTimeout(t.timer),h(n),x(null,t)):D("CMP returned unexpected value during lookup process.",t,n)}function D(n,t,e){clearTimeout(t.timer),p&&h(void 0),x(n,t,e)}function h(n){v={consentString:n?n.getConsentData.consentData:void 0,vendorData:n?n.getVendorConsents:void 0,gdprApplies:n?n.getConsentData.gdprApplies:void 0},a.gdprDataHandler.setConsentData(v)}function x(n,t,e){if(!1===t.haveExited){t.haveExited=!0;var o=t.context,a=t.args,i=t.nextFn;n?p?(l.logWarn(n+" Resuming auction without consent data as per consentManagement config.",e),i.apply(o,a)):(l.logError(n+" Canceling auction as per consentManagement config.",e),"function"==typeof t.bidsBackHandler?t.bidsBackHandler():l.logError("Error executing bidsBackHandler")):i.apply(o,a)}}function y(n){l.isStr(n.cmpApi)?t.userCMP=f=n.cmpApi:(t.userCMP=f=r,l.logInfo("consentManagement config did not specify cmp.  Using system default setting ("+r+").")),l.isNumber(n.timeout)?t.consentTimeout=g=n.timeout:(t.consentTimeout=g=c,l.logInfo("consentManagement config did not specify timeout.  Using system default setting ("+c+").")),"boolean"==typeof n.allowAuctionWithoutConsent?t.allowAuction=p=n.allowAuctionWithoutConsent:(t.allowAuction=p=d,l.logInfo("consentManagement config did not specify allowAuctionWithoutConsent.  Using system default setting ("+d+").")),l.logInfo("consentManagement module has been activated..."),"static"===f&&(l.isPlainObject(n.consentData)?(t.staticConsentData=m=n.consentData,t.consentTimeout=g=0):l.logError("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),lxpbjsdfp.requestBids.addHook(w,50)}o.config.getConfig("consentManagement",(function(n){return y(n.consentManagement)}))},93:function(n,t,e){e(94),n.exports=e(13).String.includes},94:function(n,t,e){"use strict";var o=e(14),a=e(95),i="includes";o(o.P+o.F*e(97)(i),"String",{includes:function(n){return!!~a(this,n,i).indexOf(n,1<arguments.length?arguments[1]:void 0)}})},95:function(n,t,e){var o=e(96),a=e(24);n.exports=function(n,t,e){if(o(t))throw TypeError("String#"+e+" doesn't accept regex!");return String(a(n))}},96:function(n,t,e){var o=e(15),a=e(23),i=e(25)("match");n.exports=function(n){var t;return o(n)&&(void 0!==(t=n[i])?!!t:"RegExp"==a(n))}},97:function(n,t,e){var o=e(25)("match");n.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[o]=!1,!"/./"[t](e)}catch(n){}}return!0}}},[91]);
lxpbjsChunk([37],{137:function(e,t,r){r(138),e.exports=r(139)},138:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var a=r(1),o=r(0),p=12,u=11,c=0,I=22,d=t.spec={code:"teads",supportedMediaTypes:["video","banner"],isBidRequestValid:function(e){var t=!1;if(void 0!==e.params){var r=n(o.getValue(e.params,"placementId")),a=n(o.getValue(e.params,"pageId"));t=r&&a}return t||o.logError("Teads placementId and pageId parameters are required. Bid aborted."),t},buildRequests:function(e,t){var r=e.map(g),a={referrer:o.getTopWindowUrl(),data:r,deviceWidth:screen.width},d=t.gdprConsent;if(t&&d){var n="boolean"==typeof d.gdprApplies,i="string"==typeof d.consentString,s=n?(function(e,t){var r=p;e?(t.hasGlobalScope||t.hasGlobalConsent)&&(r=u):r=c;return r})(d.gdprApplies,d.vendorData):I;a.gdpr_iab={consent:i?d.consentString:"",status:s}}return{method:"POST",url:"//a.teads.tv/hb/bid-request",data:JSON.stringify(a)}},interpretResponse:function(e,t){var r=[];return(e=e.body).responses&&e.responses.forEach((function(e){var t={cpm:e.cpm,width:e.width,height:e.height,currency:e.currency,netRevenue:!0,ttl:e.ttl,ad:e.ad,requestId:e.bidId,creativeId:e.creativeId};r.push(t)})),r},getUserSyncs:function(e,t,r){if(e.iframeEnabled)return[{type:"iframe",url:"//sync.teads.tv/iframe"}]}};function g(e){var t={},r=o.getValue(e.params,"placementId"),a=o.getValue(e.params,"pageId");return t.sizes=o.parseSizesInput(e.sizes),t.bidId=o.getBidIdParameter("bidId",e),t.bidderRequestId=o.getBidIdParameter("bidderRequestId",e),t.placementId=parseInt(r,10),t.pageId=parseInt(a,10),t.adUnitCode=o.getBidIdParameter("__parentDivId",e)||o.getBidIdParameter("adUnitCode",e),t.auctionId=o.getBidIdParameter("auctionId",e),t.transactionId=o.getBidIdParameter("transactionId",e),t}function n(e){return 0<parseInt(e)}(0,a.registerBidder)(d)},139:function(e,t){}},[137]);
lxpbjsChunk([149],{140:function(e,r,t){t(141),e.exports=t(142)},141:function(e,r){},142:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},i=u(["//","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=",";misc=",";",""],["//","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=",";misc=",";",""]),a=u(["//","/bidRequest?"],["//","/bidRequest?"]),o=u(["dcn=","&pos=","&cmd=bid",""],["dcn=","&pos=","&cmd=bid",""]),s=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),d=t(1),c=t(2);function u(e,r){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var p={AOL:"aol",ONEMOBILE:"onemobile",ONEDISPLAY:"onedisplay"},l={GET:"display-get"},m={GET:"mobile-get",POST:"mobile-post"},f={TAG:"iframe",TYPE:"iframe"},b={TAG:"img",TYPE:"image"},v=E(i,"host","network","placement","pageid","sizeid","alias","misc","dynamicParams"),h=E(a,"host"),g=E(o,"dcn","pos","dynamicParams"),O={us:"adserver-us.adtech.advertising.com",eu:"adserver-eu.adtech.advertising.com",as:"adserver-as.adtech.advertising.com"},y=1;function E(o){for(var e=arguments.length,t=Array(1<e?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return function(){for(var e=arguments.length,i=Array(e),r=0;r<e;r++)i[r]=arguments[r];var n=i[i.length-1]||{},a=[o[0]];return t.forEach((function(e,r){var t=s.isInteger(e)?i[e]:n[e];a.push(t,o[r+1])})),a.join("")}}function P(e){return e===p.AOL||e===p.ONEMOBILE}function T(e){if(P(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var r=e.params.imp[0];return r.id&&r.tagid&&(r.banner&&r.banner.w&&r.banner.h||r.video&&r.video.mimes&&r.video.minduration&&r.video.maxduration)}}function I(e){return P(e.bidder)&&e.params.dcn&&e.params.pos}function R(e){return((r=e.bidder)===p.AOL||r===p.ONEDISPLAY)&&e.params.placement&&e.params.network;var r}var S=r.spec={code:p.AOL,aliases:[p.ONEMOBILE,p.ONEDISPLAY],supportedMediaTypes:[c.BANNER],isBidRequestValid:function(e){return R(e)||(I(r=e)||T(r));var r},buildRequests:function(e,r){var i=this,n=r?r.gdprConsent:null;return e.map((function(e){var r,t=I(r=e)?m.GET:T(r)?m.POST:R(r)?l.GET:void 0;if(t)return i.formatBidRequest(t,e,n)}))},interpretResponse:function(e,r){var t=e.body;if(t){var i=this._parseBidResponse(t,r);if(i)return i}else s.logError("Empty bid response",r.bidderCode,t)},getUserSyncs:function(e,r){var t=!s.isEmpty(r)&&r[0].body;return t&&t.ext&&t.ext.pixels?this.parsePixelItems(t.ext.pixels):[]},formatBidRequest:function(e,r,t){var i=void 0;switch(e){case l.GET:i={url:this.buildMarketplaceUrl(r,t),method:"GET",ttl:60};break;case m.GET:i={url:this.buildOneMobileGetUrl(r,t),method:"GET",ttl:3600};break;case m.POST:i={url:this.buildOneMobileBaseUrl(r),method:"POST",ttl:3600,data:this.buildOpenRtbRequestData(r,t),options:{contentType:"application/json",customHeaders:{"x-openrtb-version":"2.2"}}}}return i.bidderCode=r.bidder,i.bidId=r.bidId,i.userSyncOn=r.params.userSyncOn,i},buildMarketplaceUrl:function(e,r){var t=e.params,i=t.server,n=t.region||"us",a=void 0;return O.hasOwnProperty(n)||(s.logWarn("Unknown region '"+n+"' for AOL bidder."),n="us"),a=i||O[n],t.region=n,v({host:a,network:t.network,placement:parseInt(t.placement),pageid:t.pageId||0,sizeid:t.sizeId||0,alias:t.alias||s.getUniqueIdentifierStr(),misc:(new Date).getTime(),dynamicParams:this.formatMarketplaceDynamicParams(t,r)})},buildOneMobileGetUrl:function(e,r){var t=e.params,i=t.dcn,n=t.pos,a=t.ext,o=this.buildOneMobileBaseUrl(e);if(i&&n){var s=this.formatOneMobileDynamicParams(a,r);o+=g({dcn:i,pos:n,dynamicParams:s})}return o},buildOneMobileBaseUrl:function(e){return h({host:e.params.host||"hb.nexage.com"})},formatMarketplaceDynamicParams:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1],t={};e.bidFloor&&(t.bidfloor=e.bidFloor),n(t,this.formatKeyValues(e.keyValues)),n(t,this.formatConsentData(r));var i="";return s._each(t,(function(e,r){i+=r+"="+encodeURIComponent(e)+";"})),i},formatOneMobileDynamicParams:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1];this.isSecureProtocol()&&(e.secure=y),n(e,this.formatConsentData(r));var t="";return s._each(e,(function(e,r){t+="&"+r+"="+encodeURIComponent(e)})),t},buildOpenRtbRequestData:function(e,r){var t={id:e.params.id,imp:e.params.imp};return this.isConsentRequired(r)&&(t.regs={ext:{gdpr:y}},r.consentString&&(t.user={ext:{consent:r.consentString}})),t},isConsentRequired:function(e){return!(!e||!e.gdprApplies)},formatKeyValues:function(e){var t={};return s._each(e,(function(e,r){t["kv"+r]=e})),t},formatConsentData:function(e){var r={};return this.isConsentRequired(e)&&(r.gdpr=y,e.consentString&&(r.euconsent=e.consentString)),r},parsePixelItems:function(e){var i=/\w*(?=\s)/,n=/src=("|')(.*?)\1/,a=[];if(e){var r=e.match(/(img|iframe)[\s\S]*?src\s*=\s*("|')(.*?)\2/gi);r&&r.forEach((function(e){var r=e.match(i)[0],t=e.match(n)[2];r&&r&&a.push({type:r===b.TAG?b.TYPE:f.TYPE,url:t})}))}return a},_parseBidResponse:function(e,r){var t=void 0;try{t=e.seatbid[0].bid[0]}catch(e){return}var i=void 0;if(t.ext&&t.ext.encp)i=t.ext.encp;else if(null===(i=t.price)||isNaN(i))return void s.logError("Invalid price in bid response",p.AOL,bid);return{bidderCode:r.bidderCode,requestId:r.bidId,ad:t.adm,cpm:i,width:t.w,height:t.h,creativeId:t.crid||0,pubapiId:e.id,currency:e.cur||"USD",dealId:t.dealid,netRevenue:!0,ttl:r.ttl}},isOneMobileBidder:P,isSecureProtocol:function(){return"https:"===document.location.protocol}};(0,d.registerBidder)(S)}},[140]);
lxpbjsChunk([147],{148:function(e,r,a){a(149),e.exports=a(150)},149:function(e,r){},150:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var n="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},o=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e},p=a(12),u=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),t=a(1),m=a(2),l=s(a(10)),f=s(a(7));function s(e){return e&&e.__esModule?e:{default:e}}var c=["id","mimes","minduration","maxduration","startdelay","skippable","playback_method","frameworks"],y=["age","external_uid","segments","gender","dnt","language"],v=["geo","device_id"],b={body:"description",cta:"ctatext",image:{serverName:"main_image",requiredParams:{required:!0},minimumParams:{sizes:[{}]}},icon:{serverName:"icon",requiredParams:{required:!0},minimumParams:{sizes:[{}]}},sponsoredBy:"sponsored_by"},i=r.spec={code:"appnexus",aliases:["appnexusAst","brealtime","emxdigital","pagescience","defymedia","gourmetads","matomy","featureforward","oftmedia","districtm"],supportedMediaTypes:[m.BANNER,m.VIDEO,m.NATIVE],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.member&&e.params.invCode)},buildRequests:function(e,r){var a=e.map(g),t=(0,l.default)(e,h),s=void 0;t&&(s={},Object.keys(t.params.user).filter((function(e){return(0,f.default)(y,e)})).forEach((function(e){return s[e]=t.params.user[e]})));var n=(0,l.default)(e,E),i=void 0;n&&n.params&&n.params.app&&(i={},Object.keys(n.params.app).filter((function(e){return(0,f.default)(v,e)})).forEach((function(e){return i[e]=n.params.app[e]})));var d=(0,l.default)(e,k),o=void 0;d&&d.params&&n.params.app&&n.params.app.id&&(o={appid:d.params.app.id});var p=(0,l.default)(e,I),u=p?parseInt(p.params.member,10):0,m={tags:[].concat(function(e){if(Array.isArray(e)){for(var r=0,a=Array(e.length);r<e.length;r++)a[r]=e[r];return a}return Array.from(e)}(a)),user:s,sdk:{source:"pbjs",version:"1.30.0-pre"}};if(0<u&&(m.member_id=u),n&&(m.device=i),d&&(m.app=o),r&&r.gdprConsent&&(m.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies}),r&&r.refererInfo){var c={rd_ref:encodeURIComponent(r.refererInfo.referer),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")};m.referrer_detection=c}return{method:"POST",url:"//ib.adnxs.com/ut/v3/prebid",data:JSON.stringify(m),bidderRequest:r}},interpretResponse:function(e,r){var n=this,i=r.bidderRequest;e=e.body;var d=[];if(!e||e.error){var a="in response for "+i.bidderCode+" adapter";return e&&e.error&&(a+=": "+e.error),u.logError(a),d}return e.tags&&e.tags.forEach((function(e){var r,a,t=(r=e)&&r.ads&&r.ads.length&&(0,l.default)(r.ads,(function(e){return e.rtb}));if(t&&0!==t.cpm&&(0,f.default)(n.supportedMediaTypes,t.ad_type)){var s=(function(e,r,a){var t={requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300,appnexus:{buyerMemberId:r.buyer_member_id}};if(r.rtb.video){if(o(t,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastUrl:r.rtb.video.asset_url,vastImpUrl:r.notify_url,ttl:3600}),r.renderer_url){var s=u.deepAccess(a.bids[0],"renderer.options");o(t,{adResponse:e,renderer:(function(e,r){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},t=p.Renderer.install({id:r.renderer_id,url:r.renderer_url,config:a,loaded:!1});try{t.setRender(T)}catch(e){u.logWarn("Prebid Error calling setRender on renderer",e)}return t.setEventHandlers({impression:function(){return u.logMessage("AppNexus outstream video impression event")},loaded:function(){return u.logMessage("AppNexus outstream video loaded event")},ended:function(){u.logMessage("AppNexus outstream renderer video event"),document.querySelector("#"+e).style.display="none"}}),t})(t.adUnitCode,r,s)}),t.adResponse.ad=t.adResponse.ads[0],t.adResponse.ad.video=t.adResponse.ad.rtb.video}}else if(r.rtb[m.NATIVE]){var n=r.rtb[m.NATIVE];t[m.NATIVE]={title:n.title,body:n.desc,cta:n.ctatext,sponsoredBy:n.sponsored,clickUrl:n.link.url,clickTrackers:n.link.click_trackers,impressionTrackers:n.impression_trackers,javascriptTrackers:n.javascript_trackers},n.main_img&&(t.native.image={url:n.main_img.url,height:n.main_img.height,width:n.main_img.width}),n.icon&&(t.native.icon={url:n.icon.url,height:n.icon.height,width:n.icon.width})}else{o(t,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{var i=r.rtb.trackers[0].impression_urls[0],d=u.createTrackPixelHtml(i);t.ad+=d}catch(e){u.logError("Error appending tracking pixel",e)}}return t})(e,t,i);s.mediaType=(a=t.ad_type)===m.VIDEO?m.VIDEO:a===m.NATIVE?m.NATIVE:m.BANNER,d.push(s)}})),d},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"//acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html"}]},transformBidParams:function(a,e){return a=u.convertTypes({member:"string",invCode:"string",placementId:"number",keywords:u.transformBidderParamKeywords},a),e&&(a.use_pmt_rule="boolean"==typeof a.usePaymentRule&&a.usePaymentRule,a.usePaymentRule&&delete a.usePaymentRule,Object.keys(a).forEach((function(e){var r=u.convertCamelToUnderscore(e);r!==e&&(a[r]=a[e],delete a[e])}))),a}};function g(r){var i,d,a={};if(a.sizes=_(r.sizes),a.primary_size=a.sizes[0],a.ad_types=[],a.uuid=r.bidId,r.params.placementId?a.id=parseInt(r.params.placementId,10):a.code=r.params.invCode,a.allow_smaller_sizes=r.params.allowSmallerSizes||!1,a.use_pmt_rule=r.params.usePaymentRule||!1,a.prebid=!0,a.disable_psa=!0,r.params.reserve&&(a.reserve=r.params.reserve),r.params.position&&(a.position={above:1,below:2}[r.params.position]||0),r.params.trafficSourceCode&&(a.traffic_source_code=r.params.trafficSourceCode),r.params.privateSizes&&(a.private_sizes=_(r.params.privateSizes)),r.params.supplyType&&(a.supply_type=r.params.supplyType),r.params.pubClick&&(a.pubclick=r.params.pubClick),r.params.extInvCode&&(a.ext_inv_code=r.params.extInvCode),r.params.externalImpId&&(a.external_imp_id=r.params.externalImpId),u.isEmpty(r.params.keywords)||(a.keywords=u.transformBidderParamKeywords(r.params.keywords)),(r.mediaType===m.NATIVE||u.deepAccess(r,"mediaTypes."+m.NATIVE))&&(a.ad_types.push(m.NATIVE),r.nativeParams)){var e=(i=r.nativeParams,d={},Object.keys(i).forEach((function(e){var r=b[e]&&b[e].serverName||b[e]||e,a=b[e]&&b[e].requiredParams;d[r]=o({},a,i[e]);var t=b[e]&&b[e].minimumParams;if(a&&t){var s=Object.keys(i[e]),n=Object.keys(a);0===s.filter((function(e){return!(0,f.default)(n,e)})).length&&(d[r]=o({},d[r],t))}})),d);a[m.NATIVE]={layouts:[e]}}var t=u.deepAccess(r,"mediaTypes."+m.VIDEO),s=u.deepAccess(r,"mediaTypes.video.context");return(r.mediaType===m.VIDEO||t)&&a.ad_types.push(m.VIDEO),(r.mediaType===m.VIDEO||t&&"outstream"!==s)&&(a.require_asset_url=!0),r.params.video&&(a.video={},Object.keys(r.params.video).filter((function(e){return(0,f.default)(c,e)})).forEach((function(e){return a.video[e]=r.params.video[e]}))),(u.isEmpty(r.mediaType)&&u.isEmpty(r.mediaTypes)||r.mediaType===m.BANNER||r.mediaTypes&&r.mediaTypes[m.BANNER])&&a.ad_types.push(m.BANNER),a}function _(e){var r=[],a={};if(u.isArray(e)&&2===e.length&&!u.isArray(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===(void 0===e?"undefined":n(e)))for(var t=0;t<e.length;t++){var s=e[t];(a={}).width=parseInt(s[0],10),a.height=parseInt(s[1],10),r.push(a)}return r}function h(e){return!!e.params.user}function I(e){return!!parseInt(e.params.member,10)}function E(e){if(e.params)return!!e.params.app}function k(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function T(e){e.renderer.push((function(){window.ANOutstreamVideo.renderAd({tagId:e.adResponse.tag_id,sizes:[e.getSize().split("x")],targetId:e.adUnitCode,uuid:e.adResponse.uuid,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},function(e,r,a){e.renderer.handleVideoEvent({id:r,eventName:a})}.bind(null,e))}))}(0,t.registerBidder)(i)}},[148]);
lxpbjsChunk([2],{212:function(t,e,i){i(213),t.exports=i(214)},213:function(t,e){},214:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.spec=exports.FAST_BID_PUBKEY=void 0,exports.cryptoVerify=cryptoVerify;var _adloader=__webpack_require__(28),_bidderFactory=__webpack_require__(1),_url=__webpack_require__(11),_utils=__webpack_require__(0),utils=_interopRequireWildcard(_utils),_find=__webpack_require__(10),_find2=_interopRequireDefault(_find),_jsencrypt=__webpack_require__(215),_jsencrypt2=_interopRequireDefault(_jsencrypt),_sha=__webpack_require__(216),_sha2=_interopRequireDefault(_sha);function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e}var ADAPTER_VERSION=14,BIDDER_CODE="criteo",CDB_ENDPOINT="//bidder.criteo.com/cdb",CRITEO_VENDOR_ID=91,INTEGRATION_MODES={amp:1},PROFILE_ID_INLINE=207,PROFILE_ID_PUBLISHERTAG=185,PUBLISHER_TAG_URL="//static.criteo.net/js/ld/publishertag.prebid.js",FAST_BID_PUBKEY=exports.FAST_BID_PUBKEY="-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDO1BjAITkFTtP0IMzmF7qsqhpu\ny1dGaTPHnjMU9mRZsrnfR3C0sEN5pYEzEcFRPnkJjJuhH8Rnh5+CE+LcKg0Z8ZZ7\nOmOSj0/qnYTAYCu0cR5LiyWG79KlIgUyMbp92ulGg24gAyGrVn4+v/4c53WlOEUp\n4YWvb82G0CD5NcDNpQIDAQAB\n-----END PUBLIC KEY-----",spec=exports.spec={code:BIDDER_CODE,isBidRequestValid:function(t){return!(!t||!t.params||!t.params.zoneId&&!t.params.networkId)},buildRequests:function(t,e){var i=void 0,r=void 0;if(publisherTagAvailable()||(window.Criteo=window.Criteo||{},window.Criteo.usePrebidEvents=!1,tryGetCriteoFastBid(),setTimeout((function(){(0,_adloader.loadExternalScript)(PUBLISHER_TAG_URL,BIDDER_CODE)}),e.timeout)),publisherTagAvailable()){var n=new Criteo.PubTag.Adapters.Prebid(PROFILE_ID_PUBLISHERTAG,ADAPTER_VERSION,t,e,"1.30.0-pre");i=n.buildCdbUrl(),r=n.buildCdbRequest()}else{var s=buildContext(t);i=buildCdbUrl(s),r=buildCdbRequest(s,t,e)}if(r)return{method:"POST",url:i,data:r,bidRequests:t}},interpretResponse:function(t,n){var e=t.body||t;if(publisherTagAvailable()){var i=Criteo.PubTag.Adapters.Prebid.GetAdapter(n);if(i)return i.interpretResponse(e,n)}var s=[];return e&&e.slots&&utils.isArray(e.slots)&&e.slots.forEach((function(e){var t=(0,_find2.default)(n.bidRequests,(function(t){return t.adUnitCode===e.impid&&(!t.params.zoneId||parseInt(t.params.zoneId)===e.zoneid)})),i=t.bidId,r={requestId:i,cpm:e.cpm,currency:e.currency,netRevenue:!0,ttl:e.ttl||60,creativeId:i,width:e.width,height:e.height};e.native?r.ad=createNativeAd(i,e.native,t.params.nativeCallback):r.ad=e.creative,s.push(r)})),s},onTimeout:function(t){publisherTagAvailable()&&Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleBidTimeout()}};function publisherTagAvailable(){return"undefined"!=typeof Criteo&&Criteo.PubTag&&Criteo.PubTag.Adapters&&Criteo.PubTag.Adapters.Prebid}function buildContext(t){var e=utils.getTopWindowUrl(),i=(0,_url.parse)(e).search,r={url:e,debug:"1"===i.pbt_debug,noLog:"1"===i.pbt_nolog,integrationMode:void 0};return t.forEach((function(t){t.params.integrationMode&&(r.integrationMode=t.params.integrationMode)})),r}function buildCdbUrl(t){var e=CDB_ENDPOINT;return e+="?profileId="+PROFILE_ID_INLINE,e+="&av="+String(ADAPTER_VERSION),e+="&wv="+encodeURIComponent("1.30.0-pre"),e+="&cb="+String(Math.floor(99999999999*Math.random())),t.integrationMode in INTEGRATION_MODES&&(e+="&im="+INTEGRATION_MODES[t.integrationMode]),t.debug&&(e+="&debug=1"),t.noLog&&(e+="&nolog=1"),e}function buildCdbRequest(t,e,i){var r=void 0,n={publisher:{url:t.url},slots:e.map((function(t){r=t.params.networkId||r;var e={impid:t.adUnitCode,transactionid:t.transactionId,auctionId:t.auctionId,sizes:t.sizes.map((function(t){return t[0]+"x"+t[1]}))};return t.params.zoneId&&(e.zoneid=t.params.zoneId),t.params.publisherSubId&&(e.publishersubid=t.params.publisherSubId),t.params.nativeCallback&&(e.native=!0),e}))};return r&&(n.publisher.networkid=r),i&&i.gdprConsent&&(n.gdprConsent={},void 0!==i.gdprConsent.gdprApplies&&(n.gdprConsent.gdprApplies=!!i.gdprConsent.gdprApplies),i.gdprConsent.vendorData&&i.gdprConsent.vendorData.vendorConsents&&void 0!==i.gdprConsent.vendorData.vendorConsents[CRITEO_VENDOR_ID.toString(10)]&&(n.gdprConsent.consentGiven=!!i.gdprConsent.vendorData.vendorConsents[CRITEO_VENDOR_ID.toString(10)]),void 0!==i.gdprConsent.consentString&&(n.gdprConsent.consentData=i.gdprConsent.consentString)),n}function createNativeAd(t,e,i){return window.criteo_prebid_native_slots=window.criteo_prebid_native_slots||{},window.criteo_prebid_native_slots[t]={callback:i,payload:e},'<script type="text/javascript">\n    var win = window;\n    for (var i = 0; i < 10; ++i) {\n      win = win.parent;\n      if (win.criteo_prebid_native_slots) {\n        var responseSlot = win.criteo_prebid_native_slots["'+t+'"];\n        responseSlot.callback(responseSlot.payload);\n        break;\n      }\n    }\n  <\/script>'}function cryptoVerify(t,e,i){var r=new _jsencrypt2.default;return r.setPublicKey(t),r.verify(i,e,_sha2.default)}function validateFastBid(t){var e=t.indexOf("\n"),i=t.substr(0,e).trim();if("// Hash: "!==i.substr(0,9))return utils.logWarn("No hash found in FastBid"),!1;var r=i.substr(9),n=t.substr(e+1);try{return cryptoVerify(FAST_BID_PUBKEY,r,n)}catch(t){return void utils.logWarn("Failed to verify Criteo FastBid")}}function tryGetCriteoFastBid(){try{var fastBid=localStorage.getItem("criteo_fast_bid");null!==fastBid&&(!1===validateFastBid(fastBid)?(utils.logWarn("Invalid Criteo FastBid found"),localStorage.removeItem("criteo_fast_bid")):(utils.logInfo("Using Criteo FastBid"),eval(fastBid)))}catch(t){}}(0,_bidderFactory.registerBidder)(spec)},215:function(t,e,i){(function(t){"use strict";var e="0123456789abcdefghijklmnopqrstuvwxyz";function h(t){return e.charAt(t)}function i(t,e){return t&e}function u(t,e){return t|e}function r(t,e){return t^e}function n(t,e){return t&~e}function s(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function o(t){for(var e=0;0!=t;)t&=t-1,++e;return e}var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function c(t){var e,i,r="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),r+=a.charAt(i>>6)+a.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),r+=a.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),r+=a.charAt(i>>2)+a.charAt((3&i)<<4));0<(3&r.length);)r+="=";return r}function f(t){var e,i="",r=0,n=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e){var s=a.indexOf(t.charAt(e));s<0||(0==r?(i+=h(s>>2),n=3&s,r=1):1==r?(i+=h(n<<2|s>>4),n=15&s,r=2):2==r?(i+=h(n),i+=h(s>>2),n=3&s,r=3):(i+=h(n<<2|s>>4),i+=h(15&s),r=0))}return 1==r&&(i+=h(n<<2)),i}var l,p=function(t,e){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};var d,g=function(t){var e;if(void 0===l){var i="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(l={},e=0;e<16;++e)l[i.charAt(e)]=e;for(i=i.toLowerCase(),e=10;e<16;++e)l[i.charAt(e)]=e;for(e=0;e<r.length;++e)l[r.charAt(e)]=-1}var n=[],s=0,o=0;for(e=0;e<t.length;++e){var a=t.charAt(e);if("="==a)break;if(-1!=(a=l[a])){if(void 0===a)throw new Error("Illegal character at offset "+e);s|=a,2<=++o?(n[n.length]=s,o=s=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return n},v={decode:function(t){var e;if(void 0===d){var i="= \f\n\r\t \u2028\u2029";for(d=Object.create(null),e=0;e<64;++e)d["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)]=e;for(e=0;e<i.length;++e)d[i.charAt(e)]=-1}var r=[],n=0,s=0;for(e=0;e<t.length;++e){var o=t.charAt(e);if("="==o)break;if(-1!=(o=d[o])){if(void 0===o)throw new Error("Illegal character at offset "+e);n|=o,4<=++s?(r[r.length]=n>>16,r[r.length]=n>>8&255,r[r.length]=255&n,s=n=0):n<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=n>>10;break;case 3:r[r.length]=n>>16,r[r.length]=n>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=v.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return v.decode(t)}},m=1e13,y=(function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var i,r,n=this.buf,s=n.length;for(i=0;i<s;++i)(r=n[i]*t+e)<m?e=0:r-=(e=0|r/m)*m,n[i]=r;0<e&&(n[i]=e)},t.prototype.sub=function(t){var e,i,r=this.buf,n=r.length;for(e=0;e<n;++e)(i=r[e]-t)<0?(i+=m,t=1):t=0,r[e]=i;for(;0===r[r.length-1];)r.pop()},t.prototype.toString=function(t){if(10!=(t||10))throw new Error("only base 10 is supported");for(var e=this.buf,i=e[e.length-1].toString(),r=e.length-2;0<=r;--r)i+=(m+e[r]).toString().substring(1);return i},t.prototype.valueOf=function(){for(var t=this.buf,e=0,i=t.length-1;0<=i;--i)e=e*m+t[i];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t})(),b="…",T=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,S=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function E(t,e){return t.length>e&&(t=t.substring(0,e)+b),t}var w,D=(function(){function i(t,e){this.hexDigits="0123456789ABCDEF",t instanceof i?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=e)}return i.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset "+t+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},i.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},i.prototype.hexDump=function(t,e,i){for(var r="",n=t;n<e;++n)if(r+=this.hexByte(this.get(n)),!0!==i)switch(15&n){case 7:r+="  ";break;case 15:r+="\n";break;default:r+=" "}return r},i.prototype.isASCII=function(t,e){for(var i=t;i<e;++i){var r=this.get(i);if(r<32||176<r)return!1}return!0},i.prototype.parseStringISO=function(t,e){for(var i="",r=t;r<e;++r)i+=String.fromCharCode(this.get(r));return i},i.prototype.parseStringUTF=function(t,e){for(var i="",r=t;r<e;){var n=this.get(r++);i+=n<128?String.fromCharCode(n):191<n&&n<224?String.fromCharCode((31&n)<<6|63&this.get(r++)):String.fromCharCode((15&n)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return i},i.prototype.parseStringBMP=function(t,e){for(var i,r,n="",s=t;s<e;)i=this.get(s++),r=this.get(s++),n+=String.fromCharCode(i<<8|r);return n},i.prototype.parseTime=function(t,e,i){var r=this.parseStringISO(t,e),n=(i?T:S).exec(r);return n?(i&&(n[1]=+n[1],n[1]+=+n[1]<70?2e3:1900),r=n[1]+"-"+n[2]+"-"+n[3]+" "+n[4],n[5]&&(r+=":"+n[5],n[6]&&(r+=":"+n[6],n[7]&&(r+="."+n[7]))),n[8]&&(r+=" UTC","Z"!=n[8]&&(r+=n[8],n[9]&&(r+=":"+n[9]))),r):"Unrecognized time: "+r},i.prototype.parseInteger=function(t,e){for(var i,r=this.get(t),n=127<r,s=n?255:0,o="";r==s&&++t<e;)r=this.get(t);if(0===(i=e-t))return n?-1:0;if(4<i){for(o=r,i<<=3;0==(128&(+o^s));)o=+o<<1,--i;o="("+i+" bit)\n"}n&&(r-=256);for(var a=new y(r),h=t+1;h<e;++h)a.mulAdd(256,this.get(h));return o+a.toString()},i.prototype.parseBitString=function(t,e,i){for(var r=this.get(t),n="("+((e-t-1<<3)-r)+" bit)\n",s="",o=t+1;o<e;++o){for(var a=this.get(o),h=o==e-1?r:0,u=7;h<=u;--u)s+=a>>u&1?"1":"0";if(s.length>i)return n+E(s,i)}return n+s},i.prototype.parseOctetString=function(t,e,i){if(this.isASCII(t,e))return E(this.parseStringISO(t,e),i);var r=e-t,n="("+r+" byte)\n";(i/=2)<r&&(e=t+i);for(var s=t;s<e;++s)n+=this.hexByte(this.get(s));return i<r&&(n+=b),n},i.prototype.parseOID=function(t,e,i){for(var r="",n=new y,s=0,o=t;o<e;++o){var a=this.get(o);if(n.mulAdd(128,127&a),s+=7,!(128&a)){if(""===r)if((n=n.simplify())instanceof y)n.sub(80),r="2."+n.toString();else{var h=n<80?n<40?0:1:2;r=h+"."+(n-40*h)}else r+="."+n.toString();if(r.length>i)return E(r,i);n=new y,s=0}}return 0<s&&(r+=".incomplete"),r},i})(),B=(function(){function c(t,e,i,r,n){if(!(r instanceof R))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=i,this.tag=r,this.sub=n}return c.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},c.prototype.content=function(t){if(void 0===this.tag)return null;void 0===t&&(t=1/0);var e=this.posContent(),i=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+i,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+i);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+i,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+i,t);case 6:return this.stream.parseOID(e,e+i,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return E(this.stream.parseStringUTF(e,e+i),t);case 18:case 19:case 20:case 21:case 22:case 26:return E(this.stream.parseStringISO(e,e+i),t);case 30:return E(this.stream.parseStringBMP(e,e+i),t);case 23:case 24:return this.stream.parseTime(e,e+i,23==this.tag.tagNumber)}return null},c.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},c.prototype.toPrettyString=function(t){void 0===t&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(0<=this.length&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+="  ";for(var i=0,r=this.sub.length;i<r;++i)e+=this.sub[i].toPrettyString(t)}return e},c.prototype.posStart=function(){return this.stream.pos},c.prototype.posContent=function(){return this.stream.pos+this.header},c.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},c.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},c.decodeLength=function(t){var e=t.get(),i=127&e;if(i==e)return i;if(6<i)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0===i)return null;for(var r=e=0;r<i;++r)e=256*e+t.get();return e},c.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,i=2*this.length;return t.substr(e,i)},c.decode=function(t){var r;r=t instanceof D?t:new D(t,0);var e=new D(r),i=new R(r),n=c.decodeLength(r),s=r.pos,o=s-e.pos,a=null,h=function(){var t=[];if(null!==n){for(var e=s+n;r.pos<e;)t[t.length]=c.decode(r);if(r.pos!=e)throw new Error("Content size is not correct for container starting at offset "+s)}else try{for(;;){var i=c.decode(r);if(i.tag.isEOC())break;t[t.length]=i}n=s-r.pos}catch(t){throw new Error("Exception while decoding undefined length content: "+t)}return t};if(i.tagConstructed)a=h();else if(i.isUniversal()&&(3==i.tagNumber||4==i.tagNumber))try{if(3==i.tagNumber&&0!=r.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");a=h();for(var u=0;u<a.length;++u)if(a[u].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(t){a=null}if(null===a){if(null===n)throw new Error("We can't skip over an invalid tag with undefined length at offset "+s);r.pos=s+Math.abs(n)}return new c(e,o,n,i,a)},c})(),R=(function(){function t(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=0!=(32&e),this.tagNumber=31&e,31==this.tagNumber){for(var i=new y;e=t.get(),i.mulAdd(128,127&e),128&e;);this.tagNumber=i.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t})(),x=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],I=(1<<26)/x[x.length-1],A=(function(){function b(t,e,i){null!=t&&("number"==typeof t?this.fromNumber(t,e,i):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}return b.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var i,r=(1<<e)-1,n=!1,s="",o=this.t,a=this.DB-o*this.DB%e;if(0<o--)for(a<this.DB&&0<(i=this[o]>>a)&&(n=!0,s=h(i));0<=o;)a<e?(i=(this[o]&(1<<a)-1)<<e-a,i|=this[--o]>>(a+=this.DB-e)):(i=this[o]>>(a-=e)&r,a<=0&&(a+=this.DB,--o)),0<i&&(n=!0),n&&(s+=h(i));return n?s:"0"},b.prototype.negate=function(){var t=P();return b.ZERO.subTo(this,t),t},b.prototype.abs=function(){return this.s<0?this.negate():this},b.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(0!=(e=i-t.t))return this.s<0?-e:e;for(;0<=--i;)if(0!=(e=this[i]-t[i]))return e;return 0},b.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+U(this[this.t-1]^this.s&this.DM)},b.prototype.mod=function(t){var e=P();return this.abs().divRemTo(t,null,e),this.s<0&&0<e.compareTo(b.ZERO)&&t.subTo(e,e),e},b.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new O(e):new V(e),this.exp(t,i)},b.prototype.clone=function(){var t=P();return this.copyTo(t),t},b.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},b.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},b.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},b.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},b.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var i,r=this.DB-t*this.DB%8,n=0;if(0<t--)for(r<this.DB&&(i=this[t]>>r)!=(this.s&this.DM)>>r&&(e[n++]=i|this.s<<this.DB-r);0<=t;)r<8?(i=(this[t]&(1<<r)-1)<<8-r,i|=this[--t]>>(r+=this.DB-8)):(i=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==n&&(128&this.s)!=(128&i)&&++n,(0<n||i!=this.s)&&(e[n++]=i);return e},b.prototype.equals=function(t){return 0==this.compareTo(t)},b.prototype.min=function(t){return this.compareTo(t)<0?this:t},b.prototype.max=function(t){return 0<this.compareTo(t)?this:t},b.prototype.and=function(t){var e=P();return this.bitwiseTo(t,i,e),e},b.prototype.or=function(t){var e=P();return this.bitwiseTo(t,u,e),e},b.prototype.xor=function(t){var e=P();return this.bitwiseTo(t,r,e),e},b.prototype.andNot=function(t){var e=P();return this.bitwiseTo(t,n,e),e},b.prototype.not=function(){for(var t=P(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},b.prototype.shiftLeft=function(t){var e=P();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},b.prototype.shiftRight=function(t){var e=P();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},b.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+s(this[t]);return this.s<0?this.t*this.DB:-1},b.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,i=0;i<this.t;++i)t+=o(this[i]^e);return t},b.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},b.prototype.setBit=function(t){return this.changeBit(t,u)},b.prototype.clearBit=function(t){return this.changeBit(t,n)},b.prototype.flipBit=function(t){return this.changeBit(t,r)},b.prototype.add=function(t){var e=P();return this.addTo(t,e),e},b.prototype.subtract=function(t){var e=P();return this.subTo(t,e),e},b.prototype.multiply=function(t){var e=P();return this.multiplyTo(t,e),e},b.prototype.divide=function(t){var e=P();return this.divRemTo(t,e,null),e},b.prototype.remainder=function(t){var e=P();return this.divRemTo(t,null,e),e},b.prototype.divideAndRemainder=function(t){var e=P(),i=P();return this.divRemTo(t,e,i),[e,i]},b.prototype.modPow=function(t,e){var i,r,n=t.bitLength(),s=j(1);if(n<=0)return s;i=n<18?1:n<48?3:n<144?4:n<768?5:6,r=n<8?new O(e):e.isEven()?new N(e):new V(e);var o=[],a=3,h=i-1,u=(1<<i)-1;if(o[1]=r.convert(this),1<i){var c=P();for(r.sqrTo(o[1],c);a<=u;)o[a]=P(),r.mulTo(c,o[a-2],o[a]),a+=2}var f,l,p=t.t-1,d=!0,g=P();for(n=U(t[p])-1;0<=p;){for(h<=n?f=t[p]>>n-h&u:(f=(t[p]&(1<<n+1)-1)<<h-n,0<p&&(f|=t[p-1]>>this.DB+n-h)),a=i;0==(1&f);)f>>=1,--a;if((n-=a)<0&&(n+=this.DB,--p),d)o[f].copyTo(s),d=!1;else{for(;1<a;)r.sqrTo(s,g),r.sqrTo(g,s),a-=2;0<a?r.sqrTo(s,g):(l=s,s=g,g=l),r.mulTo(g,o[f],s)}for(;0<=p&&0==(t[p]&1<<n);)r.sqrTo(s,g),l=s,s=g,g=l,--n<0&&(n=this.DB-1,--p)}return r.revert(s)},b.prototype.modInverse=function(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return b.ZERO;for(var i=t.clone(),r=this.clone(),n=j(1),s=j(0),o=j(0),a=j(1);0!=i.signum();){for(;i.isEven();)i.rShiftTo(1,i),e?(n.isEven()&&s.isEven()||(n.addTo(this,n),s.subTo(t,s)),n.rShiftTo(1,n)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);for(;r.isEven();)r.rShiftTo(1,r),e?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);0<=i.compareTo(r)?(i.subTo(r,i),e&&n.subTo(o,n),s.subTo(a,s)):(r.subTo(i,r),e&&o.subTo(n,o),a.subTo(s,a))}return 0!=r.compareTo(b.ONE)?b.ZERO:0<=a.compareTo(t)?a.subtract(t):a.signum()<0?(a.addTo(t,a),a.signum()<0?a.add(t):a):a},b.prototype.pow=function(t){return this.exp(t,new _)},b.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(e.compareTo(i)<0){var r=e;e=i,i=r}var n=e.getLowestSetBit(),s=i.getLowestSetBit();if(s<0)return e;for(n<s&&(s=n),0<s&&(e.rShiftTo(s,e),i.rShiftTo(s,i));0<e.signum();)0<(n=e.getLowestSetBit())&&e.rShiftTo(n,e),0<(n=i.getLowestSetBit())&&i.rShiftTo(n,i),0<=e.compareTo(i)?(e.subTo(i,e),e.rShiftTo(1,e)):(i.subTo(e,i),i.rShiftTo(1,i));return 0<s&&i.lShiftTo(s,i),i},b.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=x[x.length-1]){for(e=0;e<x.length;++e)if(i[0]==x[e])return!0;return!1}if(i.isEven())return!1;for(e=1;e<x.length;){for(var r=x[e],n=e+1;n<x.length&&r<I;)r*=x[n++];for(r=i.modInt(r);e<n;)if(r%x[e++]==0)return!1}return i.millerRabin(t)},b.prototype.copyTo=function(t){for(var e=this.t-1;0<=e;--e)t[e]=this[e];t.t=this.t,t.s=this.s},b.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,0<t?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},b.prototype.fromString=function(t,e){var i;if(16==e)i=4;else if(8==e)i=3;else if(256==e)i=8;else if(2==e)i=1;else if(32==e)i=5;else{if(4!=e)return void this.fromRadix(t,e);i=2}this.t=0,this.s=0;for(var r=t.length,n=!1,s=0;0<=--r;){var o=8==i?255&+t[r]:L(t,r);o<0?"-"==t.charAt(r)&&(n=!0):(n=!1,0==s?this[this.t++]=o:s+i>this.DB?(this[this.t-1]|=(o&(1<<this.DB-s)-1)<<s,this[this.t++]=o>>this.DB-s):this[this.t-1]|=o<<s,(s+=i)>=this.DB&&(s-=this.DB))}8==i&&0!=(128&+t[0])&&(this.s=-1,0<s&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),n&&b.ZERO.subTo(this,this)},b.prototype.clamp=function(){for(var t=this.s&this.DM;0<this.t&&this[this.t-1]==t;)--this.t},b.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;0<=i;--i)e[i+t]=this[i];for(i=t-1;0<=i;--i)e[i]=0;e.t=this.t+t,e.s=this.s},b.prototype.drShiftTo=function(t,e){for(var i=t;i<this.t;++i)e[i-t]=this[i];e.t=Math.max(this.t-t,0),e.s=this.s},b.prototype.lShiftTo=function(t,e){for(var i=t%this.DB,r=this.DB-i,n=(1<<r)-1,s=Math.floor(t/this.DB),o=this.s<<i&this.DM,a=this.t-1;0<=a;--a)e[a+s+1]=this[a]>>r|o,o=(this[a]&n)<<i;for(a=s-1;0<=a;--a)e[a]=0;e[s]=o,e.t=this.t+s+1,e.s=this.s,e.clamp()},b.prototype.rShiftTo=function(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)e.t=0;else{var r=t%this.DB,n=this.DB-r,s=(1<<r)-1;e[0]=this[i]>>r;for(var o=i+1;o<this.t;++o)e[o-i-1]|=(this[o]&s)<<n,e[o-i]=this[o]>>r;0<r&&(e[this.t-i-1]|=(this.s&s)<<n),e.t=this.t-i,e.clamp()}},b.prototype.subTo=function(t,e){for(var i=0,r=0,n=Math.min(t.t,this.t);i<n;)r+=this[i]-t[i],e[i++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r-=t.s;i<this.t;)r+=this[i],e[i++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;i<t.t;)r-=t[i],e[i++]=r&this.DM,r>>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[i++]=this.DV+r:0<r&&(e[i++]=r),e.t=i,e.clamp()},b.prototype.multiplyTo=function(t,e){var i=this.abs(),r=t.abs(),n=i.t;for(e.t=n+r.t;0<=--n;)e[n]=0;for(n=0;n<r.t;++n)e[n+i.t]=i.am(0,r[n],e,n,0,i.t);e.s=0,e.clamp(),this.s!=t.s&&b.ZERO.subTo(e,e)},b.prototype.squareTo=function(t){for(var e=this.abs(),i=t.t=2*e.t;0<=--i;)t[i]=0;for(i=0;i<e.t-1;++i){var r=e.am(i,e[i],t,2*i,0,1);(t[i+e.t]+=e.am(i+1,2*e[i],t,2*i+1,r,e.t-i-1))>=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}0<t.t&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},b.prototype.divRemTo=function(t,e,i){var r=t.abs();if(!(r.t<=0)){var n=this.abs();if(n.t<r.t)return null!=e&&e.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=P());var s=P(),o=this.s,a=t.s,h=this.DB-U(r[r.t-1]);0<h?(r.lShiftTo(h,s),n.lShiftTo(h,i)):(r.copyTo(s),n.copyTo(i));var u=s.t,c=s[u-1];if(0!=c){var f=c*(1<<this.F1)+(1<u?s[u-2]>>this.F2:0),l=this.FV/f,p=(1<<this.F1)/f,d=1<<this.F2,g=i.t,v=g-u,m=null==e?P():e;for(s.dlShiftTo(v,m),0<=i.compareTo(m)&&(i[i.t++]=1,i.subTo(m,i)),b.ONE.dlShiftTo(u,m),m.subTo(s,s);s.t<u;)s[s.t++]=0;for(;0<=--v;){var y=i[--g]==c?this.DM:Math.floor(i[g]*l+(i[g-1]+d)*p);if((i[g]+=s.am(0,y,i,v,0,u))<y)for(s.dlShiftTo(v,m),i.subTo(m,i);i[g]<--y;)i.subTo(m,i)}null!=e&&(i.drShiftTo(u,e),o!=a&&b.ZERO.subTo(e,e)),i.t=u,i.clamp(),0<h&&i.rShiftTo(h,i),o<0&&b.ZERO.subTo(i,i)}}},b.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return 0<(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)?this.DV-e:-e},b.prototype.isEven=function(){return 0==(0<this.t?1&this[0]:this.s)},b.prototype.exp=function(t,e){if(4294967295<t||t<1)return b.ONE;var i=P(),r=P(),n=e.convert(this),s=U(t)-1;for(n.copyTo(i);0<=--s;)if(e.sqrTo(i,r),0<(t&1<<s))e.mulTo(r,n,i);else{var o=i;i=r,r=o}return e.revert(i)},b.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},b.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||36<t)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),r=j(i),n=P(),s=P(),o="";for(this.divRemTo(r,n,s);0<n.signum();)o=(i+s.intValue()).toString(t).substr(1)+o,n.divRemTo(r,n,s);return s.intValue().toString(t)+o},b.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var i=this.chunkSize(e),r=Math.pow(e,i),n=!1,s=0,o=0,a=0;a<t.length;++a){var h=L(t,a);h<0?"-"==t.charAt(a)&&0==this.signum()&&(n=!0):(o=e*o+h,++s>=i&&(this.dMultiply(r),this.dAddOffset(o,0),o=s=0))}0<s&&(this.dMultiply(Math.pow(e,s)),this.dAddOffset(o,0)),n&&b.ZERO.subTo(this,this)},b.prototype.fromNumber=function(t,e,i){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(b.ONE.shiftLeft(t-1),u,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(b.ONE.shiftLeft(t-1),this);else{var r=[],n=7&t;r.length=1+(t>>3),e.nextBytes(r),0<n?r[0]&=(1<<n)-1:r[0]=0,this.fromString(r,256)}},b.prototype.bitwiseTo=function(t,e,i){var r,n,s=Math.min(t.t,this.t);for(r=0;r<s;++r)i[r]=e(this[r],t[r]);if(t.t<this.t){for(n=t.s&this.DM,r=s;r<this.t;++r)i[r]=e(this[r],n);i.t=this.t}else{for(n=this.s&this.DM,r=s;r<t.t;++r)i[r]=e(n,t[r]);i.t=t.t}i.s=e(this.s,t.s),i.clamp()},b.prototype.changeBit=function(t,e){var i=b.ONE.shiftLeft(t);return this.bitwiseTo(i,e,i),i},b.prototype.addTo=function(t,e){for(var i=0,r=0,n=Math.min(t.t,this.t);i<n;)r+=this[i]+t[i],e[i++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r+=t.s;i<this.t;)r+=this[i],e[i++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;i<t.t;)r+=t[i],e[i++]=r&this.DM,r>>=this.DB;r+=t.s}e.s=r<0?-1:0,0<r?e[i++]=r:r<-1&&(e[i++]=this.DV+r),e.t=i,e.clamp()},b.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},b.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},b.prototype.multiplyLowerTo=function(t,e,i){var r=Math.min(this.t+t.t,e);for(i.s=0,i.t=r;0<r;)i[--r]=0;for(var n=i.t-this.t;r<n;++r)i[r+this.t]=this.am(0,t[r],i,r,0,this.t);for(n=Math.min(t.t,e);r<n;++r)this.am(0,t[r],i,r,0,e-r);i.clamp()},b.prototype.multiplyUpperTo=function(t,e,i){--e;var r=i.t=this.t+t.t-e;for(i.s=0;0<=--r;)i[r]=0;for(r=Math.max(e-this.t,0);r<t.t;++r)i[this.t+r-e]=this.am(e-r,t[r],i,0,0,this.t+r-e);i.clamp(),i.drShiftTo(1,i)},b.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,i=this.s<0?t-1:0;if(0<this.t)if(0==e)i=this[0]%t;else for(var r=this.t-1;0<=r;--r)i=(e*i+this[r])%t;return i},b.prototype.millerRabin=function(t){var e=this.subtract(b.ONE),i=e.getLowestSetBit();if(i<=0)return!1;var r=e.shiftRight(i);x.length<(t=t+1>>1)&&(t=x.length);for(var n=P(),s=0;s<t;++s){n.fromInt(x[Math.floor(Math.random()*x.length)]);var o=n.modPow(r,this);if(0!=o.compareTo(b.ONE)&&0!=o.compareTo(e)){for(var a=1;a++<i&&0!=o.compareTo(e);)if(0==(o=o.modPowInt(2,this)).compareTo(b.ONE))return!1;if(0!=o.compareTo(e))return!1}}return!0},b.prototype.square=function(){var t=P();return this.squareTo(t),t},b.prototype.gcda=function(t,e){var i=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(i.compareTo(r)<0){var n=i;i=r,r=n}var s=i.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)e(i);else{s<o&&(o=s),0<o&&(i.rShiftTo(o,i),r.rShiftTo(o,r));var a=function(){0<(s=i.getLowestSetBit())&&i.rShiftTo(s,i),0<(s=r.getLowestSetBit())&&r.rShiftTo(s,r),0<=i.compareTo(r)?(i.subTo(r,i),i.rShiftTo(1,i)):(r.subTo(i,r),r.rShiftTo(1,r)),0<i.signum()?setTimeout(a,0):(0<o&&r.lShiftTo(o,r),setTimeout((function(){e(r)}),0))};setTimeout(a,10)}},b.prototype.fromNumberAsync=function(t,e,i,r){if("number"==typeof e)if(t<2)this.fromInt(1);else{this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(b.ONE.shiftLeft(t-1),u,this),this.isEven()&&this.dAddOffset(1,0);var n=this,s=function(){n.dAddOffset(2,0),n.bitLength()>t&&n.subTo(b.ONE.shiftLeft(t-1),n),n.isProbablePrime(e)?setTimeout((function(){r()}),0):setTimeout(s,0)};setTimeout(s,0)}else{var o=[],a=7&t;o.length=1+(t>>3),e.nextBytes(o),0<a?o[0]&=(1<<a)-1:o[0]=0,this.fromString(o,256)}},b})(),_=(function(){function t(){}return t.prototype.convert=function(t){return t},t.prototype.revert=function(t){return t},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i)},t.prototype.sqrTo=function(t,e){t.squareTo(e)},t})(),O=(function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||0<=t.compareTo(this.m)?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t})(),V=(function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=P();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&0<e.compareTo(A.ZERO)&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=P();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var i=32767&t[e],r=i*this.mpl+((i*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),0<=t.compareTo(this.m)&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t})(),N=(function(){function t(t){this.m=t,this.r2=P(),this.q3=P(),A.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=P();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);0<=t.compareTo(this.m);)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t})();function P(){return new A(null)}function C(t,e){return new A(t,e)}"Microsoft Internet Explorer"==navigator.appName?(A.prototype.am=function(t,e,i,r,n,s){for(var o=32767&e,a=e>>15;0<=--s;){var h=32767&this[t],u=this[t++]>>15,c=a*h+u*o;n=((h=o*h+((32767&c)<<15)+i[r]+(1073741823&n))>>>30)+(c>>>15)+a*u+(n>>>30),i[r++]=1073741823&h}return n},w=30):"Netscape"!=navigator.appName?(A.prototype.am=function(t,e,i,r,n,s){for(;0<=--s;){var o=e*this[t++]+i[r]+n;n=Math.floor(o/67108864),i[r++]=67108863&o}return n},w=26):(A.prototype.am=function(t,e,i,r,n,s){for(var o=16383&e,a=e>>14;0<=--s;){var h=16383&this[t],u=this[t++]>>14,c=a*h+u*o;n=((h=o*h+((16383&c)<<14)+i[r]+n)>>28)+(c>>14)+a*u,i[r++]=268435455&h}return n},w=28),A.prototype.DB=w,A.prototype.DM=(1<<w)-1,A.prototype.DV=1<<w;A.prototype.FV=Math.pow(2,52),A.prototype.F1=52-w,A.prototype.F2=2*w-52;var M,q,H=[];for(M="0".charCodeAt(0),q=0;q<=9;++q)H[M++]=q;for(M="a".charCodeAt(0),q=10;q<36;++q)H[M++]=q;for(M="A".charCodeAt(0),q=10;q<36;++q)H[M++]=q;function L(t,e){var i=H[t.charCodeAt(e)];return null==i?-1:i}function j(t){var e=P();return e.fromInt(t),e}function U(t){var e,i=1;return 0!=(e=t>>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}A.ZERO=j(0),A.ONE=j(1);var F=(function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,i,r;for(e=0;e<256;++e)this.S[e]=e;for(e=i=0;e<256;++e)i=i+this.S[e]+t[e%t.length]&255,r=this.S[e],this.S[e]=this.S[i],this.S[i]=r;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t})();var k,K,z=256,G=null;if(null==G){G=[];var Z=void(K=0);if(window.crypto&&window.crypto.getRandomValues){var Y=new Uint32Array(256);for(window.crypto.getRandomValues(Y),Z=0;Z<Y.length;++Z)G[K++]=255&Y[Z]}var W=function(t){if(this.count=this.count||0,256<=this.count||z<=K)window.removeEventListener?window.removeEventListener("mousemove",W,!1):window.detachEvent&&window.detachEvent("onmousemove",W);else try{var e=t.x+t.y;G[K++]=255&e,this.count+=1}catch(t){}};window.addEventListener?window.addEventListener("mousemove",W,!1):window.attachEvent&&window.attachEvent("onmousemove",W)}function $(){if(null==k){for(k=new F;K<z;){var t=Math.floor(65536*Math.random());G[K++]=255&t}for(k.init(G),K=0;K<G.length;++K)G[K]=0;K=0}return k.next()}var Q=(function(){function t(){}return t.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=$()},t})();var J=(function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),i=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(i)<0;)e=e.add(this.p);return e.subtract(i).multiply(this.coeff).mod(this.p).multiply(this.q).add(i)},t.prototype.setPublic=function(t,e){null!=t&&null!=e&&0<t.length&&0<e.length?(this.n=C(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(t){var e=(function(t,e){if(e<t.length+11)return console.error("Message too long for RSA"),null;for(var i=[],r=t.length-1;0<=r&&0<e;){var n=t.charCodeAt(r--);n<128?i[--e]=n:127<n&&n<2048?(i[--e]=63&n|128,i[--e]=n>>6|192):(i[--e]=63&n|128,i[--e]=n>>6&63|128,i[--e]=n>>12|224)}i[--e]=0;for(var s=new Q,o=[];2<e;){for(o[0]=0;0==o[0];)s.nextBytes(o);i[--e]=o[0]}return i[--e]=2,i[--e]=0,new A(i)})(t,this.n.bitLength()+7>>3);if(null==e)return null;var i=this.doPublic(e);if(null==i)return null;var r=i.toString(16);return 0==(1&r.length)?r:"0"+r},t.prototype.setPrivate=function(t,e,i){null!=t&&null!=e&&0<t.length&&0<e.length?(this.n=C(t,16),this.e=parseInt(e,16),this.d=C(i,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(t,e,i,r,n,s,o,a){null!=t&&null!=e&&0<t.length&&0<e.length?(this.n=C(t,16),this.e=parseInt(e,16),this.d=C(i,16),this.p=C(r,16),this.q=C(n,16),this.dmp1=C(s,16),this.dmq1=C(o,16),this.coeff=C(a,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(t,e){var i=new Q,r=t>>1;this.e=parseInt(e,16);for(var n=new A(e,16);;){for(;this.p=new A(t-r,1,i),0!=this.p.subtract(A.ONE).gcd(n).compareTo(A.ONE)||!this.p.isProbablePrime(10););for(;this.q=new A(r,1,i),0!=this.q.subtract(A.ONE).gcd(n).compareTo(A.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var o=this.p.subtract(A.ONE),a=this.q.subtract(A.ONE),h=o.multiply(a);if(0==h.gcd(n).compareTo(A.ONE)){this.n=this.p.multiply(this.q),this.d=n.modInverse(h),this.dmp1=this.d.mod(o),this.dmq1=this.d.mod(a),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=C(t,16),i=this.doPrivate(e);return null==i?null:(function(t,e){var i=t.toByteArray(),r=0;for(;r<i.length&&0==i[r];)++r;if(i.length-r!=e-1||2!=i[r])return null;++r;for(;0!=i[r];)if(++r>=i.length)return null;var n="";for(;++r<i.length;){var s=255&i[r];s<128?n+=String.fromCharCode(s):191<s&&s<224?(n+=String.fromCharCode((31&s)<<6|63&i[r+1]),++r):(n+=String.fromCharCode((15&s)<<12|(63&i[r+1])<<6|63&i[r+2]),r+=2)}return n})(i,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(t,e,n){var s=new Q,o=t>>1;this.e=parseInt(e,16);var a=new A(e,16),h=this,u=function(){var e=function(){if(h.p.compareTo(h.q)<=0){var t=h.p;h.p=h.q,h.q=t}var e=h.p.subtract(A.ONE),i=h.q.subtract(A.ONE),r=e.multiply(i);0==r.gcd(a).compareTo(A.ONE)?(h.n=h.p.multiply(h.q),h.d=a.modInverse(r),h.dmp1=h.d.mod(e),h.dmq1=h.d.mod(i),h.coeff=h.q.modInverse(h.p),setTimeout((function(){n()}),0)):setTimeout(u,0)},i=function(){h.q=P(),h.q.fromNumberAsync(o,1,s,(function(){h.q.subtract(A.ONE).gcda(a,(function(t){0==t.compareTo(A.ONE)&&h.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(i,0)}))}))},r=function(){h.p=P(),h.p.fromNumberAsync(t-o,1,s,(function(){h.p.subtract(A.ONE).gcda(a,(function(t){0==t.compareTo(A.ONE)&&h.p.isProbablePrime(10)?setTimeout(i,0):setTimeout(r,0)}))}))};setTimeout(r,0)};setTimeout(u,0)},t.prototype.sign=function(t,e,i){var r=(function(t,e){if(e<t.length+22)return console.error("Message too long for RSA"),null;for(var i=e-t.length-6,r="",n=0;n<i;n+=2)r+="ff";return C("0001"+r+"00"+t,16)})((X[i]||"")+e(t).toString(),this.n.bitLength()/4);if(null==r)return null;var n=this.doPrivate(r);if(null==n)return null;var s=n.toString(16);return 0==(1&s.length)?s:"0"+s},t.prototype.verify=function(t,e,i){var r=C(e,16),n=this.doPublic(r);return null==n?null:(function(t){for(var e in X)if(X.hasOwnProperty(e)){var i=X[e],r=i.length;if(t.substr(0,r)==i)return t.substr(r)}return t})(n.toString(16).replace(/^1f+00/,""))==i(t).toString()},t})();var X={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};var tt={};tt.lang={extend:function(t,e,i){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=e.prototype,t.prototype=new r,(t.prototype.constructor=t).superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),i){var n;for(n in i)t.prototype[n]=i[n];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(s=function(t,e){for(n=0;n<o.length;n+=1){var i=o[n],r=e[i];"function"==typeof r&&r!=Object.prototype[i]&&(t[i]=r)}})}catch(t){}s(t.prototype,i)}}};var et={};void 0!==et.asn1&&et.asn1||(et.asn1={}),et.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var i=e.substr(1).length;i%2==1?i+=1:e.match(/^[0-7]/)||(i+=2);for(var r="",n=0;n<i;n++)r+="f";e=new A(r,16).xor(t).add(A.ONE).toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=et.asn1,i=e.DERBoolean,r=e.DERInteger,n=e.DERBitString,s=e.DEROctetString,o=e.DERNull,a=e.DERObjectIdentifier,h=e.DEREnumerated,u=e.DERUTF8String,c=e.DERNumericString,f=e.DERPrintableString,l=e.DERTeletexString,p=e.DERIA5String,d=e.DERUTCTime,g=e.DERGeneralizedTime,v=e.DERSequence,m=e.DERSet,y=e.DERTaggedObject,b=e.ASN1Util.newObject,T=Object.keys(t);if(1!=T.length)throw"key of param shall be only one.";var S=T[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+S+":"))throw"undefined key: "+S;if("bool"==S)return new i(t[S]);if("int"==S)return new r(t[S]);if("bitstr"==S)return new n(t[S]);if("octstr"==S)return new s(t[S]);if("null"==S)return new o(t[S]);if("oid"==S)return new a(t[S]);if("enum"==S)return new h(t[S]);if("utf8str"==S)return new u(t[S]);if("numstr"==S)return new c(t[S]);if("prnstr"==S)return new f(t[S]);if("telstr"==S)return new l(t[S]);if("ia5str"==S)return new p(t[S]);if("utctime"==S)return new d(t[S]);if("gentime"==S)return new g(t[S]);if("seq"==S){for(var E=t[S],w=[],D=0;D<E.length;D++){var B=b(E[D]);w.push(B)}return new v({array:w})}if("set"==S){for(E=t[S],w=[],D=0;D<E.length;D++){B=b(E[D]);w.push(B)}return new m({array:w})}if("tag"==S){var R=t[S];if("[object Array]"===Object.prototype.toString.call(R)&&3==R.length){var x=b(R[2]);return new y({tag:R[0],explicit:R[1],obj:x})}var I={};if(void 0!==R.explicit&&(I.explicit=R.explicit),void 0!==R.tag&&(I.tag=R.tag),void 0===R.obj)throw"obj shall be specified for 'tag'.";return I.obj=b(R.obj),new y(I)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},et.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",i=parseInt(t.substr(0,2),16),r=(e=Math.floor(i/40)+"."+i%40,""),n=2;n<t.length;n+=2){var s=("00000000"+parseInt(t.substr(n,2),16).toString(2)).slice(-8);if(r+=s.substr(1,7),"0"==s.substr(0,1))e=e+"."+new A(r,2).toString(10),r=""}return e},et.asn1.ASN1Util.oidIntToHex=function(t){var a=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},e=function(t){var e="",i=new A(t,10).toString(2),r=7-i.length%7;7==r&&(r=0);for(var n="",s=0;s<r;s++)n+="0";i=n+i;for(s=0;s<i.length-1;s+=7){var o=i.substr(s,7);s!=i.length-7&&(o="1"+o),e+=a(parseInt(o,2))}return e};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var i="",r=t.split("."),n=40*parseInt(r[0])+parseInt(r[1]);i+=a(n),r.splice(0,2);for(var s=0;s<r.length;s++)i+=e(r[s]);return i},et.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var t=this.hV.length/2,e=t.toString(16);if(e.length%2==1&&(e="0"+e),t<128)return e;var i=e.length/2;if(15<i)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+i).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},et.asn1.DERAbstractString=function(t){et.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},tt.lang.extend(et.asn1.DERAbstractString,et.asn1.ASN1Object),et.asn1.DERAbstractTime=function(t){et.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,i){var r=this.zeroPadding,n=this.localDateToUTC(t),s=String(n.getFullYear());"utc"==e&&(s=s.substr(2,2));var o=s+r(String(n.getMonth()+1),2)+r(String(n.getDate()),2)+r(String(n.getHours()),2)+r(String(n.getMinutes()),2)+r(String(n.getSeconds()),2);if(!0===i){var a=n.getMilliseconds();if(0!=a){var h=r(String(a),3);o=o+"."+(h=h.replace(/[0]+$/,""))}}return o+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,i,r,n,s){var o=new Date(Date.UTC(t,e-1,i,r,n,s,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},tt.lang.extend(et.asn1.DERAbstractTime,et.asn1.ASN1Object),et.asn1.DERAbstractStructured=function(t){et.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},tt.lang.extend(et.asn1.DERAbstractStructured,et.asn1.ASN1Object),et.asn1.DERBoolean=function(){et.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},tt.lang.extend(et.asn1.DERBoolean,et.asn1.ASN1Object),et.asn1.DERInteger=function(t){et.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=et.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new A(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},tt.lang.extend(et.asn1.DERInteger,et.asn1.ASN1Object),et.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=et.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}et.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var i="0"+t;this.hTLV=null,this.isModified=!0,this.hV=i+e},this.setByBinaryString=function(t){var e=8-(t=t.replace(/0+$/,"")).length%8;8==e&&(e=0);for(var i=0;i<=e;i++)t+="0";var r="";for(i=0;i<t.length-1;i+=8){var n=t.substr(i,8),s=parseInt(n,2).toString(16);1==s.length&&(s="0"+s),r+=s}this.hTLV=null,this.isModified=!0,this.hV="0"+e+r},this.setByBooleanArray=function(t){for(var e="",i=0;i<t.length;i++)1==t[i]?e+="1":e+="0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=!1;return e},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):void 0!==t.hex?this.setHexValueIncludingUnusedBits(t.hex):void 0!==t.bin?this.setByBinaryString(t.bin):void 0!==t.array&&this.setByBooleanArray(t.array))},tt.lang.extend(et.asn1.DERBitString,et.asn1.ASN1Object),et.asn1.DEROctetString=function(t){if(void 0!==t&&void 0!==t.obj){var e=et.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}et.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},tt.lang.extend(et.asn1.DEROctetString,et.asn1.DERAbstractString),et.asn1.DERNull=function(){et.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},tt.lang.extend(et.asn1.DERNull,et.asn1.ASN1Object),et.asn1.DERObjectIdentifier=function(t){var a=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},s=function(t){var e="",i=new A(t,10).toString(2),r=7-i.length%7;7==r&&(r=0);for(var n="",s=0;s<r;s++)n+="0";i=n+i;for(s=0;s<i.length-1;s+=7){var o=i.substr(s,7);s!=i.length-7&&(o="1"+o),e+=a(parseInt(o,2))}return e};et.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var e="",i=t.split("."),r=40*parseInt(i[0])+parseInt(i[1]);e+=a(r),i.splice(0,2);for(var n=0;n<i.length;n++)e+=s(i[n]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueName=function(t){var e=et.asn1.x509.OID.name2oid(t);if(""===e)throw"DERObjectIdentifier oidName undefined: "+t;this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):void 0!==t.oid?this.setValueOidString(t.oid):void 0!==t.hex?this.setValueHex(t.hex):void 0!==t.name&&this.setValueName(t.name))},tt.lang.extend(et.asn1.DERObjectIdentifier,et.asn1.ASN1Object),et.asn1.DEREnumerated=function(t){et.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=et.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new A(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},tt.lang.extend(et.asn1.DEREnumerated,et.asn1.ASN1Object),et.asn1.DERUTF8String=function(t){et.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},tt.lang.extend(et.asn1.DERUTF8String,et.asn1.DERAbstractString),et.asn1.DERNumericString=function(t){et.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},tt.lang.extend(et.asn1.DERNumericString,et.asn1.DERAbstractString),et.asn1.DERPrintableString=function(t){et.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},tt.lang.extend(et.asn1.DERPrintableString,et.asn1.DERAbstractString),et.asn1.DERTeletexString=function(t){et.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},tt.lang.extend(et.asn1.DERTeletexString,et.asn1.DERAbstractString),et.asn1.DERIA5String=function(t){et.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},tt.lang.extend(et.asn1.DERIA5String,et.asn1.DERAbstractString),et.asn1.DERUTCTime=function(t){et.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},tt.lang.extend(et.asn1.DERUTCTime,et.asn1.DERAbstractTime),et.asn1.DERGeneralizedTime=function(t){et.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis&&(this.withMillis=!0))},tt.lang.extend(et.asn1.DERGeneralizedTime,et.asn1.DERAbstractTime),et.asn1.DERSequence=function(t){et.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++){t+=this.asn1Array[e].getEncodedHex()}return this.hV=t,this.hV}},tt.lang.extend(et.asn1.DERSequence,et.asn1.DERAbstractStructured),et.asn1.DERSet=function(t){et.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var i=this.asn1Array[e];t.push(i.getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},void 0!==t&&void 0!==t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},tt.lang.extend(et.asn1.DERSet,et.asn1.DERAbstractStructured),et.asn1.DERTaggedObject=function(t){et.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,i){this.hT=e,this.isExplicit=t,this.asn1Object=i,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=i.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.tag&&(this.hT=t.tag),void 0!==t.explicit&&(this.isExplicit=t.explicit),void 0!==t.obj&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},tt.lang.extend(et.asn1.DERTaggedObject,et.asn1.ASN1Object);var it=(function(i){function r(t){var e=i.call(this)||this;return t&&("string"==typeof t?e.parseKey(t):(r.hasPrivateKeyProperty(t)||r.hasPublicKeyProperty(t))&&e.parsePropertiesFrom(t)),e}return (function(t,e){function i(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)})(r,i),r.prototype.parseKey=function(t){try{var e=0,i=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(t)?g(t):v.unarmor(t),n=B.decode(r);if(3===n.sub.length&&(n=n.sub[2].sub[0]),9===n.sub.length){e=n.sub[1].getHexStringValue(),this.n=C(e,16),i=n.sub[2].getHexStringValue(),this.e=parseInt(i,16);var s=n.sub[3].getHexStringValue();this.d=C(s,16);var o=n.sub[4].getHexStringValue();this.p=C(o,16);var a=n.sub[5].getHexStringValue();this.q=C(a,16);var h=n.sub[6].getHexStringValue();this.dmp1=C(h,16);var u=n.sub[7].getHexStringValue();this.dmq1=C(u,16);var c=n.sub[8].getHexStringValue();this.coeff=C(c,16)}else{if(2!==n.sub.length)return!1;var f=n.sub[1].sub[0];e=f.sub[0].getHexStringValue(),this.n=C(e,16),i=f.sub[1].getHexStringValue(),this.e=parseInt(i,16)}return!0}catch(t){return!1}},r.prototype.getPrivateBaseKey=function(){var t={array:[new et.asn1.DERInteger({int:0}),new et.asn1.DERInteger({bigint:this.n}),new et.asn1.DERInteger({int:this.e}),new et.asn1.DERInteger({bigint:this.d}),new et.asn1.DERInteger({bigint:this.p}),new et.asn1.DERInteger({bigint:this.q}),new et.asn1.DERInteger({bigint:this.dmp1}),new et.asn1.DERInteger({bigint:this.dmq1}),new et.asn1.DERInteger({bigint:this.coeff})]};return new et.asn1.DERSequence(t).getEncodedHex()},r.prototype.getPrivateBaseKeyB64=function(){return c(this.getPrivateBaseKey())},r.prototype.getPublicBaseKey=function(){var t=new et.asn1.DERSequence({array:[new et.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new et.asn1.DERNull]}),e=new et.asn1.DERSequence({array:[new et.asn1.DERInteger({bigint:this.n}),new et.asn1.DERInteger({int:this.e})]}),i=new et.asn1.DERBitString({hex:"00"+e.getEncodedHex()});return new et.asn1.DERSequence({array:[t,i]}).getEncodedHex()},r.prototype.getPublicBaseKeyB64=function(){return c(this.getPublicBaseKey())},r.wordwrap=function(t,e){if(!t)return t;var i="(.{1,"+(e=e||64)+"})( +|$\n?)|(.{1,"+e+"})";return t.match(RegExp(i,"g")).join("\n")},r.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return t+=r.wordwrap(this.getPrivateBaseKeyB64())+"\n",t+="-----END RSA PRIVATE KEY-----"},r.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return t+=r.wordwrap(this.getPublicBaseKeyB64())+"\n",t+="-----END PUBLIC KEY-----"},r.hasPublicKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")},r.hasPrivateKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},r.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},r})(J),rt=(function(){function t(t){t=t||{},this.default_key_size=parseInt(t.default_key_size,10)||1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return t.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new it(t)},t.prototype.setPrivateKey=function(t){this.setKey(t)},t.prototype.setPublicKey=function(t){this.setKey(t)},t.prototype.decrypt=function(t){try{return this.getKey().decrypt(f(t))}catch(t){return!1}},t.prototype.encrypt=function(t){try{return c(this.getKey().encrypt(t))}catch(t){return!1}},t.prototype.sign=function(t,e,i){try{return c(this.getKey().sign(t,e,i))}catch(t){return!1}},t.prototype.verify=function(t,e,i){try{return this.getKey().verify(t,f(e),i)}catch(t){return!1}},t.prototype.getKey=function(t){if(!this.key){if(this.key=new it,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version="3.0.0-rc.1",t})();window.JSEncrypt=rt,t.JSEncrypt=rt,t.default=rt,Object.defineProperty(t,"__esModule",{value:!0})})(e)},216:function(t,e,i){var r;r=function(h){return (function(n){var t=h,e=t.lib,i=e.WordArray,r=e.Hasher,s=t.algo,o=[],b=[];!(function(){function t(t){for(var e=n.sqrt(t),i=2;i<=e;i++)if(!(t%i))return!1;return!0}function e(t){return 4294967296*(t-(0|t))|0}for(var i=2,r=0;r<64;)t(i)&&(r<8&&(o[r]=e(n.pow(i,.5))),b[r]=e(n.pow(i,1/3)),r++),i++})();var T=[],a=s.SHA256=r.extend({_doReset:function(){this._hash=new i.init(o.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,r=i[0],n=i[1],s=i[2],o=i[3],a=i[4],h=i[5],u=i[6],c=i[7],f=0;f<64;f++){if(f<16)T[f]=0|t[e+f];else{var l=T[f-15],p=(l<<25|l>>>7)^(l<<14|l>>>18)^l>>>3,d=T[f-2],g=(d<<15|d>>>17)^(d<<13|d>>>19)^d>>>10;T[f]=p+T[f-7]+g+T[f-16]}var v=r&n^r&s^n&s,m=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),y=c+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&h^~a&u)+b[f]+T[f];c=u,u=h,h=a,a=o+y|0,o=s,s=n,n=r,r=y+(m+v)|0}i[0]=i[0]+r|0,i[1]=i[1]+n|0,i[2]=i[2]+s|0,i[3]=i[3]+o|0,i[4]=i[4]+a|0,i[5]=i[5]+h|0,i[6]=i[6]+u|0,i[7]=i[7]+c|0},_doFinalize:function(){var t=this._data,e=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return e[r>>>5]|=128<<24-r%32,e[14+(r+64>>>9<<4)]=n.floor(i/4294967296),e[15+(r+64>>>9<<4)]=i,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});t.SHA256=r._createHelper(a),t.HmacSHA256=r._createHmacHelper(a)})(Math),h.SHA256},t.exports=r(i(217))},217:function(t,e,i){var r;r=function(){var c,i,t,e,r,f,n,s,o,a,h,u,l=l||(c=Math,i=Object.create||(function(){function i(){}return function(t){var e;return i.prototype=t,e=new i,i.prototype=null,e}})(),e=(t={}).lib={},r=e.Base={extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),(e.init.prototype=e).$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},f=e.WordArray=r.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||s).stringify(this)},concat:function(t){var e=this.words,i=t.words,r=this.sigBytes,n=t.sigBytes;if(this.clamp(),r%4)for(var s=0;s<n;s++){var o=i[s>>>2]>>>24-s%4*8&255;e[r+s>>>2]|=o<<24-(r+s)%4*8}else for(s=0;s<n;s+=4)e[r+s>>>2]=i[s>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=c.ceil(e/4)},clone:function(){var t=r.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e,i=[],r=function(e){e=e;var i=987654321,r=4294967295;return function(){var t=((i=36969*(65535&i)+(i>>16)&r)<<16)+(e=18e3*(65535&e)+(e>>16)&r)&r;return t/=4294967296,(t+=.5)*(.5<c.random()?1:-1)}},n=0;n<t;n+=4){var s=r(4294967296*(e||c.random()));e=987654071*s(),i.push(4294967296*s()|0)}return new f.init(i,t)}}),n=t.enc={},s=n.Hex={stringify:function(t){for(var e=t.words,i=t.sigBytes,r=[],n=0;n<i;n++){var s=e[n>>>2]>>>24-n%4*8&255;r.push((s>>>4).toString(16)),r.push((15&s).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,i=[],r=0;r<e;r+=2)i[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new f.init(i,e/2)}},o=n.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,r=[],n=0;n<i;n++){var s=e[n>>>2]>>>24-n%4*8&255;r.push(String.fromCharCode(s))}return r.join("")},parse:function(t){for(var e=t.length,i=[],r=0;r<e;r++)i[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new f.init(i,e)}},a=n.Utf8={stringify:function(t){try{return decodeURIComponent(escape(o.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return o.parse(unescape(encodeURIComponent(t)))}},h=e.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=a.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,i=e.words,r=e.sigBytes,n=this.blockSize,s=r/(4*n),o=(s=t?c.ceil(s):c.max((0|s)-this._minBufferSize,0))*n,a=c.min(4*o,r);if(o){for(var h=0;h<o;h+=n)this._doProcessBlock(i,h);var u=i.splice(0,o);e.sigBytes-=a}return new f.init(u,a)},clone:function(){var t=r.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),e.Hasher=h.extend({cfg:r.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(i){return function(t,e){return new i.init(e).finalize(t)}},_createHmacHelper:function(i){return function(t,e){return new u.HMAC.init(i,e).finalize(t)}}}),u=t.algo={},t);return l},t.exports=r()}},[212]);
lxpbjsChunk([62],{387:function(e,t,n){n(388),e.exports=n(389)},388:function(e,t){},389:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0)),r=n(1);var u={TITLE_LEN:100,DESCR_LEN:200,SPONSORED_BY_LEN:50,IMG_MIN:150,ICON_MIN:50},a=t.spec={code:"pulsepoint",aliases:["pulseLite","pulsepointLite"],supportedMediaTypes:["banner","native"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.cp&&e.params.ct)},buildRequests:function(e,t){var n,r,a={id:e[0].bidderRequestId,imp:e.map((function(e){return{id:(t=e).bidId,banner:(n=t,r=(function(e){if(e.params.cf){var t=e.params.cf.toUpperCase().split("X"),n=parseInt(e.params.cw||t[0],10),r=parseInt(e.params.ch||t[1],10);return[n,r]}return[1,1]})(n),n.nativeParams?null:{w:r[0],h:r[1]}),native:(function(e){if(e.nativeParams){var t=[];return o(t,(n=t.length+1,r=e.nativeParams.title,a=u.TITLE_LEN,r?{id:n,required:r.required?1:0,title:{len:r.len||a}}:null)),o(t,c(t.length+1,e.nativeParams.body,2,u.DESCR_LEN)),o(t,c(t.length+1,e.nativeParams.sponsoredBy,1,u.SPONSORED_BY_LEN)),o(t,s(t.length+1,e.nativeParams.icon,1,u.ICON_MIN,u.ICON_MIN)),o(t,s(t.length+1,e.nativeParams.image,3,u.IMG_MIN,u.IMG_MIN)),{request:JSON.stringify({assets:t}),ver:"1.1"}}var n,r,a;return null})(t),tagid:t.params.ct.toString()};var t,n,r})),site:(function(e){var t=e&&0<e.length?e[0].params.cp:"0";if(!e[0].params.app)return{publisher:{id:t.toString()},ref:(function(){try{return window.top.document.referrer}catch(e){return document.referrer}})(),page:i.getTopWindowLocation().href};return null})(e),app:(function(e){var t=e&&0<e.length?e[0].params.cp:"0",n=e[0].params.app;if(n)return{publisher:{id:t.toString()},bundle:n.bundle,storeurl:n.storeUrl,domain:n.domain};return null})(e),device:{ua:navigator.userAgent,language:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage}};return r=a,(n=t)&&n.gdprConsent&&(r.regs={ext:{gdpr:n.gdprConsent.gdprApplies?1:0}},r.user={ext:{consent:n.gdprConsent.consentString}}),{method:"POST",url:"//bid.contextweb.com/header/ortb",data:JSON.stringify(a)}},interpretResponse:function(e,t){return (function(e,t){var a={},i={};t=t.body,p(e.data).imp.forEach((function(e){a[e.id]=e})),t&&t.seatbid.forEach((function(e){return e.bid.forEach((function(e){i[e.impid]=e}))}));var u=[];return Object.keys(a).forEach((function(e){if(i[e]){var t={requestId:e,cpm:i[e].price,creative_id:e,creativeId:e,adId:e,ttl:20,netRevenue:!0,currency:"USD"};a[e].native?(t.native=(function(e,t){if(e.native){var n=p(t.adm),r={};if(n&&n.native&&n.native.assets)return n.native.assets.forEach((function(e){r.title=e.title?e.title.text:r.title,r.body=e.data&&2===e.data.type?e.data.value:r.body,r.sponsoredBy=e.data&&1===e.data.type?e.data.value:r.sponsoredBy,r.image=e.img&&3===e.img.type?e.img.url:r.image,r.icon=e.img&&1===e.img.type?e.img.url:r.icon})),n.native.link&&(r.clickUrl=encodeURIComponent(n.native.link.url)),r.impressionTrackers=n.native.imptrackers,r}return null})(a[e],i[e]),t.mediaType="native"):(t.ad=i[e].adm,t.width=a[e].banner.w,t.height=a[e].banner.h),n=t,(r=i[e])&&r.ext&&(n.ttl=r.ext.ttl||n.ttl,n.currency=r.ext.currency||n.currency,n.netRevenue=null!=r.ext.netRevenue?r.ext.netRevenue:n.netRevenue),u.push(t)}var n,r})),u})(t,e)},getUserSyncs:function(e){return e.iframeEnabled?[{type:"iframe",url:"//bh.contextweb.com/visitormatch"}]:e.pixelEnabled?[{type:"image",url:"//bh.contextweb.com/visitormatch/prebid"}]:void 0},transformBidParams:function(e,t){return i.convertTypes({cf:"string",cp:"number",ct:"number"},e)}};function o(e,t){t&&e.push(t)}function s(e,t,n,r,a){return t?{id:e,required:t.required?1:0,img:{type:n,wmin:t.wmin||r,hmin:t.hmin||a}}:null}function c(e,t,n,r){return t?{id:e,required:t.required?1:0,data:{type:n,len:t.len||r}}:null}function p(e){try{if(e)return JSON.parse(e)}catch(e){i.logError("pulsepointLite.safeParse","ERROR",e)}return null}(0,r.registerBidder)(a)}},[387]);
lxpbjsChunk([49],{425:function(e,r,t){t(426),e.exports=t(427)},426:function(e,r){},427:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=r.SYNC_ENDPOINT=r.VIDEO_ENDPOINT=r.FASTLANE_ENDPOINT=void 0;var u=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,r){var t=[],i=!0,n=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(t.push(s.value),!r||t.length!==r);i=!0);}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}return t})(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")},p="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};r.hasVideoMediaType=c,r.masSizeOrdering=h,r.resetUserSync=function(){A=!1};var l=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),i=t(1),f=t(3),v=t(2);var y="pbjs_lite_v1.30.0-pre";var s=r.FASTLANE_ENDPOINT="//fastlane.rubiconproject.com/a/api/fastlane.json",a=r.VIDEO_ENDPOINT="//fastlane-adv.rubiconproject.com/v1/auction/video",n=r.SYNC_ENDPOINT="https://eus.rubiconproject.com/usync.html",g={1:"468x60",2:"728x90",5:"120x90",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",39:"750x100",40:"750x200",41:"750x300",43:"320x50",44:"300x50",48:"300x300",53:"1024x768",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",64:"580x500",65:"640x480",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",94:"970x310",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",108:"320x240",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",144:"980x600",159:"320x250",195:"600x300",199:"640x200",213:"1030x590",214:"980x360",229:"320x180",232:"580x400",257:"400x600"};l._each(g,(function(e,r){return g[e]=r}));var d=r.spec={code:"rubicon",aliases:["rubiconLite"],supportedMediaTypes:[v.BANNER,v.VIDEO],isBidRequestValid:function(e){return"object"===p(e.params)&&(!!/^\d+$/.test(e.params.accountId)&&!!_(e,!0))},buildRequests:function(e,o){var r=[],t=e.filter((function(e){return"video"===_(e)})).map((function(e){e.startTime=(new Date).getTime();var r=e.params,t=x(e,"video"),i={page_url:b(e,o),resolution:m(),account_id:r.accountId,integration:y,"x_source.tid":e.transactionId,timeout:o.timeout-(Date.now()-o.auctionStart+500),stash_creatives:!0,slots:[]},n={site_id:r.siteId,zone_id:r.zoneId,position:"atf"===r.position||"btf"===r.position?r.position:"unknown",floor:.01<parseFloat(r.floor)?r.floor:.01,element_id:e.adUnitCode,name:e.adUnitCode,width:t[0],height:t[1],size_id:"outstream"===l.deepAccess(e,"mediaTypes."+v.VIDEO+".context")?203:r.video.size_id};return r.video&&(i.ae_pass_through_parameters=r.video.aeParams,n.language=r.video.language),r.inventory&&"object"===p(r.inventory)&&(n.inventory=r.inventory),r.keywords&&Array.isArray(r.keywords)&&(n.keywords=r.keywords),r.visitor&&"object"===p(r.visitor)&&(n.visitor=r.visitor),i.slots.push(n),o.gdprConsent&&("boolean"==typeof o.gdprConsent.gdprApplies&&(i.gdpr=Number(o.gdprConsent.gdprApplies)),i.gdpr_consent=o.gdprConsent.consentString),{method:"POST",url:a,data:i,bidRequest:e}}));if(!0!==f.config.getConfig("rubicon.singleRequest"))r=t.concat(e.filter((function(e){return"banner"===_(e)})).map((function(e){var i=d.createSlotParams(e,o);return{method:"GET",url:s,data:d.getOrderedParams(i).reduce((function(e,r){var t=i[r];return l.isStr(t)&&""!==t||l.isNumber(t)?""+e+r+"="+encodeURIComponent(t)+"&":e}),"")+"slots=1&rand="+Math.random(),bidRequest:e}})));else{var n=e.filter((function(e){return"banner"===_(e)})).reduce((function(e,r){return(e[r.params.siteId]=e[r.params.siteId]||[]).push(r),e}),{});r=t.concat(Object.keys(n).map((function(e){var r=n[e];10<r.length&&(l.logWarn("Rubicon bid adapter Warning: single request mode has a limit of 10 bids: "+(r.length-10)+" bids were not sent"),r=r.slice(0,10));var i=d.combineSlotUrlParams(r.map((function(e){return d.createSlotParams(e,o)})));return{method:"GET",url:s,data:d.getOrderedParams(i).reduce((function(e,r){var t=i[r];return l.isStr(t)&&""!==t||l.isNumber(t)?""+e+r+"="+encodeURIComponent(t)+"&":e}),"")+"slots="+r.length+"&rand="+Math.random(),bidRequest:r}})))}return r},getOrderedParams:function(e){var r=/^tg_v/,t=/^tg_i/,i=["account_id","site_id","zone_id","size_id","alt_size_ids","p_pos","gdpr","gdpr_consent","rf","dt.id","dt.keyv","dt.pref","p_geo.latitude","p_geo.longitude","kw"].concat(Object.keys(e).filter((function(e){return r.test(e)}))).concat(Object.keys(e).filter((function(e){return t.test(e)}))).concat(["tk_flint","x_source.tid","p_screen_res","rp_floor","rp_secure","tk_user_key"]);return i.concat(Object.keys(e).filter((function(e){return-1===i.indexOf(e)})))},combineSlotUrlParams:function(n){if(1===n.length)return n[0];var i=n.reduce((function(r,t,i){return Object.keys(t).forEach((function(e){r.hasOwnProperty(e)||(r[e]=new Array(n.length)),r[e].splice(i,1,t[e])})),r}),{}),o=new RegExp("^([^;]*)(;\\1)+$");return Object.keys(i).forEach((function(e){var r=i[e].join(";"),t=r.match(o);i[e]=t?t[1]:r})),i},createSlotParams:function(e,r){e.startTime=(new Date).getTime();var t=e.params,i=x(e,"banner"),n=t.latLong||[],o=u(n,2),s=o[0],a=o[1],d={account_id:t.accountId,site_id:t.siteId,zone_id:t.zoneId,size_id:i[0],alt_size_ids:i.slice(1).join(",")||void 0,p_pos:"atf"===t.position||"btf"===t.position?t.position:"unknown",rp_floor:.01<(t.floor=parseFloat(t.floor))?t.floor:.01,rp_secure:"https:"===location.protocol?"1":"0",tk_flint:y,"x_source.tid":e.transactionId,p_screen_res:m(),kw:Array.isArray(t.keywords)?t.keywords.join(","):"",tk_user_key:t.userId,"p_geo.latitude":isNaN(parseFloat(s))?void 0:parseFloat(s).toFixed(4),"p_geo.longitude":isNaN(parseFloat(a))?void 0:parseFloat(a).toFixed(4),"tg_fl.eid":e.code,rf:b(e,r)};r.gdprConsent&&("boolean"==typeof r.gdprConsent.gdprApplies&&(d.gdpr=Number(r.gdprConsent.gdprApplies)),d.gdpr_consent=r.gdprConsent.consentString),null!==t.visitor&&"object"===p(t.visitor)&&Object.keys(t.visitor).forEach((function(e){null!=t.visitor[e]&&(d["tg_v."+e]=t.visitor[e].toString())})),null!==t.inventory&&"object"===p(t.inventory)&&Object.keys(t.inventory).forEach((function(e){null!=t.inventory[e]&&(d["tg_i."+e]=t.inventory[e].toString())}));var c=(function(){var e=(r=window.DigiTrust&&(f.config.getConfig("digiTrustId")||window.DigiTrust.getUser({member:"T9QSFKPDN9"})),r&&r.success&&r.identity||null);var r;if(!e||e.privacy&&e.privacy.optout)return[];return{"dt.id":e.id,"dt.keyv":e.keyv,"dt.pref":0}})();return Object.keys(c).forEach((function(e){d[e]=c[e]})),d},interpretResponse:function(d,e){var c=e.bidRequest;if(!(d=d.body)||"object"!==(void 0===d?"undefined":p(d)))return[];var r=d.ads;return"object"!==(void 0===c?"undefined":p(c))||Array.isArray(c)||"video"!==_(c)||"object"!==(void 0===r?"undefined":p(r))||(r=r[c.adUnitCode]),!Array.isArray(r)||r.length<1?[]:r.reduce((function(e,r,t){if("ok"!==r.status)return e;var i,n=Array.isArray(c)?c[t]:c;if(n&&"object"===(void 0===n?"undefined":p(n))){var o={requestId:n.bidId,currency:"USD",creativeId:r.creative_id||(r.network||"")+"-"+(r.advertiser||""),cpm:r.cpm||0,dealId:r.deal,ttl:300,netRevenue:f.config.getConfig("rubicon.netRevenue")||!1,rubicon:{advertiserId:r.advertiser,networkId:r.network}};if(r.creative_type&&(o.mediaType=r.creative_type),r.creative_type===v.VIDEO)o.width=n.params.video.playerWidth,o.height=n.params.video.playerHeight,o.vastUrl=r.creative_depot_url,o.impression_id=r.impression_id,o.videoCacheKey=r.impression_id;else{o.ad=(i=r.script,"<html>\n<head><script type='text/javascript'>inDapIF=true;<\/script></head>\n<body style='margin : 0; padding: 0;'>\n\x3c!-- Rubicon Project Ad Tag --\x3e\n<div data-rp-impression-id='"+r.impression_id+"'>\n<script type='text/javascript'>"+i+"<\/script>\n</div>\n</body>\n</html>");var s=g[r.size_id].split("x").map((function(e){return Number(e)})),a=u(s,2);o.width=a[0],o.height=a[1]}o.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:n.adUnitCode}),e.push(o)}else l.logError("Rubicon bid adapter Error: bidRequest undefined at index position:"+t,c,d);return e}),[]).sort((function(e,r){return(r.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,r,t){if(!A&&e.iframeEnabled){var i="";return t&&"string"==typeof t.consentString&&("boolean"==typeof t.gdprApplies?i+="?gdpr="+Number(t.gdprApplies)+"&gdpr_consent="+t.consentString:i+="?gdpr_consent="+t.consentString),A=!0,{type:"iframe",url:n+i}}},transformBidParams:function(e,r){return l.convertTypes({accountId:"number",siteId:"number",zoneId:"number"},e)}};function m(){return[window.screen.width,window.screen.height].join("x")}function b(e,r){var t=f.config.getConfig("pageUrl");return e.params.referrer?t=e.params.referrer:t||(t=r.refererInfo.referer),e.params.secure?t.replace(/^http:/i,"https:"):t}function x(e,r){var t=e.params;if("video"===r){var i=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?i=[t.video.playerWidth,t.video.playerHeight]:Array.isArray(l.deepAccess(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?i=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&0<e.sizes.length&&Array.isArray(e.sizes[0])&&1<e.sizes[0].length&&(i=e.sizes[0]),i}var n=[];return Array.isArray(t.sizes)?n=t.sizes:void 0!==l.deepAccess(e,"mediaTypes.banner.sizes")?n=o(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&0<e.sizes.length?n=o(e.sizes):l.logWarn("Warning: no sizes are setup or found"),h(n)}function o(e){return l.parseSizesInput(e).reduce((function(e,r){var t=parseInt(g[r],10);return t&&e.push(t),e}),[])}function c(e){return(void 0!==l.deepAccess(e,"params.video")||!Array.isArray(l.deepAccess(e,"params.sizes")))&&(e.mediaType===v.VIDEO||void 0!==l.deepAccess(e,"mediaTypes."+v.VIDEO))}function _(e){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=void 0;if(c(e)){if(t=!0,"instream"===l.deepAccess(e,"mediaTypes."+v.VIDEO+".context")||e.mediaType===v.VIDEO?void 0===l.deepAccess(e,"params.video.size_id")&&(r&&l.logError("Rubicon bid adapter Error: size id is missing for instream video request."),t=!1):"outstream"===l.deepAccess(e,"mediaTypes."+v.VIDEO+".context")?203!==l.deepAccess(e,"params.video.size_id")&&r&&l.logWarn("Rubicon bid adapter Warning: outstream video is sending invalid size id, converting size id to 203."):(r&&l.logError("Rubicon bid adapter Error: no instream or outstream context defined in mediaTypes."),t=!1),t)return void 0!==l.deepAccess(e,"mediaTypes."+v.BANNER)&&r&&l.logWarn("Rubicon bid adapter Warning: video and banner requested for same adUnit, continuing with video request, multi-format request is not supported by rubicon yet."),"video";if(void 0===l.deepAccess(e,"mediaTypes."+v.BANNER))return}if(0<x(e,"banner").length)return r&&!1===t&&l.logWarn("Rubicon bid adapter Warning: invalid video requested for adUnit, continuing with banner request."),"banner"}function h(e){var n=[15,2,9];return e.sort((function(e,r){var t=n.indexOf(e),i=n.indexOf(r);return-1<t||-1<i?-1===t?1:-1===i?-1:t-i:e-r}))}var A=!1;(0,i.registerBidder)(d)}},[425]);
lxpbjsChunk([43],{449:function(r,e,a){a(450),r.exports=a(451)},450:function(r,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spec=void 0;var i=(function(r){{if(r&&r.__esModule)return r;var e={};if(null!=r)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e.default=r,e}})(a(0)),d=a(3),t=a(1);var n=e.spec={code:"smartadserver",aliases:["smart"],isBidRequestValid:function(r){return!!(r.params&&r.params.siteId&&r.params.pageId&&r.params.formatId&&r.params.domain)},buildRequests:function(r,t){return r.map((function(r){var e={siteid:r.params.siteId,pageid:r.params.pageId,formatid:r.params.formatId,currencyCode:d.config.getConfig("currency.adServerCurrency"),bidfloor:r.params.bidfloor||0,targeting:r.params.target&&""!=r.params.target?r.params.target:void 0,buid:r.params.buId&&""!=r.params.buId?r.params.buId:void 0,appname:r.params.appName&&""!=r.params.appName?r.params.appName:void 0,ckid:r.params.ckId||0,tagId:r.adUnitCode,sizes:r.sizes.map((function(r){return{w:r[0],h:r[1]}})),pageDomain:i.getTopWindowUrl(),transactionId:r.transactionId,timeout:d.config.getConfig("bidderTimeout"),bidId:r.bidId,prebidVersion:"1.30.0-pre"};t&&t.gdprConsent&&(e.gdpr_consent=t.gdprConsent.consentString,e.gdpr=t.gdprConsent.gdprApplies);var a=JSON.stringify(e);return{method:"POST",url:r.params.domain+"/prebid/v1",data:a}}))},interpretResponse:function(r,e){var a=[],t=r.body;try{if(t){var d={requestId:JSON.parse(e.data).bidId,cpm:t.cpm,width:t.width,height:t.height,creativeId:t.creativeId,dealId:t.dealId,currency:t.currency,netRevenue:t.isNetCpm,ttl:t.ttl,referrer:i.getTopWindowUrl(),adUrl:t.adUrl,ad:t.ad};a.push(d)}}catch(r){i.logError("Error while parsing smart server response",r)}return a},getUserSyncs:function(r,e){var a=[];return r.iframeEnabled&&0<e.length&&a.push({type:"iframe",url:e[0].body.cSyncUrl}),a}};(0,t.registerBidder)(n)},451:function(r,e){}},[449]);
lxpbjsChunk([142],{464:function(a,e,t){t(465),a.exports=t(466)},465:function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spec=void 0;var i="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},r=t(1),o=e.spec={code:"between",aliases:["btw"],supportedMediaTypes:["banner"],isBidRequestValid:function(a){return!!(a.params.w&&a.params.h&&a.params.s)},buildRequests:function(a){var r=[];return a.forEach((function(a){var e={jst:"hb",ord:1e16*Math.random(),tz:(new Date).getTimezoneOffset(),fl:(function(){if(void 0!==navigator.plugins&&null!==navigator.plugins&&void 0!==navigator.plugins["Shockwave Flash"]&&null!==navigator.plugins["Shockwave Flash"]&&"object"===i(navigator.plugins["Shockwave Flash"])){var a=navigator.plugins["Shockwave Flash"].description;if(a&&(void 0===navigator.mimeTypes||!navigator.mimeTypes["application/x-shockwave-flash"]||navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin))return a=a.replace(/^.*\s+(\S+\s+\S+$)/,"$1").replace(/^(.*)\..*$/,"$1"),parseInt(a,10)}return 0})(),rr:(function(){try{var a=top.document,e=a.referrer}catch(a){return!1}{if(void 0!==e&&0<e.length)return encodeURIComponent(e);if(void 0!==e&&""==e)return"direct"}})(),w:a.params.w,h:a.params.h,s:a.params.s,bidid:a.bidId,transactionid:a.transactionId,auctionid:a.auctionId};if(void 0!==a.params.itu&&(e.itu=a.params.itu),void 0!==a.params.cur&&(e.cur=a.params.cur),void 0!==a.params.subid&&(e.subid=a.params.subid),void 0!==a.params.click3rd&&(e.click3rd=a.params.click3rd),void 0!==a.params.pubdata)for(var t in a.params.pubdata)e["pubside_macro["+t+"]"]=encodeURIComponent(a.params.pubdata[t]);r.push({method:"GET",url:"https://ads.betweendigital.com/adjson",data:e})})),r},interpretResponse:function(a,e){for(var t=[],r=0;r<a.body.length;r++){var i={requestId:a.body[r].bidid,cpm:a.body[r].cpm||0,width:a.body[r].w,height:a.body[r].h,ttl:a.body[r].ttl,creativeId:a.body[r].creativeid,currency:a.body[r].currency||"RUB",netRevenue:a.body[r].netRevenue||!0,ad:a.body[r].ad};t.push(i)}return t},getUserSyncs:function(a,e){var t=[];return t.push({type:"iframe",url:"http://ads.betweendigital.com/sspmatch-iframe"}),t}};(0,r.registerBidder)(o)},466:function(a,e){}},[464]);
lxpbjsChunk([38],{467:function(e,t,r){r(468),e.exports=r(469)},468:function(e,t){},469:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var o=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),i=r(1),a=r(2),s=r(4);var n=t.spec={code:"sovrn",supportedMediaTypes:[a.BANNER],isBidRequestValid:function(e){return!(!e.params.tagid||isNaN(parseFloat(e.params.tagid))||!isFinite(e.params.tagid))},buildRequests:function(e,t){var r=o.getTopWindowLocation(),i=[],n=void 0;o._each(e,(function(e){n=n||o.getBidIdParameter("iv",e.params),i.push({id:e.bidId,banner:{w:1,h:1},tagid:String(o.getBidIdParameter("tagid",e.params)),bidfloor:o.getBidIdParameter("bidfloor",e.params)})}));var a={id:o.getUniqueIdentifierStr(),imp:i,site:{domain:r.host,page:r.host+r.pathname+r.search+r.hash}};t&&t.gdprConsent&&(a.regs={ext:{gdpr:+t.gdprConsent.gdprApplies}},a.user={ext:{consent:t.gdprConsent.consentString}});var d="//ap.lijit.com/rtb/bid?src="+s.REPO_AND_VERSION;return n&&(d+="&iv="+n),{method:"POST",url:d,data:JSON.stringify(a),options:{contentType:"text/plain"}}},interpretResponse:function(e){var t=e.body,r=t.id,i=t.seatbid,n=[];return r&&i&&0<i.length&&i[0].bid&&0<i[0].bid.length&&i[0].bid.map((function(e){n.push({requestId:e.impid,cpm:parseFloat(e.price),width:parseInt(e.w),height:parseInt(e.h),creativeId:e.crid||e.id,dealId:e.dealid||null,currency:"USD",netRevenue:!0,mediaType:a.BANNER,ad:decodeURIComponent(e.adm+'<img src="'+e.nurl+'">'),ttl:60})})),n},getUserSyncs:function(e,t,r){if(t&&0!==t.length&&e.iframeEnabled){var i=t.filter((function(e){return e.body&&e.body.ext&&e.body.ext.iid})).map((function(e){return e.body.ext.iid})),n="";if(r&&r.gdprApplies&&"string"==typeof r.consentString&&(n=r.consentString),i[0])return[{type:"iframe",url:"//ap.lijit.com/beacon?informer="+i[0]+"&gdpr_consent="+n}]}return[]}};(0,i.registerBidder)(n)}},[467]);
lxpbjsChunk([65],{574:function(e,r,a){a(575),e.exports=a(576)},575:function(e,r){},576:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var f="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},y=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),t=a(1),i=a(2),n=a(3);var v=a(4),b="pubmatic",w="USD",o="nFIn8aLzbd",I=void 0,S={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},s={NUMBER:"number",STRING:"string",BOOLEAN:"boolean",ARRAY:"array"},R={mimes:s.ARRAY,minduration:s.NUMBER,maxduration:s.NUMBER,startdelay:s.NUMBER,playbackmethod:s.ARRAY,api:s.ARRAY,protocols:s.ARRAY,w:s.NUMBER,h:s.NUMBER,battr:s.ARRAY,linearity:s.NUMBER,placement:s.NUMBER,minbitrate:s.NUMBER,maxbitrate:s.NUMBER},d={1:"PMP",5:"PREF",6:"PMPG"},O=0;function x(e,r){if(!y.isStr(r))return r&&y.logWarn("PubMatic: Ignoring param key: "+e+", expects string-value, found "+(void 0===r?"undefined":f(r))),I;switch(e){case"pmzoneid":return r.split(",").slice(0,50).map((function(e){return e.trim()})).join();case"kadfloor":case"lat":case"lon":return parseFloat(r)||I;case"yob":return parseInt(r)||I;default:return r}}function A(e){e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0;var r,a=e.hasOwnProperty("sizes")&&y.isArray(e.sizes)&&1<=e.sizes.length;e.params.adSlot=(r=e.params.adSlot,y.isStr(r)?r.replace(/^\s+/g,"").replace(/\s+$/g,""):"");var t=e.params.adSlot,i=t.split(":");if(t=i[0],2==i.length&&(e.params.adUnitIndex=i[1]),2==(i=t.split("@")).length||a)if(e.params.adUnit=i[0],1<i.length){if(2!=(i=i[1].split("x")).length)return void y.logWarn("AdSlot Error: adSlot not in required format");e.params.width=parseInt(i[0]),e.params.height=parseInt(i[1]),delete e.sizes}else a&&(e.params.width=parseInt(e.sizes[0][0]),e.params.height=parseInt(e.sizes[0][1]));else y.logWarn("AdSlot Error: adSlot not in required format")}function P(e,r,a){var t="PubMatic: Ignoring param key: "+e+", expects "+a+", found "+(void 0===r?"undefined":f(r));switch(a){case s.BOOLEAN:return y.isBoolean(r)?r:(y.logWarn(t),I);case s.NUMBER:return y.isNumber(r)?r:(y.logWarn(t),I);case s.STRING:return y.isStr(r)?r:(y.logWarn(t),I);case s.ARRAY:return y.isArray(r)?r:(y.logWarn(t),I)}}function U(e){var r,a,t,i=(r=o,!(t=(a=window.DigiTrust&&(n.config.getConfig("digiTrustId")||window.DigiTrust.getUser({member:r})))&&a.success&&a.identity||null)||t.privacy&&t.privacy.optout?null:t);null!==i&&e.push({source:"digitru.st",uids:[{id:i.id||"",atype:1,ext:{keyv:parseInt(i.keyv)||0}}]})}var p=r.spec={code:b,supportedMediaTypes:[i.BANNER,i.VIDEO],isBidRequestValid:function(e){return!(!e||!e.params)&&(y.isStr(e.params.publisherId)?y.isStr(e.params.adSlot)?!!(!e.params.hasOwnProperty("video")||e.params.video.hasOwnProperty("mimes")&&y.isArray(e.params.video.mimes)&&0!==e.params.video.mimes.length)||(y.logWarn(b+": For video ads, mimes is mandatory and must specify atlease 1 mime value. Call to OpenBid will not be sent."),!1):(y.logWarn(b+": adSlotId is mandatory and cannot be numeric. Call to OpenBid will not be sent."),!1):(y.logWarn(b+" Error: publisherId is mandatory and cannot be numeric. Call to OpenBid will not be sent."),!1))},buildRequests:function(e,r){var a,t,i,n,o=((a={}).pageURL=y.getTopWindowUrl(),a.refURL=y.getTopWindowReferrer(),a),s=(t=o,{id:""+(new Date).getTime(),at:1,cur:[w],imp:[],site:{page:t.pageURL,ref:t.refURL,publisher:{}},device:{ua:navigator.userAgent,js:1,dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,h:screen.height,w:screen.width,language:navigator.language},user:{},ext:{}}),d="",p="",l=[];if(e.forEach((function(e){if(A(n=y.deepClone(e)),n.params.hasOwnProperty("video")){if(!(n.params.adSlot&&n.params.adUnit&&n.params.adUnitIndex))return void y.logWarn(b+": Skipping the non-standard adslot: ",n.params.adSlot,n)}else if(!(n.params.adSlot&&n.params.adUnit&&n.params.adUnitIndex&&n.params.width&&n.params.height))return void y.logWarn(b+": Skipping the non-standard adslot: ",n.params.adSlot,n);o.pubId=o.pubId||n.params.publisherId,(o=(function(e,r){var a,t,i;for(a in r.kadpageurl||(r.kadpageurl=r.pageURL),S)S.hasOwnProperty(a)&&(t=e[a])&&("object"===(void 0===(i=S[a])?"undefined":f(i))&&(t=i.f(t,r)),y.isStr(t)?r[a]=t:y.logWarn("PubMatic: Ignoring param : "+a+" with value : "+S[a]+", expects string-value, found "+(void 0===t?"undefined":f(t))));return r})(n.params,o)).transactionId=n.transactionId,""===d?d=n.params.currency||void 0:n.params.hasOwnProperty("currency")&&d!==n.params.currency&&y.logWarn(b+": Currency specifier ignored. Only one currency permitted."),n.params.currency=d,n.params.hasOwnProperty("dctr")&&y.isStr(n.params.dctr)&&l.push(n.params.dctr),s.imp.push(function(e,r){var a={},t={},i={},n=e.hasOwnProperty("sizes")?e.sizes:[];if(a={id:e.bidId,tagid:e.params.adUnit,bidfloor:x("kadfloor",e.params.kadfloor),secure:"https:"===window.location.protocol?1:0,ext:{pmZoneId:x("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?x("currency",e.params.currency):w},e.params.hasOwnProperty("video")){var o=e.params.video;for(var s in R)o.hasOwnProperty(s)&&(i[s]=P(s,o[s],R[s]));y.isArray(e.mediaTypes.video.playerSize[0])?(i.w=e.mediaTypes.video.playerSize[0][0],i.h=e.mediaTypes.video.playerSize[0][1]):y.isNumber(e.mediaTypes.video.playerSize[0])&&(i.w=e.mediaTypes.video.playerSize[0],i.h=e.mediaTypes.video.playerSize[1]),e.params.video.hasOwnProperty("skippable")&&(i.ext={video_skippable:e.params.video.skippable?1:0}),a.video=i}else{if(t={pos:0,w:e.params.width,h:e.params.height,topframe:y.inIframe()?0:1},y.isArray(n)&&1<n.length){n=n.splice(1,n.length-1);var d=[];n.forEach((function(e){d.push({w:e[0],h:e[1]})})),t.format=d}a.banner=t}return a}(n))})),0!=s.imp.length){var u,m,c,g;if(s.site.publisher.id=o.pubId.trim(),O=o.pubId.trim(),s.ext.wrapper={},s.ext.wrapper.profile=parseInt(o.profId)||I,s.ext.wrapper.version=parseInt(o.verId)||I,s.ext.wrapper.wiid=o.wiid||I,s.ext.wrapper.wv=v.REPO_AND_VERSION,s.ext.wrapper.transactionId=o.transactionId,s.ext.wrapper.wp="pbjs",s.user.gender=o.gender?o.gender.trim():I,s.user.geo={},r&&r.gdprConsent&&(s.user.ext={consent:r.gdprConsent.consentString},s.regs={ext:{gdpr:r.gdprConsent.gdprApplies?1:0}}),s.user.geo.lat=x("lat",o.lat),s.user.geo.lon=x("lon",o.lon),s.user.yob=x("yob",o.yob),s.device.geo={},s.device.geo.lat=x("lat",o.lat),s.device.geo.lon=x("lon",o.lon),s.site.page=o.kadpageurl.trim()||s.site.page.trim(),s.site.domain=(u=s.site.page,(m=document.createElement("a")).href=u,m.hostname),e[0].params.hasOwnProperty("dctr")){if(p=e[0].params.dctr,y.isStr(p)&&0<p.length){var h=p.split("|");p="",h.forEach((function(e){p+=0<e.length?e.trim()+"|":""})),i=p.length,"|"===p.substring(i,i-1)&&(p=p.substring(0,i-1)),s.site.ext={key_val:p.trim()}}else y.logWarn(b+": Ignoring param : dctr with value : "+p+", expects string-value, found empty or non-string value");1<l.length&&y.logWarn(b+": dctr value found in more than 1 adunits. Value from 1st adunit will be picked. Ignoring values from subsequent adunits")}else y.logWarn(b+": dctr value not found in 1st adunit, ignoring values from subsequent adunits");return c=s,U(g=[]),0<g.length&&(c.user.eids=g),{method:"POST",url:"//hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(s)}}},interpretResponse:function(e,t){var i=[],n=w;try{e.body&&e.body.seatbid&&y.isArray(e.body.seatbid)&&(n=e.body.cur||n,e.body.seatbid.forEach((function(e){e.bid&&y.isArray(e.bid)&&e.bid.forEach((function(r){var a={requestId:r.impid,cpm:(parseFloat(r.price)||0).toFixed(2),width:r.w,height:r.h,creativeId:r.crid||r.id,dealId:r.dealid,currency:n,netRevenue:!1,ttl:300,referrer:y.getTopWindowUrl(),ad:r.adm},e=JSON.parse(t.data);e.imp&&0<e.imp.length&&e.imp.forEach((function(e){r.impid===e.id&&e.hasOwnProperty("video")&&(a.mediaType="video",a.width=r.hasOwnProperty("w")?r.w:e.video.w,a.height=r.hasOwnProperty("h")?r.h:e.video.h,a.vastXml=r.adm)})),r.ext&&r.ext.deal_channel&&(a.dealChannel=d[r.ext.deal_channel]||null),i.push(a)}))})))}catch(e){y.logError(e)}return i},getUserSyncs:function(e,r,a){var t="//ads.pubmatic.com/AdServer/js/showad.js#PIX&kdntuid=1&p="+O;if(a&&(t+="&gdpr="+(a.gdprApplies?1:0),t+="&gdpr_consent="+encodeURIComponent(a.consentString||"")),e.iframeEnabled)return[{type:"iframe",url:t}];y.logWarn("PubMatic: Please enable iframe based user sync.")},transformBidParams:function(e,r){return y.convertTypes({publisherId:"string",adSlot:"string"},e)}};(0,t.registerBidder)(p)}},[574]);
lxpbjsdfp.processQueue();

};

