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NDJcdTA0MzgiLCJzdG9yZV9maWx0ZXJfc2V0dGluZ3MiOiIifTsKLyogXV0+ICovCg== |
data:text/javascript;base64,Ci8qIDwhW0NEQVRBWyAqLwp2YXIgdXNlcm9ubGluZUwxMG4gPSB7ImFqYXhfdXJsIjoiaHR0cHM6XC9cL25hcG9saS53c1wvd3AtYWRtaW5cL2FkbWluLWFqYXgucGhwIiwidGltZW91dCI6IjMwMDAwMCJ9OwovKiBdXT4gKi8K |
data:text/javascript;base64,DQoJCWpRdWVyeShmdW5jdGlvbigkKXsNCgkJCSQoJy5jb21tZW50LXJlcGx5LWxpbmsnKS5jbGljayhmdW5jdGlvbihlKXsNCgkJCQllLnByZXZlbnREZWZhdWx0KCk7DQoJCQkJQ0tFRElUT1IuaW5zdGFuY2VzLmNvbW1lbnQuZGVzdHJveSgpOw0KCQkJCWFkZENvbW1lbnQubW92ZUZvcm0uYXBwbHkoIGFkZENvbW1lbnQgKTsNCgkJCQlDS0VESVRPUi5yZXBsYWNlKCAiY29tbWVudCIgKTsNCgkJCX0pOw0KCQl9KTsNCgk= |
data:text/javascript;base64,DQogICAgDQogICAgKGZ1bmN0aW9uKHdpbmRvdykgew0KICAgICAgICB2YXIgS2lsbEFkQmxvY2sgPSBmdW5jdGlvbihvcHRpb25zKSB7DQogICAgICAgICAgICB0aGlzLl9vcHRpb25zID0gew0KICAgICAgICAgICAgICAgIGNoZWNrT25Mb2FkOiAgICAgICAgZmFsc2UsDQogICAgICAgICAgICAgICAgcmVzZXRPbkVuZDogICAgICAgICBmYWxzZSwNCiAgICAgICAgICAgICAgICBsb29wQ2hlY2tUaW1lOiAgICAgIDUwLA0KICAgICAgICAgICAgICAgIGxvb3BNYXhOdW1iZXI6ICAgICAgNSwNCiAgICAgICAgICAgICAgICBiYWl0Q2xhc3M6ICAgICAgICAgICdwdWJfMzAweDI1MCBwdWJfMzAweDI1MG0gcHViXzcyOHg5MCB0ZXh0LWFkIHRleHRBZCB0ZXh0X2FkIHRleHRfYWRzIHRleHQtYWRzIHRleHQtYWQtbGlua3MnLA0KICAgICAgICAgICAgICAgIGJhaXRTdHlsZTogICAgICAgICAgJ3dpZHRoOiAxcHggIWltcG9ydGFudDsgaGVpZ2h0OiAxcHggIWltcG9ydGFudDsgcG9zaXRpb246IGFic29sdXRlICFpbXBvcnRhbnQ7IGxlZnQ6IC0xMDAwMHB4ICFpbXBvcnRhbnQ7IHRvcDogLTEwMDBweCAhaW1wb3J0YW50OycsDQogICAgICAgICAgICAgICAgZGVidWc6ICAgICAgICAgICAgICBmYWxzZQ0KICAgICAgICAgICAgfTsNCiAgICAgICAgICAgIHRoaXMuX3ZhciA9IHsNCiAgICAgICAgICAgICAgICB2ZXJzaW9uOiAgICAgICAgICAgICcxLjIuMCcsDQogICAgICAgICAgICAgICAgYmFpdDogICAgICAgICAgICAgICBudWxsLA0KICAgICAgICAgICAgICAgIGNoZWNraW5nOiAgICAgICAgICAgZmFsc2UsDQogICAgICAgICAgICAgICAgbG9vcDogICAgICAgICAgICAgICBudWxsLA0KICAgICAgICAgICAgICAgIGxvb3BOdW1iZXI6ICAgICAgICAgMCwNCiAgICAgICAgICAgICAgICBldmVudDogICAgICAgICAgICAgIHsgZGV0ZWN0ZWQ6IFtdLCBub3REZXRlY3RlZDogW10gfQ0KICAgICAgICAgICAgfTsNCiAgICAgICAgICAgIGlmKG9wdGlvbnMgIT09IHVuZGVmaW5lZCkgew0KICAgICAgICAgICAgICAgIHRoaXMuc2V0T3B0aW9uKG9wdGlvbnMpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIHNlbGYgPSB0aGlzOw0KICAgICAgICAgICAgdmFyIGV2ZW50Q2FsbGJhY2sgPSBmdW5jdGlvbigpIHsNCiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgew0KICAgICAgICAgICAgICAgICAgICBpZihzZWxmLl9vcHRpb25zLmNoZWNrT25Mb2FkID09PSB0cnVlKSB7DQogICAgICAgICAgICAgICAgICAgICAgICBpZihzZWxmLl9vcHRpb25zLmRlYnVnID09PSB0cnVlKSB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgc2VsZi5fbG9nKCdvbmxvYWQtPmV2ZW50Q2FsbGJhY2snLCAnQSBjaGVjayBsb2FkaW5nIGlzIGxhdW5jaGVkJyk7DQogICAgICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgICAgICBpZihzZWxmLl92YXIuYmFpdCA9PT0gbnVsbCkgew0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNlbGYuX2NyZWF0QmFpdCgpOw0KICAgICAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChmdW5jdGlvbigpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZWxmLmNoZWNrKCk7DQogICAgICAgICAgICAgICAgICAgICAgICB9LCAxKTsNCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIH0sIDEpOw0KICAgICAgICAgICAgfTsNCiAgICAgICAgICAgIGlmKHdpbmRvdy5hZGRFdmVudExpc3RlbmVyICE9PSB1bmRlZmluZWQpIHsNCiAgICAgICAgICAgICAgICB3aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIGV2ZW50Q2FsbGJhY2ssIGZhbHNlKTsNCiAgICAgICAgICAgIH0gZWxzZSB7DQogICAgICAgICAgICAgICAgd2luZG93LmF0dGFjaEV2ZW50KCdvbmxvYWQnLCBldmVudENhbGxiYWNrKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfTsNCiAgICAgICAgS2lsbEFkQmxvY2sucHJvdG90eXBlLl9vcHRpb25zID0gbnVsbDsNCiAgICAgICAgS2lsbEFkQmxvY2sucHJvdG90eXBlLl92YXIgPSBudWxsOw0KICAgICAgICBLaWxsQWRCbG9jay5wcm90b3R5cGUuX2JhaXQgPSBudWxsOw0KICAgICAgICANCiAgICAgICAgS2lsbEFkQmxvY2sucHJvdG90eXBlLl9sb2cgPSBmdW5jdGlvbihtZXRob2QsIG1lc3NhZ2UpIHsNCiAgICAgICAgICAgIGNvbnNvbGUubG9nKCdbS2lsbEFkQmxvY2tdWycrbWV0aG9kKyddICcrbWVzc2FnZSk7DQogICAgICAgIH07DQogICAgICAgIA0KICAgICAgICBLaWxsQWRCbG9jay5wcm90b3R5cGUuc2V0T3B0aW9uID0gZnVuY3Rpb24ob3B0aW9ucywgdmFsdWUpIHsNCiAgICAgICAgICAgIGlmKHZhbHVlICE9PSB1bmRlZmluZWQpIHsNCiAgICAgICAgICAgICAgICB2YXIga2V5ID0gb3B0aW9uczsNCiAgICAgICAgICAgICAgICBvcHRpb25zID0ge307DQogICAgICAgICAgICAgICAgb3B0aW9uc1trZXldID0gdmFsdWU7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBmb3IodmFyIG9wdGlvbiBpbiBvcHRpb25zKSB7DQogICAgICAgICAgICAgICAgdGhpcy5fb3B0aW9uc1tvcHRpb25dID0gb3B0aW9uc1tvcHRpb25dOw0KICAgICAgICAgICAgICAgIGlmKHRoaXMuX29wdGlvbnMuZGVidWcgPT09IHRydWUpIHsNCiAgICAgICAgICAgICAgICAgICAgdGhpcy5fbG9nKCdzZXRPcHRpb24nLCAnVGhlIG9wdGlvbiAiJytvcHRpb24rJyIgaGUgd2FzIGFzc2lnbmVkIHRvICInK29wdGlvbnNbb3B0aW9uXSsnIicpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHJldHVybiB0aGlzOw0KICAgICAgICB9Ow0KICAgICAgICANCiAgICAgICAgS2lsbEFkQmxvY2sucHJvdG90eXBlLl9jcmVhdEJhaXQgPSBmdW5jdGlvbigpIHsNCiAgICAgICAgICAgIHZhciBiYWl0ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnZGl2Jyk7DQogICAgICAgICAgICAgICAgYmFpdC5zZXRBdHRyaWJ1dGUoJ2NsYXNzJywgdGhpcy5fb3B0aW9ucy5iYWl0Q2xhc3MpOw0KICAgICAgICAgICAgICAgIGJhaXQuc2V0QXR0cmlidXRlKCdzdHlsZScsIHRoaXMuX29wdGlvbnMuYmFpdFN0eWxlKTsNCiAgICAgICAgICAgIHRoaXMuX3Zhci5iYWl0ID0gd2luZG93LmRvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQoYmFpdCk7DQogICAgICAgICAgICANCiAgICAgICAgICAgIHRoaXMuX3Zhci5iYWl0Lm9mZnNldFBhcmVudDsNCiAgICAgICAgICAgIHRoaXMuX3Zhci5iYWl0Lm9mZnNldEhlaWdodDsNCiAgICAgICAgICAgIHRoaXMuX3Zhci5iYWl0Lm9mZnNldExlZnQ7DQogICAgICAgICAgICB0aGlzLl92YXIuYmFpdC5vZmZzZXRUb3A7DQogICAgICAgICAgICB0aGlzLl92YXIuYmFpdC5vZmZzZXRXaWR0aDsNCiAgICAgICAgICAgIHRoaXMuX3Zhci5iYWl0LmNsaWVudEhlaWdodDsNCiAgICAgICAgICAgIHRoaXMuX3Zhci5iYWl0LmNsaWVudFdpZHRoOw0KICAgICAgICAgICAgDQogICAgICAgICAgICBpZih0aGlzLl9vcHRpb25zLmRlYnVnID09PSB0cnVlKSB7DQogICAgICAgICAgICAgICAgdGhpcy5fbG9nKCdfY3JlYXRCYWl0JywgJ0JhaXQgaGFzIGJlZW4gY3JlYXRlZCcpOw0KICAgICAgICAgICAgfQ0KICAgICAgICB9Ow0KICAgICAgICBLaWxsQWRCbG9jay5wcm90b3R5cGUuX2Rlc3Ryb3lCYWl0ID0gZnVuY3Rpb24oKSB7DQogICAgICAgICAgICB3aW5kb3cuZG9jdW1lbnQuYm9keS5yZW1vdmVDaGlsZCh0aGlzLl92YXIuYmFpdCk7DQogICAgICAgICAgICB0aGlzLl92YXIuYmFpdCA9IG51bGw7DQogICAgICAgICAgICANCiAgICAgICAgICAgIGlmKHRoaXMuX29wdGlvbnMuZGVidWcgPT09IHRydWUpIHsNCiAgICAgICAgICAgICAgICB0aGlzLl9sb2coJ19kZXN0cm95QmFpdCcsICdCYWl0IGhhcyBiZWVuIHJlbW92ZWQnKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfTsNCiAgICAgICAgDQogICAgICAgIEtpbGxBZEJsb2NrLnByb3RvdHlwZS5jaGVjayA9IGZ1bmN0aW9uKGxvb3ApIHsNCiAgICAgICAgICAgIGlmKGxvb3AgPT09IHVuZGVmaW5lZCkgew0KICAgICAgICAgICAgICAgIGxvb3AgPSB0cnVlOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgDQogICAgICAgICAgICBpZih0aGlzLl9vcHRpb25zLmRlYnVnID09PSB0cnVlKSB7DQogICAgICAgICAgICAgICAgdGhpcy5fbG9nKCdjaGVjaycsICdBbiBhdWRpdCB3YXMgcmVxdWVzdGVkICcrKGxvb3A9PT10cnVlPyd3aXRoIGEnOid3aXRob3V0JykrJyBsb29wJyk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICANCiAgICAgICAgICAgIGlmKHRoaXMuX3Zhci5jaGVja2luZyA9PT0gdHJ1ZSkgew0KICAgICAgICAgICAgICAgIGlmKHRoaXMuX29wdGlvbnMuZGVidWcgPT09IHRydWUpIHsNCiAgICAgICAgICAgICAgICAgICAgdGhpcy5fbG9nKCdjaGVjaycsICdBIGNoZWNrIHdhcyBjYW5jZWxlZCBiZWNhdXNlIHRoZXJlIGlzIGFscmVhZHkgYW4gb25nb2luZycpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7DQogICAgICAgICAgICB9DQogICAgICAgICAgICB0aGlzLl92YXIuY2hlY2tpbmcgPSB0cnVlOw0KICAgICAgICAgICAgDQogICAgICAgICAgICBpZih0aGlzLl92YXIuYmFpdCA9PT0gbnVsbCkgew0KICAgICAgICAgICAgICAgIHRoaXMuX2NyZWF0QmFpdCgpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgDQogICAgICAgICAgICB2YXIgc2VsZiA9IHRoaXM7DQogICAgICAgICAgICB0aGlzLl92YXIubG9vcE51bWJlciA9IDA7DQogICAgICAgICAgICBpZihsb29wID09PSB0cnVlKSB7DQogICAgICAgICAgICAgICAgdGhpcy5fdmFyLmxvb3AgPSBzZXRJbnRlcnZhbChmdW5jdGlvbigpIHsNCiAgICAgICAgICAgICAgICAgICAgc2VsZi5fY2hlY2tCYWl0KGxvb3ApOw0KICAgICAgICAgICAgICAgIH0sIHRoaXMuX29wdGlvbnMubG9vcENoZWNrVGltZSk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgew0KICAgICAgICAgICAgICAgIHNlbGYuX2NoZWNrQmFpdChsb29wKTsNCiAgICAgICAgICAgIH0sIDEpOw0KICAgICAgICAgICAgaWYodGhpcy5fb3B0aW9ucy5kZWJ1ZyA9PT0gdHJ1ZSkgew0KICAgICAgICAgICAgICAgIHRoaXMuX2xvZygnY2hlY2snLCAnQSBjaGVjayBpcyBpbiBwcm9ncmVzcyAuLi4nKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIA0KICAgICAgICAgICAgcmV0dXJuIHRydWU7DQogICAgICAgIH07DQogICAgICAgIEtpbGxBZEJsb2NrLnByb3RvdHlwZS5fY2hlY2tCYWl0ID0gZnVuY3Rpb24obG9vcCkgew0KICAgICAgICAgICAgdmFyIGRldGVjdGVkID0gZmFsc2U7DQogICAgICAgICAgICANCiAgICAgICAgICAgIGlmKHRoaXMuX3Zhci5iYWl0ID09PSBudWxsKSB7DQogICAgICAgICAgICAgICAgdGhpcy5fY3JlYXRCYWl0KCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICANCiAgICAgICAgICAgIGlmKHdpbmRvdy5kb2N1bWVudC5ib2R5LmdldEF0dHJpYnV0ZSgnYWJwJykgIT09IG51bGwNCiAgICAgICAgICAgIHx8IHRoaXMuX3Zhci5iYWl0Lm9mZnNldFBhcmVudCA9PT0gbnVsbA0KICAgICAgICAgICAgfHwgdGhpcy5fdmFyLmJhaXQub2Zmc2V0SGVpZ2h0ID09IDANCiAgICAgICAgICAgIHx8IHRoaXMuX3Zhci5iYWl0Lm9mZnNldExlZnQgPT0gMA0KICAgICAgICAgICAgfHwgdGhpcy5fdmFyLmJhaXQub2Zmc2V0VG9wID09IDANCiAgICAgICAgICAgIHx8IHRoaXMuX3Zhci5iYWl0Lm9mZnNldFdpZHRoID09IDANCiAgICAgICAgICAgIHx8IHRoaXMuX3Zhci5iYWl0LmNsaWVudEhlaWdodCA9PSAwDQogICAgICAgICAgICB8fCB0aGlzLl92YXIuYmFpdC5jbGllbnRXaWR0aCA9PSAwKSB7DQogICAgICAgICAgICAgICAgZGV0ZWN0ZWQgPSB0cnVlOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgaWYod2luZG93LmdldENvbXB1dGVkU3R5bGUgIT09IHVuZGVmaW5lZCkgew0KICAgICAgICAgICAgICAgIHZhciBiYWl0VGVtcCA9IHdpbmRvdy5nZXRDb21wdXRlZFN0eWxlKHRoaXMuX3Zhci5iYWl0LCBudWxsKTsNCiAgICAgICAgICAgICAgICBpZihiYWl0VGVtcC5nZXRQcm9wZXJ0eVZhbHVlKCdkaXNwbGF5JykgPT0gJ25vbmUnDQogICAgICAgICAgICAgICAgfHwgYmFpdFRlbXAuZ2V0UHJvcGVydHlWYWx1ZSgndmlzaWJpbGl0eScpID09ICdoaWRkZW4nKSB7DQogICAgICAgICAgICAgICAgICAgIGRldGVjdGVkID0gdHJ1ZTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICANCiAgICAgICAgICAgIGlmKHRoaXMuX29wdGlvbnMuZGVidWcgPT09IHRydWUpIHsNCiAgICAgICAgICAgICAgICB0aGlzLl9sb2coJ19jaGVja0JhaXQnLCAnQSBjaGVjayAoJysodGhpcy5fdmFyLmxvb3BOdW1iZXIrMSkrJy8nK3RoaXMuX29wdGlvbnMubG9vcE1heE51bWJlcisnIH4nKygxK3RoaXMuX3Zhci5sb29wTnVtYmVyKnRoaXMuX29wdGlvbnMubG9vcENoZWNrVGltZSkrJ21zKSB3YXMgY29uZHVjdGVkIGFuZCBkZXRlY3Rpb24gaXMgJysoZGV0ZWN0ZWQ9PT10cnVlPydwb3NpdGl2ZSc6J25lZ2F0aXZlJykpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgDQogICAgICAgICAgICBpZihsb29wID09PSB0cnVlKSB7DQogICAgICAgICAgICAgICAgdGhpcy5fdmFyLmxvb3BOdW1iZXIrKzsNCiAgICAgICAgICAgICAgICBpZih0aGlzLl92YXIubG9vcE51bWJlciA+PSB0aGlzLl9vcHRpb25zLmxvb3BNYXhOdW1iZXIpIHsNCiAgICAgICAgICAgICAgICAgICAgdGhpcy5fc3RvcExvb3AoKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICANCiAgICAgICAgICAgIGlmKGRldGVjdGVkID09PSB0cnVlKSB7DQogICAgICAgICAgICAgICAgdGhpcy5fc3RvcExvb3AoKTsNCiAgICAgICAgICAgICAgICB0aGlzLl9kZXN0cm95QmFpdCgpOw0KICAgICAgICAgICAgICAgIHRoaXMuZW1pdEV2ZW50KHRydWUpOw0KICAgICAgICAgICAgICAgIGlmKGxvb3AgPT09IHRydWUpIHsNCiAgICAgICAgICAgICAgICAgICAgdGhpcy5fdmFyLmNoZWNraW5nID0gZmFsc2U7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfSBlbHNlIGlmKHRoaXMuX3Zhci5sb29wID09PSBudWxsIHx8IGxvb3AgPT09IGZhbHNlKSB7DQogICAgICAgICAgICAgICAgdGhpcy5fZGVzdHJveUJhaXQoKTsNCiAgICAgICAgICAgICAgICB0aGlzLmVtaXRFdmVudChmYWxzZSk7DQogICAgICAgICAgICAgICAgaWYobG9vcCA9PT0gdHJ1ZSkgew0KICAgICAgICAgICAgICAgICAgICB0aGlzLl92YXIuY2hlY2tpbmcgPSBmYWxzZTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgIH07DQogICAgICAgIEtpbGxBZEJsb2NrLnByb3RvdHlwZS5fc3RvcExvb3AgPSBmdW5jdGlvbihkZXRlY3RlZCkgew0KICAgICAgICAgICAgY2xlYXJJbnRlcnZhbCh0aGlzLl92YXIubG9vcCk7DQogICAgICAgICAgICB0aGlzLl92YXIubG9vcCA9IG51bGw7DQogICAgICAgICAgICB0aGlzLl92YXIubG9vcE51bWJlciA9IDA7DQogICAgICAgICAgICANCiAgICAgICAgICAgIGlmKHRoaXMuX29wdGlvbnMuZGVidWcgPT09IHRydWUpIHsNCiAgICAgICAgICAgICAgICB0aGlzLl9sb2coJ19zdG9wTG9vcCcsICdBIGxvb3AgaGFzIGJlZW4gc3RvcHBlZCcpOw0KICAgICAgICAgICAgfQ0KICAgICAgICB9Ow0KICAgICAgICANCiAgICAgICAgS2lsbEFkQmxvY2sucHJvdG90eXBlLmVtaXRFdmVudCA9IGZ1bmN0aW9uKGRldGVjdGVkKSB7DQogICAgICAgICAgICBpZih0aGlzLl9vcHRpb25zLmRlYnVnID09PSB0cnVlKSB7DQogICAgICAgICAgICAgICAgdGhpcy5fbG9nKCdlbWl0RXZlbnQnLCAnQW4gZXZlbnQgd2l0aCBhICcrKGRldGVjdGVkPT09dHJ1ZT8ncG9zaXRpdmUnOiduZWdhdGl2ZScpKycgZGV0ZWN0aW9uIHdhcyBjYWxsZWQnKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIA0KICAgICAgICAgICAgdmFyIGZucyA9IHRoaXMuX3Zhci5ldmVudFsoZGV0ZWN0ZWQ9PT10cnVlPydkZXRlY3RlZCc6J25vdERldGVjdGVkJyldOw0KICAgICAgICAgICAgZm9yKHZhciBpIGluIGZucykgew0KICAgICAgICAgICAgICAgIGlmKHRoaXMuX29wdGlvbnMuZGVidWcgPT09IHRydWUpIHsNCiAgICAgICAgICAgICAgICAgICAgdGhpcy5fbG9nKCdlbWl0RXZlbnQnLCAnQ2FsbCBmdW5jdGlvbiAnKyhwYXJzZUludChpKSsxKSsnLycrZm5zLmxlbmd0aCk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGlmKGZucy5oYXNPd25Qcm9wZXJ0eShpKSkgew0KICAgICAgICAgICAgICAgICAgICBmbnNbaV0oKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9DQogICAgICAgICAgICBpZih0aGlzLl9vcHRpb25zLnJlc2V0T25FbmQgPT09IHRydWUpIHsNCiAgICAgICAgICAgICAgICB0aGlzLmNsZWFyRXZlbnQoKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHJldHVybiB0aGlzOw0KICAgICAgICB9Ow0KICAgICAgICBLaWxsQWRCbG9jay5wcm90b3R5cGUuY2xlYXJFdmVudCA9IGZ1bmN0aW9uKCkgew0KICAgICAgICAgICAgdGhpcy5fdmFyLmV2ZW50LmRldGVjdGVkID0gW107DQogICAgICAgICAgICB0aGlzLl92YXIuZXZlbnQubm90RGV0ZWN0ZWQgPSBbXTsNCiAgICAgICAgICAgIA0KICAgICAgICAgICAgaWYodGhpcy5fb3B0aW9ucy5kZWJ1ZyA9PT0gdHJ1ZSkgew0KICAgICAgICAgICAgICAgIHRoaXMuX2xvZygnY2xlYXJFdmVudCcsICdUaGUgZXZlbnQgbGlzdCBoYXMgYmVlbiBjbGVhcmVkJyk7DQogICAgICAgICAgICB9DQogICAgICAgIH07DQogICAgICAgIA0KICAgICAgICBLaWxsQWRCbG9jay5wcm90b3R5cGUub24gPSBmdW5jdGlvbihkZXRlY3RlZCwgZm4pIHsNCiAgICAgICAgICAgIHRoaXMuX3Zhci5ldmVudFsoZGV0ZWN0ZWQ9PT10cnVlPydkZXRlY3RlZCc6J25vdERldGVjdGVkJyldLnB1c2goZm4pOw0KICAgICAgICAgICAgaWYodGhpcy5fb3B0aW9ucy5kZWJ1ZyA9PT0gdHJ1ZSkgew0KICAgICAgICAgICAgICAgIHRoaXMuX2xvZygnb24nLCAnQSB0eXBlIG9mIGV2ZW50ICInKyhkZXRlY3RlZD09PXRydWU/J2RldGVjdGVkJzonbm90RGV0ZWN0ZWQnKSsnIiB3YXMgYWRkZWQnKTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIA0KICAgICAgICAgICAgcmV0dXJuIHRoaXM7DQogICAgICAgIH07DQogICAgICAgIEtpbGxBZEJsb2NrLnByb3RvdHlwZS5vbkRldGVjdGVkID0gZnVuY3Rpb24oZm4pIHsNCiAgICAgICAgICAgIHJldHVybiB0aGlzLm9uKHRydWUsIGZuKTsNCiAgICAgICAgfTsNCiAgICAgICAgS2lsbEFkQmxvY2sucHJvdG90eXBlLm9uTm90RGV0ZWN0ZWQgPSBmdW5jdGlvbihmbikgew0KICAgICAgICAgICAgcmV0dXJuIHRoaXMub24oZmFsc2UsIGZuKTsNCiAgICAgICAgfTsNCiAgICAgICAgDQogICAgICAgIHdpbmRvdy5LaWxsQWRCbG9jayA9IEtpbGxBZEJsb2NrOw0KICAgICAgICANCiAgICAgICAgaWYod2luZG93LmtpbGxBZEJsb2NrID09PSB1bmRlZmluZWQpIHsNCiAgICAgICAgICAgIHdpbmRvdy5raWxsQWRCbG9jayA9IG5ldyBLaWxsQWRCbG9jayh7DQogICAgICAgICAgICAgICAgY2hlY2tPbkxvYWQ6IHRydWUsDQogICAgICAgICAgICAgICAgcmVzZXRPbkVuZDogdHJ1ZQ0KICAgICAgICAgICAgfSk7DQogICAgICAgIH0NCiAgICB9KSh3aW5kb3cpOw0KICAgIGZ1bmN0aW9uIHNob3dfbWVzc2FnZSgpDQogICAgew0KICAgICAgICBraWxsX2FkQmxvY2tfbWVzc2FnZV9kZWxheSA9IGtpbGxfYWRCbG9ja19tZXNzYWdlX2RlbGF5ICogMTAwMDsNCiAgICAgICAga2lsbF9hZEJsb2NrX2Nsb3NlX2F1dG9tYXRpY2FsbHlfZGVsYXkgP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tuXS5xfHxbXSkucHVzaChhcmd1bWVudHMpfX0pKHdpbmRvdywiYWRtaXJhbCIpOyEoZnVuY3Rpb24obixlLHIsdCl7ZnVuY3Rpb24gbygpe2lmKChmdW5jdGlvbiBvKHQpe3RyeXtyZXR1cm4odD1sb2NhbFN0b3JhZ2UuZ2V0SXRlbSgidjRhYzFlaVpyMCIpKSYmMDx0LnNwbGl0KCIsIilbNF19Y2F0Y2gobil7fXJldHVybiExfSkoKSl7dmFyIHQ9bltlXS5wdWJhZHMoKTt0eXBlb2YgdC5zZXRUYXJnZXRpbmc9PT1yJiZ0LnNldFRhcmdldGluZygiYWRtaXJhbC1lbmdhZ2VkIiwidHJ1ZSIpfX0odD1uW2VdPW5bZV18fHt9KS5jbWQ9dC5jbWR8fFtdLHR5cGVvZiB0LnB1YmFkcz09PXI/bygpOnR5cGVvZiB0LmNtZC51bnNoaWZ0PT09cj90LmNtZC51bnNoaWZ0KG8pOnQuY21kLnB1c2gobyl9KSh3aW5kb3csImdvb2dsZXRhZyIsImZ1bmN0aW9uIik7 |
data:text/javascript;base64,d2luZG93LnlhQ29udGV4dENiID0gd2luZG93LnlhQ29udGV4dENiIHx8IFtd |
data:text/javascript;base64,d2luZG93LnlhQ29udGV4dENiLnB1c2goKCk9PnsNCiAgWWEuQ29udGV4dC5BZHZNYW5hZ2VyLnJlbmRlcih7DQogICAgcmVuZGVyVG86ICd5YW5kZXhfcnRiX1ItQS0yOTQ0OTktMScsDQogICAgYmxvY2tJZDogJ1ItQS0yOTQ0OTktMScNCiAgfSkNCn0p |
data:text/javascript;base64,dmFyIGFqYXh1cmwgPSAnaHR0cHM6Ly9uYXBvbGkud3Mvd3AtYWRtaW4vYWRtaW4tYWpheC5waHAnOw== |
https://napoli.ws/wp-content/cache/autoptimize/js/autoptimize_single_19582be47be1e4afc21251ba31d98934.js |
https://napoli.ws/wp-content/cache/autoptimize/js/autoptimize_single_1accab4928bd9ca096570441930d8c08.js |
https://napoli.ws/wp-content/plugins/autoptimize/classes/external/js/lazysizes.min.js |
https://napoli.ws/wp-content/plugins/buddypress/bp-core/js/confirm.min.js |
https://napoli.ws/wp-content/plugins/buddypress/bp-core/js/jquery-query.min.js |
https://napoli.ws/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-cookie.min.js |
https://napoli.ws/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-scroll-to.min.js |
https://napoli.ws/wp-content/plugins/buddypress/bp-core/js/widget-members.min.js |
https://napoli.ws/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js |
https://napoli.ws/wp-includes/js/jquery/jquery-migrate.min.js |
https://napoli.ws/wp-includes/js/jquery/jquery.min.js |
https://vk.com/js/api/openapi.js?159 |
https://w.uptolike.com/widgets/v1/zp.js?pid=1581766 |
https://w.uptolike.com/widgets/v1/zp.js?pid=lfcc6803d56637152ae6ee8497f0f7ec216ef07788 |
https://yandex.ru/ads/system/context.js |