                 }
             }
         }
-        
+
         fileprivate weak var mainWindow: UIWindow?
         fileprivate var noticeWindow: HitWindow?
         fileprivate var contents: [NavigationNotice] = []

                }
                return nil
            }
            
            @available(iOS 11, *)
            override func safeAreaInsetsDidChange() {
                super.safeAreaInsetsDidChange()
                didChangeSafeAreaInsets?(safeAreaInsets)
            }
        }
        
        class HitScrollView: UIScrollView {
            override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
                if let superView = super.hitTest(point, with: event) {

                return .zero
            }
        }
        fileprivate var topInset: CGFloat = .zero
        fileprivate var bottomInset: CGFloat = .zero
        fileprivate var onStatusBar: Bool = true

        var showAnimations: ((@escaping () -> Void, @escaping (Bool) -> Void) -> Void)?
        var hideAnimations: ((@escaping () -> Void, @escaping (Bool) -> Void) -> Void)?
        var hideCompletionHandler: (() -> Void)?

        override var shouldAutorotate : Bool {
            return childController?.shouldAutorotate
                ?? super.shouldAutorotate
        }

        override var supportedInterfaceOrientations : UIInterfaceOrientationMask {
            return childController?.supportedInterfaceOrientations
                ?? super.supportedInterfaceOrientations
        }

        override var preferredInterfaceOrientationForPresentation : UIInterfaceOrientation {
            return childController?.preferredInterfaceOrientationForPresentation
                ?? super.preferredInterfaceOrientationForPresentation
        }

        override var childForStatusBarStyle : UIViewController? {
            return childController
        }

        override var childForStatusBarHidden : UIViewController? {
            return childController
        }

        override func loadView() {
            super.loadView()
            let hitView = HitView(frame: view.bounds)
