403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/landing/animation/copilot/dist/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/landing/animation/copilot/dist/copilot.bundle.js
/* eslint-disable */
this.BX = this.BX || {};
this.BX.Landing = this.BX.Landing || {};
(function (exports,pull_client,landing_pageobject,landing_ui_copilot_skeleton,main_core_events,ui_lottie,main_core,ui_confetti) {
	'use strict';

	var fr = 60;
	var v = "5.9.6";
	var ip = 0;
	var op = 70.628;
	var w = 204;
	var h = 203;
	var nm = "  Animation loader";
	var ddd = 0;
	var markers = [];
	var assets = [{
	  nm: "[FRAME]   Animation loader - Null / stars - Null / Vector - Null / Vector",
	  fr: 60,
	  id: "m35r0z73r143b1j8",
	  layers: [{
	    ty: 3,
	    ddd: 0,
	    ind: 10,
	    hd: false,
	    nm: "  Animation loader - Null",
	    sr: 1,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 3,
	    ddd: 0,
	    ind: 11,
	    hd: false,
	    nm: "stars - Null",
	    sr: 1,
	    parent: 10,
	    ks: {
	      a: {
	        a: 0,
	        k: [102, 101.5]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [101.0001, 101.4063]
	      },
	      r: {
	        a: 1,
	        k: [{
	          t: -16.727999999999998,
	          s: [0],
	          o: {
	            x: [0.5],
	            y: [0.25]
	          },
	          i: {
	            x: [0.15],
	            y: [1]
	          }
	        }, {
	          t: 0,
	          s: [0],
	          o: {
	            x: [0],
	            y: [0]
	          },
	          i: {
	            x: [1],
	            y: [1]
	          }
	        }, {
	          t: 71.16,
	          s: [360]
	        }]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 3,
	    ddd: 0,
	    ind: 12,
	    hd: false,
	    nm: "Vector - Null",
	    sr: 1,
	    parent: 11,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [165.7158, 115.0313]
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 4,
	    ddd: 0,
	    ind: 13,
	    hd: false,
	    nm: "Vector",
	    sr: 1,
	    parent: 12,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      o: {
	        a: 0,
	        k: 100
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0,
	    shapes: [{
	      ty: "gr",
	      nm: "Group",
	      hd: false,
	      np: 4,
	      it: [{
	        ty: "sh",
	        nm: "Path",
	        hd: false,
	        ks: {
	          a: 0,
	          k: {
	            c: true,
	            v: [[21.711, 17.7266], [20.0032, 19.4344], [18.2954, 17.7266], [20.0032, 16.0188], [21.711, 17.7266], [21.711, 17.7266]],
	            i: [[0, 0], [0.9432, 0], [0, 0.9432], [-0.9432, 0], [0, -0.9432], [0, 0]],
	            o: [[0, 0.9431800000000017], [-0.9431800000000017, 0], [0, -0.9431800000000017], [0.9431800000000017, 0], [0, 0], [0, 0]]
	          }
	        }
	      }, {
	        ty: "sh",
	        nm: "Path",
	        hd: false,
	        ks: {
	          a: 0,
	          k: {
	            c: true,
	            v: [[8.2246, 16.7564], [9.1181, 16.7569], [11.1261, 11.2286], [11.4137, 10.9461], [17.0367, 8.9773], [17.0372, 8.0985], [11.4164, 6.1234], [11.1291, 5.8406], [9.1273, 0.3101], [8.2338, 0.3096], [6.2258, 5.8379], [5.9382, 6.1204], [0.3152, 8.0892], [0.3147, 8.968], [5.9355, 10.9431], [6.2228, 11.2259], [8.2246, 16.7564]],
	            i: [[0, 0], [-0.15, 0.413], [0, 0], [-0.1341, 0.047], [0, 0], [0.4199, 0.1476], [0, 0], [0.0477, 0.1319], [0, 0], [0.15, -0.413], [0, 0], [0.1341, -0.047], [0, 0], [-0.4199, -0.1476], [0, 0], [-0.0477, -0.1319], [0, 0]],
	            o: [[0.14954, 0.4131399999999985], [0, 0], [0.047890000000000654, -0.13185000000000002], [0, 0], [0.4200499999999998, -0.14706999999999937], [0, 0], [-0.13405999999999985, -0.047109999999999985], [0, 0], [-0.14954, -0.41314], [0, 0], [-0.047889999999999766, 0.13185000000000002], [0, 0], [-0.42005, 0.14706999999999937], [0, 0], [0.13405999999999985, 0.047109999999999985], [0, 0], [0, 0]]
	          }
	        }
	      }, {
	        ty: "fl",
	        o: {
	          a: 0,
	          k: 100
	        },
	        c: {
	          a: 0,
	          k: [0.9686274509803922, 0.9529411764705882, 0.9921568627450981, 1]
	        },
	        nm: "Fill",
	        hd: false,
	        r: 1
	      }, {
	        ty: "tr",
	        a: {
	          a: 0,
	          k: [0, 0]
	        },
	        p: {
	          a: 0,
	          k: [0, 0]
	        },
	        s: {
	          a: 0,
	          k: [100, 100]
	        },
	        sk: {
	          a: 0,
	          k: 0
	        },
	        sa: {
	          a: 0,
	          k: 0
	        },
	        r: {
	          a: 0,
	          k: 0
	        },
	        o: {
	          a: 0,
	          k: 100
	        }
	      }]
	    }]
	  }]
	}, {
	  nm: "[FRAME]   Animation loader - Null / oval - Null / oval - Null / oval",
	  fr: 60,
	  id: "m35r0z75fww0my2n",
	  layers: [{
	    ty: 3,
	    ddd: 0,
	    ind: 14,
	    hd: false,
	    nm: "  Animation loader - Null",
	    sr: 1,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 3,
	    ddd: 0,
	    ind: 15,
	    hd: false,
	    nm: "oval - Null",
	    sr: 1,
	    parent: 14,
	    ks: {
	      a: {
	        a: 0,
	        k: [102, 101.5]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [101.0001, 101.4063]
	      },
	      r: {
	        a: 1,
	        k: [{
	          t: -16.727999999999998,
	          s: [0],
	          o: {
	            x: [0.5],
	            y: [0.25]
	          },
	          i: {
	            x: [0.15],
	            y: [1]
	          }
	        }, {
	          t: 0,
	          s: [0],
	          o: {
	            x: [0],
	            y: [0]
	          },
	          i: {
	            x: [1],
	            y: [1]
	          }
	        }, {
	          t: 71.16,
	          s: [360]
	        }]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 3,
	    ddd: 0,
	    ind: 16,
	    hd: false,
	    nm: "oval - Null",
	    sr: 1,
	    parent: 15,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [86.3242, 4.293]
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 4,
	    ddd: 0,
	    ind: 17,
	    hd: false,
	    nm: "oval",
	    sr: 1,
	    parent: 16,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      o: {
	        a: 0,
	        k: 100
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0,
	    shapes: [{
	      ty: "gr",
	      nm: "Group",
	      hd: false,
	      np: 3,
	      it: [{
	        ty: "sh",
	        nm: "Path",
	        hd: false,
	        ks: {
	          a: 0,
	          k: {
	            c: true,
	            v: [[0, 17.6186], [17.6186, 0], [113.5303, 95.9117], [109.5615, 121.8772], [107.9487, 126.3115], [105.7857, 130.5003], [103.103, 134.3794], [99.946, 137.8856], [83.9896, 141.0517], [74.4116, 125.6778], [74.3986, 121.9659], [74.6927, 118.2672], [75.2902, 114.6046], [76.1832, 111.0008], [78.2931, 95.9117], [17.6186, 35.2372], [0, 17.6186], [0, 17.6186], [0, 17.6186]],
	            i: [[0, 0], [-9.7305, 0], [0, -52.9705], [0.4658, -1.5912], [0.6632, -1.5181], [0.8533, -1.4202], [1.0293, -1.2996], [1.1873, -1.1574], [9.0499, 3.5752], [0.0584, 1.304], [-0.0497, 1.3043], [-0.1582, 1.2957], [-0.2627, 1.2778], [-0.3675, 1.251], [0, 7.8996], [33.5096, 0], [0, 9.7305], [0, 0], [0, 0]],
	            o: [[0, -9.7305], [52.9705, 0], [0, 12.403899999999993], [-0.46580000000000155, 1.5912000000000006], [-0.6632000000000033, 1.518100000000004], [-0.8533000000000044, 1.4201999999999941], [-1.0293000000000063, 1.299599999999998], [-1.1872999999999934, 1.1573999999999955], [-9.049899999999994, -3.5751999999999953], [-0.058400000000006, -1.304000000000002], [0.04970000000000141, -1.3042999999999978], [0.15819999999999368, -1.2956999999999965], [0.26269999999999527, -1.2777999999999992], [0.3675000000000068, -1.2510000000000048], [0, -33.5096], [-9.7305, 0], [0, 0], [0, 0], [0, 0]]
	          }
	        }
	      }, {
	        ty: "gf",
	        o: {
	          a: 0,
	          k: 100
	        },
	        g: {
	          p: 2,
	          k: {
	            a: 0,
	            k: [0, 1, 1, 1, 1, 0.5568627450980392, 0.3215686274509804, 0.9254901960784314, 0, 0.5, 1, 0.95]
	          }
	        },
	        s: {
	          a: 0,
	          k: [14.175785362048863, 20.300787185678207]
	        },
	        e: {
	          a: 0,
	          k: [81.67580974197007, 132.8008054672568]
	        },
	        t: 1,
	        nm: "Fill",
	        hd: false,
	        r: 2
	      }, {
	        ty: "tr",
	        a: {
	          a: 0,
	          k: [0, 0]
	        },
	        p: {
	          a: 0,
	          k: [0, 0]
	        },
	        s: {
	          a: 0,
	          k: [100, 100]
	        },
	        sk: {
	          a: 0,
	          k: 0
	        },
	        sa: {
	          a: 0,
	          k: 0
	        },
	        r: {
	          a: 0,
	          k: 0
	        },
	        o: {
	          a: 0,
	          k: 100
	        }
	      }]
	    }]
	  }]
	}, {
	  nm: "[FRAME]   Animation loader - Null / stars / oval",
	  fr: 60,
	  id: "m35r0z73nx81mtnw",
	  layers: [{
	    ty: 3,
	    ddd: 0,
	    ind: 18,
	    hd: false,
	    nm: "  Animation loader - Null",
	    sr: 1,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ddd: 0,
	    ind: 19,
	    ty: 0,
	    nm: "stars",
	    refId: "m35r0z73r143b1j8",
	    sr: 1,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      o: {
	        a: 0,
	        k: 100
	      }
	    },
	    ao: 0,
	    w: 204,
	    h: 203,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    hd: false,
	    bm: 0
	  }, {
	    ddd: 0,
	    ind: 20,
	    ty: 0,
	    nm: "oval",
	    refId: "m35r0z75fww0my2n",
	    sr: 1,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      o: {
	        a: 0,
	        k: 100
	      }
	    },
	    ao: 0,
	    w: 204,
	    h: 203,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    hd: false,
	    bm: 0
	  }]
	}];
	var layers = [{
	  ddd: 0,
	  ind: 1,
	  ty: 0,
	  nm: "  Animation loader",
	  refId: "m35r0z73nx81mtnw",
	  sr: 1,
	  ks: {
	    a: {
	      a: 0,
	      k: [0, 0]
	    },
	    p: {
	      a: 0,
	      k: [0, 0]
	    },
	    s: {
	      a: 0,
	      k: [100, 100]
	    },
	    sk: {
	      a: 0,
	      k: 0
	    },
	    sa: {
	      a: 0,
	      k: 0
	    },
	    r: {
	      a: 0,
	      k: 0
	    },
	    o: {
	      a: 0,
	      k: 100
	    }
	  },
	  ao: 0,
	  w: 204,
	  h: 203,
	  ip: 0,
	  op: 71.628,
	  st: 0,
	  hd: false,
	  bm: 0
	}];
	var meta = {
	  a: "",
	  d: "",
	  tc: "",
	  g: "Aninix"
	};
	var loaderAnimation = {
	  fr: fr,
	  v: v,
	  ip: ip,
	  op: op,
	  w: w,
	  h: h,
	  nm: nm,
	  ddd: ddd,
	  markers: markers,
	  assets: assets,
	  layers: layers,
	  meta: meta
	};

	var fr$1 = 60;
	var v$1 = "5.9.6";
	var ip$1 = 0;
	var op$1 = 70.628;
	var w$1 = 204;
	var h$1 = 203;
	var nm$1 = "  Animation loader";
	var ddd$1 = 0;
	var markers$1 = [];
	var assets$1 = [{
	  nm: "[FRAME]   Animation loader - Null / stars - Null / Vector - Null / Vector",
	  fr: 60,
	  id: "m35r0z73r143b1j8",
	  layers: [{
	    ty: 3,
	    ddd: 0,
	    ind: 10,
	    hd: false,
	    nm: "  Animation loader - Null",
	    sr: 1,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 3,
	    ddd: 0,
	    ind: 11,
	    hd: false,
	    nm: "stars - Null",
	    sr: 1,
	    parent: 10,
	    ks: {
	      a: {
	        a: 0,
	        k: [102, 101.5]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [101.0001, 101.4063]
	      },
	      r: {
	        a: 1,
	        k: [{
	          t: -16.727999999999998,
	          s: [0],
	          o: {
	            x: [0.5],
	            y: [0.25]
	          },
	          i: {
	            x: [0.15],
	            y: [1]
	          }
	        }, {
	          t: 0,
	          s: [0],
	          o: {
	            x: [0],
	            y: [0]
	          },
	          i: {
	            x: [1],
	            y: [1]
	          }
	        }, {
	          t: 71.16,
	          s: [360]
	        }]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 3,
	    ddd: 0,
	    ind: 12,
	    hd: false,
	    nm: "Vector - Null",
	    sr: 1,
	    parent: 11,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [165.7158, 115.0313]
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 4,
	    ddd: 0,
	    ind: 13,
	    hd: false,
	    nm: "Vector",
	    sr: 1,
	    parent: 12,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      o: {
	        a: 0,
	        k: 100
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0,
	    shapes: [{
	      ty: "gr",
	      nm: "Group",
	      hd: false,
	      np: 4,
	      it: [{
	        ty: "sh",
	        nm: "Path",
	        hd: false,
	        ks: {
	          a: 0,
	          k: {
	            c: true,
	            v: [[21.711, 17.7266], [20.0032, 19.4344], [18.2954, 17.7266], [20.0032, 16.0188], [21.711, 17.7266], [21.711, 17.7266]],
	            i: [[0, 0], [0.9432, 0], [0, 0.9432], [-0.9432, 0], [0, -0.9432], [0, 0]],
	            o: [[0, 0.9431800000000017], [-0.9431800000000017, 0], [0, -0.9431800000000017], [0.9431800000000017, 0], [0, 0], [0, 0]]
	          }
	        }
	      }, {
	        ty: "sh",
	        nm: "Path",
	        hd: false,
	        ks: {
	          a: 0,
	          k: {
	            c: true,
	            v: [[8.2246, 16.7564], [9.1181, 16.7569], [11.1261, 11.2286], [11.4137, 10.9461], [17.0367, 8.9773], [17.0372, 8.0985], [11.4164, 6.1234], [11.1291, 5.8406], [9.1273, 0.3101], [8.2338, 0.3096], [6.2258, 5.8379], [5.9382, 6.1204], [0.3152, 8.0892], [0.3147, 8.968], [5.9355, 10.9431], [6.2228, 11.2259], [8.2246, 16.7564]],
	            i: [[0, 0], [-0.15, 0.413], [0, 0], [-0.1341, 0.047], [0, 0], [0.4199, 0.1476], [0, 0], [0.0477, 0.1319], [0, 0], [0.15, -0.413], [0, 0], [0.1341, -0.047], [0, 0], [-0.4199, -0.1476], [0, 0], [-0.0477, -0.1319], [0, 0]],
	            o: [[0.14954, 0.4131399999999985], [0, 0], [0.047890000000000654, -0.13185000000000002], [0, 0], [0.4200499999999998, -0.14706999999999937], [0, 0], [-0.13405999999999985, -0.047109999999999985], [0, 0], [-0.14954, -0.41314], [0, 0], [-0.047889999999999766, 0.13185000000000002], [0, 0], [-0.42005, 0.14706999999999937], [0, 0], [0.13405999999999985, 0.047109999999999985], [0, 0], [0, 0]]
	          }
	        }
	      }, {
	        ty: "fl",
	        o: {
	          a: 0,
	          k: 100
	        },
	        c: {
	          a: 0,
	          k: [0.9686274509803922, 0.9529411764705882, 0.9921568627450981, 1]
	        },
	        nm: "Fill",
	        hd: false,
	        r: 1
	      }, {
	        ty: "tr",
	        a: {
	          a: 0,
	          k: [0, 0]
	        },
	        p: {
	          a: 0,
	          k: [0, 0]
	        },
	        s: {
	          a: 0,
	          k: [100, 100]
	        },
	        sk: {
	          a: 0,
	          k: 0
	        },
	        sa: {
	          a: 0,
	          k: 0
	        },
	        r: {
	          a: 0,
	          k: 0
	        },
	        o: {
	          a: 0,
	          k: 100
	        }
	      }]
	    }]
	  }]
	}, {
	  nm: "[FRAME]   Animation loader - Null / oval - Null / oval - Null / oval",
	  fr: 60,
	  id: "m35r0z75fww0my2n",
	  layers: [{
	    ty: 3,
	    ddd: 0,
	    ind: 14,
	    hd: false,
	    nm: "  Animation loader - Null",
	    sr: 1,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 3,
	    ddd: 0,
	    ind: 15,
	    hd: false,
	    nm: "oval - Null",
	    sr: 1,
	    parent: 14,
	    ks: {
	      a: {
	        a: 0,
	        k: [102, 101.5]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [101.0001, 101.4063]
	      },
	      r: {
	        a: 1,
	        k: [{
	          t: -16.727999999999998,
	          s: [0],
	          o: {
	            x: [0.5],
	            y: [0.25]
	          },
	          i: {
	            x: [0.15],
	            y: [1]
	          }
	        }, {
	          t: 0,
	          s: [0],
	          o: {
	            x: [0],
	            y: [0]
	          },
	          i: {
	            x: [1],
	            y: [1]
	          }
	        }, {
	          t: 71.16,
	          s: [360]
	        }]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 3,
	    ddd: 0,
	    ind: 16,
	    hd: false,
	    nm: "oval - Null",
	    sr: 1,
	    parent: 15,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [86.3242, 4.293]
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ty: 4,
	    ddd: 0,
	    ind: 17,
	    hd: false,
	    nm: "oval",
	    sr: 1,
	    parent: 16,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      o: {
	        a: 0,
	        k: 100
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0,
	    shapes: [{
	      ty: "gr",
	      nm: "Group",
	      hd: false,
	      np: 3,
	      it: [{
	        ty: "sh",
	        nm: "Path",
	        hd: false,
	        ks: {
	          a: 0,
	          k: {
	            c: true,
	            v: [[0, 17.6186], [17.6186, 0], [113.5303, 95.9117], [109.5615, 121.8772], [107.9487, 126.3115], [105.7857, 130.5003], [103.103, 134.3794], [99.946, 137.8856], [83.9896, 141.0517], [74.4116, 125.6778], [74.3986, 121.9659], [74.6927, 118.2672], [75.2902, 114.6046], [76.1832, 111.0008], [78.2931, 95.9117], [17.6186, 35.2372], [0, 17.6186], [0, 17.6186], [0, 17.6186]],
	            i: [[0, 0], [-9.7305, 0], [0, -52.9705], [0.4658, -1.5912], [0.6632, -1.5181], [0.8533, -1.4202], [1.0293, -1.2996], [1.1873, -1.1574], [9.0499, 3.5752], [0.0584, 1.304], [-0.0497, 1.3043], [-0.1582, 1.2957], [-0.2627, 1.2778], [-0.3675, 1.251], [0, 7.8996], [33.5096, 0], [0, 9.7305], [0, 0], [0, 0]],
	            o: [[0, -9.7305], [52.9705, 0], [0, 12.403899999999993], [-0.46580000000000155, 1.5912000000000006], [-0.6632000000000033, 1.518100000000004], [-0.8533000000000044, 1.4201999999999941], [-1.0293000000000063, 1.299599999999998], [-1.1872999999999934, 1.1573999999999955], [-9.049899999999994, -3.5751999999999953], [-0.058400000000006, -1.304000000000002], [0.04970000000000141, -1.3042999999999978], [0.15819999999999368, -1.2956999999999965], [0.26269999999999527, -1.2777999999999992], [0.3675000000000068, -1.2510000000000048], [0, -33.5096], [-9.7305, 0], [0, 0], [0, 0], [0, 0]]
	          }
	        }
	      }, {
	        ty: "gf",
	        o: {
	          a: 0,
	          k: 100
	        },
	        g: {
	          p: 2,
	          k: {
	            a: 0,
	            k: [0, 1, 1, 1, 1, 0.5568627450980392, 0.3215686274509804, 0.9254901960784314, 0, 0.5, 1, 0.95]
	          }
	        },
	        s: {
	          a: 0,
	          k: [14.175785362048863, 20.300787185678207]
	        },
	        e: {
	          a: 0,
	          k: [81.67580974197007, 132.8008054672568]
	        },
	        t: 1,
	        nm: "Fill",
	        hd: false,
	        r: 2
	      }, {
	        ty: "tr",
	        a: {
	          a: 0,
	          k: [0, 0]
	        },
	        p: {
	          a: 0,
	          k: [0, 0]
	        },
	        s: {
	          a: 0,
	          k: [100, 100]
	        },
	        sk: {
	          a: 0,
	          k: 0
	        },
	        sa: {
	          a: 0,
	          k: 0
	        },
	        r: {
	          a: 0,
	          k: 0
	        },
	        o: {
	          a: 0,
	          k: 100
	        }
	      }]
	    }]
	  }]
	}, {
	  nm: "[FRAME]   Animation loader - Null / stars / oval",
	  fr: 60,
	  id: "m35r0z73nx81mtnw",
	  layers: [{
	    ty: 3,
	    ddd: 0,
	    ind: 18,
	    hd: false,
	    nm: "  Animation loader - Null",
	    sr: 1,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      o: {
	        a: 0,
	        k: 100
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      }
	    },
	    ao: 0,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    bm: 0
	  }, {
	    ddd: 0,
	    ind: 19,
	    ty: 0,
	    nm: "stars",
	    refId: "m35r0z73r143b1j8",
	    sr: 1,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      o: {
	        a: 0,
	        k: 100
	      }
	    },
	    ao: 0,
	    w: 204,
	    h: 203,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    hd: false,
	    bm: 0
	  }, {
	    ddd: 0,
	    ind: 20,
	    ty: 0,
	    nm: "oval",
	    refId: "m35r0z75fww0my2n",
	    sr: 1,
	    ks: {
	      a: {
	        a: 0,
	        k: [0, 0]
	      },
	      p: {
	        a: 0,
	        k: [0, 0]
	      },
	      s: {
	        a: 0,
	        k: [100, 100]
	      },
	      sk: {
	        a: 0,
	        k: 0
	      },
	      sa: {
	        a: 0,
	        k: 0
	      },
	      r: {
	        a: 0,
	        k: 0
	      },
	      o: {
	        a: 0,
	        k: 100
	      }
	    },
	    ao: 0,
	    w: 204,
	    h: 203,
	    ip: 0,
	    op: 71.628,
	    st: 0,
	    hd: false,
	    bm: 0
	  }]
	}];
	var layers$1 = [{
	  ddd: 0,
	  ind: 1,
	  ty: 0,
	  nm: "  Animation loader",
	  refId: "m35r0z73nx81mtnw",
	  sr: 1,
	  ks: {
	    a: {
	      a: 0,
	      k: [0, 0]
	    },
	    p: {
	      a: 0,
	      k: [0, 0]
	    },
	    s: {
	      a: 0,
	      k: [100, 100]
	    },
	    sk: {
	      a: 0,
	      k: 0
	    },
	    sa: {
	      a: 0,
	      k: 0
	    },
	    r: {
	      a: 0,
	      k: 0
	    },
	    o: {
	      a: 0,
	      k: 100
	    }
	  },
	  ao: 0,
	  w: 204,
	  h: 203,
	  ip: 0,
	  op: 71.628,
	  st: 0,
	  hd: false,
	  bm: 0
	}];
	var meta$1 = {
	  a: "",
	  d: "",
	  tc: "",
	  g: "Aninix"
	};
	var loaderAnimation$1 = {
	  fr: fr$1,
	  v: v$1,
	  ip: ip$1,
	  op: op$1,
	  w: w$1,
	  h: h$1,
	  nm: nm$1,
	  ddd: ddd$1,
	  markers: markers$1,
	  assets: assets$1,
	  layers: layers$1,
	  meta: meta$1
	};

	let _ = t => t,
	  _t,
	  _t2;
	class AiLoader {
	  constructor() {
	    this.container = null;
	  }
	  getContainer() {
	    if (!this.container) {
	      const loaderNode = main_core.Tag.render(_t || (_t = _`<div class="landing-ui-ai-loader__animate"></div>`));
	      ui_lottie.Lottie.loadAnimation({
	        container: loaderNode,
	        renderer: 'svg',
	        loop: true,
	        autoplay: true,
	        animationData: loaderAnimation$1
	      });
	      this.container = main_core.Tag.render(_t2 || (_t2 = _`
				<div class="landing-ui-ai-loader">
					<div class="landing-ui-ai-loader__animate">${0}</div>
					<div class="landing-ui-ai-loader__text">${0}</div>
				</div>
			`), loaderNode, main_core.Loc.getMessage('LANDING_SITE_GENERATE'));
	    }
	    return this.container;
	  }
	  open() {
	    main_core.Dom.append(this.getContainer(), document.body);
	  }
	  close() {
	    main_core.Event.bind(this.getContainer(), 'transitionend', () => {
	      this.container = null;
	      main_core.Dom.remove(this.getContainer());
	    });
	    main_core.Dom.addClass(this.getContainer(), '--close');
	  }
	}

	function load(src) {
	  return new Promise((resolve, reject) => {
	    const image = new Image();
	    main_core.bind(image, 'load', resolve);
	    main_core.bind(image, 'error', reject);
	    image.src = src;
	  });
	}

	let _$1 = t => t,
	  _t$1,
	  _t2$1,
	  _t3;
	const ANIMATION_DURATION_DELAY = 300;
	const ANIMATION_DURATION = 500;
	class Copilot extends main_core_events.EventEmitter {
	  constructor() {
	    super();
	    this.generationId = null;
	    this.setEventNamespace('BX.Landing.Animation.Copilot');
	    this.editorWindow = landing_pageobject.PageObject.getEditorWindow();
	    this.blocksData = [];
	    this.aiLoader = new AiLoader({});
	    this.mainDocumentBody = window.parent.document.body;
	    this.subscribeToPullEvents();
	  }
	  setBlocksData(blocksData) {
	    this.blocksData = blocksData;
	    return this;
	  }
	  setGenerationId(generationId) {
	    this.generationId = generationId;
	    return this;
	  }
	  getAiLoader() {
	    return this.aiLoader;
	  }
	  init() {
	    this.disableEditor();
	    if (!this.editorWindow) {
	      return;
	    }
	    this.completedBlockIds = new Set();
	    const blocks = landing_pageobject.PageObject.getBlocks();
	    this.blocksData = this.blocksData.map(blockData => {
	      const block = blocks.get(blockData.id);
	      const blockDataNew = {
	        ...blockData,
	        element: block.content,
	        anchor: block.anchor
	      };
	      landing_ui_copilot_skeleton.Skeleton.initOnBlock(blockDataNew.anchor, blockDataNew.element);
	      return blockDataNew;
	    });
	    this.replaceAllImagesToDefaultImage();
	    this.emit('init', {
	      blocksData: this.blocksData
	    });
	    this.getAiLoader().open();
	  }
	  subscribeToPullEvents() {
	    pull_client.PULL.subscribe({
	      type: pull_client.PullClient.SubscriptionType.Server,
	      moduleId: 'landing',
	      callback: event => {
	        if (event.params.generationId !== undefined && this.generationId !== null && event.params.generationId !== this.generationId) {
	          return;
	        }
	        const command = event.command;
	        if (command === 'LandingCopilotGeneration:onCopilotImageCreate') {
	          this.onImageCreate(event);
	        }
	        if (command === 'LandingCopilotGeneration:onChangeBlockFinish') {
	          const blocksData = JSON.parse(event.params.params.blockData);
	          this.animateBlock(blocksData);
	        }
	      }
	    });
	  }
	  onImageCreate(event) {
	    const blockId = parseInt(event.params.params.blockId, 10);
	    const selector = event.params.params.selector;
	    const position = event.params.params.position;
	    const value = event.params.params.value;
	    const neededBlockData = this.blocksData.find(blockData => blockData.id === blockId);
	    if (neededBlockData) {
	      neededBlockData.images.forEach(image => {
	        if (image.nodeCode === selector && image.position === position) {
	          const {
	            src = '',
	            src2x = '',
	            id = '',
	            id2x = ''
	          } = main_core.Type.isString(value) ? {
	            src: value,
	            src2x: value,
	            id: '',
	            id2x: ''
	          } : value;
	          Object.assign(image, {
	            src,
	            src2x,
	            id,
	            id2x,
	            isSwitchedToDefault: true
	          });
	        }
	      });
	    }
	    if (this.completedBlockIds.has(blockId)) {
	      const block = landing_pageobject.PageObject.getBlocks().get(blockId);
	      if (block) {
	        this.replaceAllDefaultImagesWithImageWithoutAnimation(block, neededBlockData);
	      }
	    }
	  }
	  async start() {
	    for (const blockData of this.blocksData) {
	      // eslint-disable-next-line no-await-in-loop
	      await this.scrollToBlock(blockData.element);

	      // eslint-disable-next-line no-await-in-loop
	      await this.replaceDefaultImagesOnce(blockData.id);

	      // eslint-disable-next-line no-await-in-loop
	      await landing_ui_copilot_skeleton.Skeleton.removeSkeletonFromBlock(blockData.anchor);

	      // eslint-disable-next-line no-await-in-loop
	      await this.replaceDefaultImagesRecursive(blockData.id);
	      this.completedBlockIds.add(blockData.id);

	      // eslint-disable-next-line no-await-in-loop
	      await this.delay(ANIMATION_DURATION_DELAY);
	    }
	  }
	  async stop() {
	    var _this$blocksData$;
	    if ((_this$blocksData$ = this.blocksData[0]) != null && _this$blocksData$.element) {
	      await this.scrollToBlock(this.blocksData[0].element);
	    }
	    this.getAiLoader().close();
	  }
	  scrollToBlock(block) {
	    return new Promise(resolve => {
	      const windowOfElement = block.ownerDocument.defaultView;
	      if (!windowOfElement) {
	        resolve();
	        return;
	      }
	      let scrollTimeout = null;
	      const handleScrollEnd = () => {
	        if (scrollTimeout) {
	          clearTimeout(scrollTimeout);
	        }
	        scrollTimeout = setTimeout(() => {
	          main_core.Event.unbind(windowOfElement, 'scroll', handleScrollEnd);
	          resolve();
	        }, 300);
	      };
	      main_core.Event.bind(windowOfElement, 'scroll', handleScrollEnd);
	      if (block.getBoundingClientRect().top === 0 && windowOfElement.scrollY === 0 || block.getBoundingClientRect().top < 5) {
	        resolve();
	      }
	      windowOfElement.scroll({
	        top: block.getBoundingClientRect().top + windowOfElement.scrollY,
	        behavior: 'smooth'
	      });
	    });
	  }
	  replaceAllImagesToDefaultImage() {
	    this.blocksData.forEach(blockData => {
	      blockData.images.forEach(image => {
	        if (image && image.src !== image.defaultSrc) {
	          const block = landing_pageobject.PageObject.getBlocks().get(blockData.id);
	          if (block) {
	            this.setImageToNode(block, image, false);
	          }
	          Object.assign(image, {
	            isSwitchedToDefault: true
	          });
	        }
	      });
	    });
	  }
	  setImageToNode(block, image, useOriginalSrc = true) {
	    const selector = `${image.nodeCode}@${image.position}`;
	    block.forceInit();
	    const node = block.nodes.getBySelector(selector);
	    if (!node) {
	      return;
	    }
	    if (!this.setImageToStyle(node, image, useOriginalSrc)) {
	      node.setValue(this.getImageValueObject(image, useOriginalSrc), true);
	    }
	  }
	  setImageToStyle(node, image, useOriginalSrc = true) {
	    const styleObj = node.node.style;
	    const src = useOriginalSrc ? image.src : image.defaultSrc;
	    const src2x = useOriginalSrc ? image.src : image.defaultSrc;
	    if (styleObj.getPropertyValue('--bg-url') && src) {
	      styleObj.setProperty('--bg-url', `url("${src}")`);
	      if (styleObj.getPropertyValue('--bg-url-2x') && src2x) {
	        styleObj.setProperty('--bg-url-2x', `url("${src2x}")`);
	      }
	      return true;
	    }
	    return false;
	  }
	  getImageValueObject(imageNode, useOriginalSrc = true) {
	    var _imageNode$defaultSrc, _imageNode$defaultSrc2;
	    if (useOriginalSrc) {
	      var _imageNode$src, _imageNode$src2x;
	      return {
	        src: (_imageNode$src = imageNode.src) != null ? _imageNode$src : '',
	        src2x: (_imageNode$src2x = imageNode.src2x) != null ? _imageNode$src2x : ''
	      };
	    }
	    return {
	      src: (_imageNode$defaultSrc = imageNode.defaultSrc) != null ? _imageNode$defaultSrc : '',
	      src2x: (_imageNode$defaultSrc2 = imageNode.defaultSrc) != null ? _imageNode$defaultSrc2 : ''
	    };
	  }
	  async processBlockImages(blockId) {
	    if (this.completedBlockIds.has(blockId)) {
	      return true;
	    }
	    let allImagesReplaced = true;
	    const neededBlockData = this.blocksData.find(blockData => blockData.id === blockId);
	    const block = landing_pageobject.PageObject.getBlocks().get(blockId);
	    if (!block || !(neededBlockData != null && neededBlockData.images)) {
	      return true;
	    }
	    block.forceInit();
	    for (const image of neededBlockData.images) {
	      if (!image || !image.src || !image.src2x) {
	        continue;
	      }
	      const node = block.nodes.getBySelector(`${image.nodeCode}@${image.position}`);
	      if (node && image.isSwitchedToDefault === true && !image.isSwitchedBackToOriginal) {
	        // eslint-disable-next-line no-await-in-loop
	        await this.replaceDefaultImageWithImage(image, node, block);
	        image.isSwitchedBackToOriginal = true;
	      }
	      if (image.src === image.defaultSrc) {
	        allImagesReplaced = false;
	      }
	    }
	    return allImagesReplaced;
	  }
	  async replaceDefaultImagesOnce(blockId) {
	    await this.processBlockImages(blockId);
	  }

	  // eslint-disable-next-line consistent-return
	  async replaceDefaultImagesRecursive(blockId, currentAttempt = 0, maxAttempts = 5) {
	    const allReplaced = await this.processBlockImages(blockId);
	    const canTryAgain = currentAttempt < maxAttempts;
	    if (!allReplaced && canTryAgain) {
	      await this.delay(ANIMATION_DURATION * 2);
	      return this.replaceDefaultImagesRecursive(blockId, currentAttempt + 1, maxAttempts);
	    }
	  }
	  replaceAllDefaultImagesWithImageWithoutAnimation(block, blockData) {
	    block.forceInit();
	    if (blockData.images) {
	      for (const image of blockData.images) {
	        if (image) {
	          const node = block.nodes.getBySelector(`${image.nodeCode}@${image.position}`);
	          if (node && image.isSwitchedToDefault === true && !image.isSwitchedBackToOriginal) {
	            this.replaceDefaultImageWithImageWithoutAnimation(image, node, block);
	            image.isSwitchedBackToOriginal = true;
	          }
	        }
	      }
	    }
	  }
	  async replaceDefaultImageWithImage(image, node, block) {
	    await load(image.src);
	    await load(image.src2x);
	    main_core.Dom.addClass(node.node, 'landing-animation-copilot-default-image');
	    main_core.Dom.addClass(node.node, 'fade-out');
	    // eslint-disable-next-line no-await-in-loop
	    await this.delay(ANIMATION_DURATION);
	    this.setImageToNode(block, image);
	    main_core.Dom.removeClass(node.node, 'fade-out');
	    main_core.Dom.addClass(node.node, 'fade-in');
	    // eslint-disable-next-line no-await-in-loop
	    await this.delay(ANIMATION_DURATION);
	    main_core.Dom.removeClass(node.node, 'fade-in');
	    main_core.Dom.removeClass(node.node, 'landing-animation-copilot-default-image');
	  }
	  replaceDefaultImageWithImageWithoutAnimation(image, node, block) {
	    this.setImageToNode(block, image);
	  }
	  delay(ms) {
	    return new Promise(resolve => {
	      setTimeout(resolve, ms);
	    });
	  }
	  async showConfetti() {
	    return new Promise(resolve => {
	      setTimeout(async () => {
	        ui_confetti.Confetti.fire({
	          particleCount: 100,
	          spread: 70,
	          origin: {
	            y: 0.7
	          },
	          zIndex: 99999
	        });
	        await this.delay(ANIMATION_DURATION * 3);
	        resolve();
	      }, 1000);
	    });
	  }
	  showLoader() {
	    if (!this.editorWindow) {
	      console.error('editorDocument is not defined');
	      return;
	    }
	    const editorDocumentBody = this.editorWindow.document.querySelector('.landing-editor');
	    if (!editorDocumentBody) {
	      console.error('Element with class .landing-editor not found');
	      return;
	    }
	    this.loader = this.getStatusCreate();
	    main_core.Dom.append(this.loader, editorDocumentBody);
	  }
	  hideLoader() {
	    if (this.loader) {
	      this.loader.remove();
	      this.loader = null;
	    }
	  }
	  disableEditor() {
	    main_core.Dom.addClass(this.mainDocumentBody, 'landing-animating');
	    const editorDocumentBody = this.editorWindow.document.querySelector('.landing-editor');
	    if (editorDocumentBody) {
	      main_core.Dom.addClass(editorDocumentBody, 'landing-editor-disable');
	    }
	    return this;
	  }
	  enableEditor() {
	    main_core.Dom.removeClass(this.mainDocumentBody, 'landing-animating');
	    const editorDocumentBody = this.editorWindow.document.querySelector('.landing-editor');
	    if (editorDocumentBody) {
	      main_core.Dom.removeClass(editorDocumentBody, 'landing-editor-disable');
	    }
	    return this;
	  }
	  animateSite() {
	    this.start().then(() => {
	      this.stop();
	      return this.showConfetti();
	    }).then(() => {
	      this.emit('onSiteFinish', {
	        blocksData: this.blocksData
	      });
	      this.enableEditor();
	    }).catch(() => {});
	  }
	  animateBlock(blocksData) {
	    this.setBlocksData(blocksData);
	    const reloadPromises = [];
	    const pageBlocks = landing_pageobject.PageObject.getBlocks();
	    for (const blockData of this.blocksData) {
	      const block = pageBlocks.get(blockData.id);
	      if (block) {
	        reloadPromises.push(block.reload());
	      }
	    }
	    Promise.all(reloadPromises).then(() => {
	      setTimeout(() => {
	        this.init();
	        this.hideLoader();
	        this.start().then(() => {
	          this.stop();
	          return this.showConfetti();
	        }).then(() => {
	          this.emit('onBlockFinish', {
	            blocksData: this.blocksData
	          });
	          this.enableEditor();
	        }).catch(() => {});
	      }, ANIMATION_DURATION * 6);
	    }).catch(error => {
	      console.error(error);
	    });
	  }
	  getStatusCreate() {
	    const nodeAnimate = main_core.Tag.render(_t$1 || (_t$1 = _$1`<div class="landing-site-copilot-status-image"></div>`));
	    const nodeText = main_core.Tag.render(_t2$1 || (_t2$1 = _$1`
			<div class="landing-site-copilot-content-text">
				${0}
			</div>
		`), main_core.Loc.getMessage('LANDING_BLOCK_COPILOT_CREATED_1'));
	    ui_lottie.Lottie.loadAnimation({
	      container: nodeAnimate,
	      renderer: 'svg',
	      loop: true,
	      autoplay: true,
	      animationData: loaderAnimation
	    });
	    let i = 2;
	    const iMax = 6;
	    this.interval = setInterval(() => {
	      if (i > iMax) {
	        i = 1;
	      }
	      let message = main_core.Loc.getMessage(`LANDING_BLOCK_COPILOT_CREATED_${i}`);
	      if (!message) {
	        i = 1;
	        message = main_core.Loc.getMessage(`LANDING_BLOCK_COPILOT_CREATED_${i}`);
	      }
	      nodeText.innerText = message;
	      i++;
	    }, 3000);
	    return main_core.Tag.render(_t3 || (_t3 = _$1`
			<div class="landing-site-copilot-status-wrapper">
				${0}
				${0}
			</div>
		`), nodeAnimate, nodeText);
	  }
	}

	exports.Copilot = Copilot;

}((this.BX.Landing.Animation = this.BX.Landing.Animation || {}),BX,BX.Landing,BX.Landing.UI.Copilot,BX.Event,BX.UI,BX,BX.UI));
//# sourceMappingURL=copilot.bundle.js.map

Youez - 2016 - github.com/yon3zu
LinuXploit